This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15460] New: wrong code with -O2 -fno-tree-dominator-opts
- From: "belyshev at lubercy dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2004 12:40:39 -0000
- Subject: [Bug tree-optimization/15460] New: wrong code with -O2 -fno-tree-dominator-opts
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ gcc bug4.i -static -std=gnu99 -O2 -fno-tree-dominator-opts
$ ./a.out
Aborted
$ gcc bug4.i -static -std=gnu99 -O2
$ ./a.out
$
This testcase minimized from glibc/string/test-strpbrk.c
--
Summary: wrong code with -O2 -fno-tree-dominator-opts
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: belyshev at lubercy dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15460