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 tree-optimization/39746] [4.5 Regression] Fail pr34513.c and pr34513.C at -O1 and above



------- Comment #11 from dave at hiauly1 dot hia dot nrc dot ca  2009-04-15 17:56 -------
Subject: Re:  [4.5 Regression] Fail pr34513.c and pr34513.C at -O1 and above

> Hmm, are you sure that revision is the cause?  What happens is that the

No, but it exposed the problem.

> static int thrs = 4;
> 
> and thrs is never written to so ipa-reference marks it constant.
> 
> The test changes to
> 
>   if (shrd.1_3 != 4)
> 
> maybe you are looking for a different pass then?

Looking again, it's not clear why the test fails.  errors ends up at 3.

Dave


-- 


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


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