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 testsuite/35538] FAIL: gcc.dg/tree-ssa/ssa-store-ccp-4.c scan-tree-dump-times optimized "conststaticvariable" 1



------- 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


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