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/20100] [4.0 regression] static call incorrectly judged constant, moved out of loop


------- Additional Comments From hp at gcc dot gnu dot org  2005-02-20 03:10 -------
Created an attachment (id=8237)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8237&action=view)
Test-case

The " && n < 5" condition is there only to make the test terminate, as the bug
would otherwise cause the program to loop until timeout.
Bug-fixer should check that the program still works when removing that
condition.

-- 


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


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