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/47595] c-c++-common/uninit-17.c fails test for warnings when -fgraphite-identity enabled at -O2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47595

--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-02-03 01:33:24 UTC ---
This seems to be specific to the bootstrap with -fgraphite-identity at -O2. The
warnings appear as...

/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/testsuite/g++/../../g++
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/testsuite/g++/../../
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/gcc/testsuite/c-c++-common/uninit-17.c
-nostdinc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libstdc++-v3/include/x86_64-apple-darwin10.7.0
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libstdc++-v3/include
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/libstdc++-v3/testsuite/util
-fmessage-length=0 -O2 -Wuninitialized -fno-ivopts -S -m32 -fgraphite-identity
-o uninit-17.s
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/gcc/testsuite/c-c++-common/uninit-17.c:
In function âvoid foobar(int, int*)â:
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/gcc/testsuite/c-c++-common/uninit-17.c:21:6:
warning: âbâ is used uninitialized in this function [-Wuninitialized]

when -fgraphite-identity is passed but also as...

/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/testsuite/g++/../../g++
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/testsuite/g++/../../
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/gcc/testsuite/c-c++-common/uninit-17.c
-nostdinc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libstdc++-v3/include/x86_64-apple-darwin10.7.0
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libstdc++-v3/include
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/libstdc++-v3/testsuite/util
-fmessage-length=0 -O2 -Wuninitialized -fno-ivopts -S -m32
-fno-graphite-identity -o uninit-17.s
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/gcc/testsuite/c-c++-common/uninit-17.c:
In function âvoid foobar(int, int*)â:
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/gcc/testsuite/c-c++-common/uninit-17.c:16:11:
warning: âbâ may be used uninitialized in this function [-Wuninitialized]
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110202/gcc/testsuite/c-c++-common/uninit-17.c:12:9:
note: âbâ was declared here

when -fno-graphite-identity is passed.


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