This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13789] New: ICE on _builtin_expect_addr
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2004 05:58:28 -0000
- Subject: [Bug target/13789] New: ICE on _builtin_expect_addr
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
While looking at 13769 I discovered this gem which ICEs at -O0, but not at -O1 or -O2. This is a
regression from 3.3.1 where it works just fine:
void
foo (void *c)
{
void *a = __builtin_extract_return_addr (c);
}
--
Summary: ICE on _builtin_expect_addr
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dhazeghi at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789