OT: gcc version 3.4.5 (mingw special)/win32 warning



 DEVELOP > c-Plus-Plus > OT: gcc version 3.4.5 (mingw special)/win32 warning

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "Chris Forone"
Date: 21 Dec 2007 03:56:32 AM
Object: OT: gcc version 3.4.5 (mingw special)/win32 warning
hello group,
with compiler-switch -Os/-O2 i get the warning:
stl_list.h:435: warning: '__p' might be used uninitialized in this function
if i fall back to -O1/-O0, the warning disappears. some ideas about?
thx & hand, chris
.

User: "Rolf Magnus"

Title: Re: OT: gcc version 3.4.5 (mingw special)/win32 warning 21 Dec 2007 07:12:28 AM
Chris Forone wrote:

hello group,

with compiler-switch -Os/-O2 i get the warning:

stl_list.h:435: warning: '__p' might be used uninitialized in this
function

if i fall back to -O1/-O0, the warning disappears. some ideas about?

Specific tools are not discussed in this newsgroup. Your question thus is
off-topic here. A better place for it would be gnu.g++.help.
Having that said: That warning seems to indicate some missing initialization
in the implementation of std::list. The reason that you see it only with
certain optimization options is because the compiler does a deeper code
flow analysis on these optimization levels, so it simply fails to notice it
on lower optimization settings.
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER