This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/38819] [4.2/4.3 Regression] trapping expression wrongly hoisted out of loop
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Feb 2009 18:00:00 -0000
- Subject: [Bug tree-optimization/38819] [4.2/4.3 Regression] trapping expression wrongly hoisted out of loop
- References: <bug-38819-230@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from ebotcazou at gcc dot gnu dot org 2009-02-08 17:59 -------
Still present on SPARC 32-bit on the mainline:
FAIL: gcc.c-torture/execute/pr38819.c execution, -O2
FAIL: gcc.c-torture/execute/pr38819.c execution, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/pr38819.c execution, -O3 -fomit-frame-pointer
-funroll-loops
FAIL: gcc.c-torture/execute/pr38819.c execution, -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/pr38819.c execution, -O3 -g
The culprit is RTL PRE GCSE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38819