This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/58502] ICE with attribute(target) and -flto
- From: "reichelt at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Sep 2013 18:56:23 +0000
- Subject: [Bug lto/58502] ICE with attribute(target) and -flto
- Auto-submitted: auto-generated
- References: <bug-58502-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58502
--- Comment #1 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Well, the above code snippet only fails on trunk (GCC 4.9.0), but the testcase
below fails since GCC 4.8.0:
====================================================
int foo();
int foo() __attribute__((target("default")));
int foo() __attribute__((target("arch=core2")));
int i = foo();
====================================================