This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/41239] Scheduler reorders division by zero before a call that might not return
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2009 10:31:54 -0000
- Subject: [Bug rtl-optimization/41239] Scheduler reorders division by zero before a call that might not return
- References: <bug-41239-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-03 10:31 -------
We can never move maybe trapping instructions across a function call that might
not return (and as we don't have an attribute for returns_always we have to
assume that a function may not return always apart from maybe some known
builtins).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41239