------- Comment #4 from ubizjak at gmail dot com 2008-03-12 09:57 ------- (In reply to comment #3) > There are also issues with ssa-store-cpp-3.c and -fpic on i686 and x86_64
Index: ssa-store-ccp-3.c =================================================================== --- ssa-store-ccp-3.c (revision 133134) +++ ssa-store-ccp-3.c (working copy) @@ -8,7 +8,8 @@ return conststaticvariable; } -/* There should be no reference to conststaticvariable as we should have - inlined the 0. */ -/* { dg-final { scan-tree-dump-times "conststaticvariable" 0 "optimized"} } */ +/* There should be no reference for nonpic targets to + conststaticvariable as we should have inlined the 0. */ +/* { dg-final { scan-tree-dump-times "conststaticvariable" 0 "optimized" { target nonpic } } } */ +/* { dg-final { scan-tree-dump-times "conststaticvariable" 1 "optimized" { target { ! nonpic } } } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35538