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

C

Chris Forone

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
 
R

Rolf Magnus

Chris said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,522
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top