This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/38503] New: [4.4 regression] warnings from -isystem headers strikes back.


/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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]