This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/54136] Compiling phoronix/dcraw with gcc 4.8 trunk causes infinite execution.
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jul 2012 09:24:56 +0000
- Subject: [Bug tree-optimization/54136] Compiling phoronix/dcraw with gcc 4.8 trunk causes infinite execution.
- Auto-submitted: auto-generated
- References: <bug-54136-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54136
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-31 09:24:56 UTC ---
(In reply to comment #4)
> Ok thanks will adjust the test case.
>
> So compiler can generate infinite loop incase of array out of bound acess?
Yes, anything can happen when you invoke undefined behavior like this.