[tree-ssa] Statement with no effect warning

law@redhat.com law@redhat.com
Tue Dec 16 17:01:00 GMT 2003


eIn message <20031216143133.GE19896@atrey.karlin.mff.cuni.cz>, Jan Hubicka 
write
s:
 >Hi,
 >I got bit by the fact that tree-SSA does not emit statement with no
 >effect warnings currently, as these happens during expansion and we of
 >course elliminate such statement much earlier.  What is the best place
 >to re-implement such a warnings?
So how again did the latest cgraphunit.c changes pass a bootstrap test
then?  They're failing on i686-pc-linux-gnu.

stage1/xgcc -Bstage1/ -B/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i
686/inst.toribio/i686-pc-linux-gnu/bin/ -c   -g -O2  -DIN_GCC   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long -Wold-style-definition -Werror    -DHAVE_CONFIG_H    -I. -I. 
-I/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/src/gcc 
-I/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/src/gcc/. 
-I/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/src/gcc/../include
 -I/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/src/gcc/../libban
shee/libcompat -I/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/src
/gcc/../libbanshee -I/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686
/src/gcc/../libbanshee/points-to  /home/cygnus/dnovillo/perf/sbox/tree-ssa-bran
ch/local.i686/src/gcc/cgraphunit.c -o cgraphunit.o/home/cygnus/dnovillo/perf/sb
ox/tree-ssa-branch/local.i686/src/gcc/cgraphunit.c: In function 
`cgraph_remove_unreachable_nodes':
                                                                               

/home/cygnus/dnovillo/perf/sbox/tree-ssa-branch/local.i686/src/gcc/cgraphunit.c
:763: warning: statement with no effect

Jeff



More information about the Gcc mailing list