[Bug c/59280] New: [4.8/4.9 Regression] ICE with attribute((constructor(invalid)))
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 24 22:49:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59280
Bug ID: 59280
Summary: [4.8/4.9 Regression] ICE with
attribute((constructor(invalid)))
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: glisse at gcc dot gnu.org
//void foo (void) { }
void func3 (char *) __attribute__((constructor(foo)));
This ICEs in C (not in C++) because of the call to default_conversion. I
noticed while trying to use the same call to default_conversion in other
builtins that have a more extensive testsuite.
More information about the Gcc-bugs
mailing list