This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/55890] New: calling a builtin func through a cast triggers an ICE
- From: "vapier at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 Jan 2013 21:22:19 +0000
- Subject: [Bug c/55890] New: calling a builtin func through a cast triggers an ICE
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55890
Bug #: 55890
Summary: calling a builtin func through a cast triggers an ICE
Classification: Unclassified
Product: gcc
Version: 4.7.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: vapier@gentoo.org
Target: x86_64-linux-gnu
$ cat test.i
extern void *memmove(void *, void *, long unsigned int);
typedef int (*_TEST_fun_) ();
static _TEST_fun_ i = (_TEST_fun_) memmove;
main() { i(); }
$ gcc-4.7.2 -O1 -c test.i
test.i: In function âmainâ:
test.i:4:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.