[Bug middle-end/38503] New: [4.4 regression] warnings from -isystem headers strikes back.
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Fri Dec 12 11:36:00 GMT 2008
/local/devel/toolchain44/x86_64-gnu-linux/bin/x86_64-gnu-linux-g++ -dumpversion
4.4.0
/local/devel/toolchain44/x86_64-gnu-linux/bin/x86_64-gnu-linux-g++ -c -Wall -O2
-g0 -fPIC --save-temps \
-isystem ./buildenv/linux/gcc-4.4/64/boost-stlport-1.37.0/include \
bug.cpp
bug.cpp: In function 'void foo()':
bug.cpp:6: warning: dereferencing pointer '<anonymous>' does break
strict-aliasing rules
./buildenv/linux/gcc-4.4/64/boost-stlport-1.37.0/include/boost/optional/optional.hpp:315:
note: initialized from here
bug.cpp:6: warning: dereferencing pointer '<anonymous>' does break
strict-aliasing rules
./buildenv/linux/gcc-4.4/64/boost-stlport-1.37.0/include/boost/optional/optional.hpp:594:
note: initialized from here
on 4.3.2 it compiles cleanly.
--
Summary: [4.4 regression] warnings from -isystem headers strikes
back.
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-gnu-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38503
More information about the Gcc-bugs
mailing list