This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/67222] New: ICE in gimple_call_arg with bogus posix_memalign
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Aug 2015 20:30:39 +0000
- Subject: [Bug middle-end/67222] New: ICE in gimple_call_arg with bogus posix_memalign
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67222
Bug ID: 67222
Summary: ICE in gimple_call_arg with bogus posix_memalign
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: mpolacek at gcc dot gnu.org
Target Milestone: ---
int
main (void)
{
posix_memalign ();
}
$ ./cc1 -quiet -O k.c
k.c: In function âmainâ:
k.c:4:3: warning: implicit declaration of function âposix_memalignâ
[-Wimplicit-function-declaration]
posix_memalign ();
^
k.c:2:1: internal compiler error: in gimple_call_arg, at gimple.h:3099
main (void)
^
0x159df7d gimple_call_arg
/home/marek/src/gcc/gcc/gimple.h:3099
0x159dfd3 gimple_call_arg
/home/marek/src/gcc/gcc/gimple.h:3107
0x159fa88 lower_builtin_posix_memalign
/home/marek/src/gcc/gcc/gimple-low.c:819
0x159eccb lower_stmt
/home/marek/src/gcc/gcc/gimple-low.c:351
0x159e8f6 lower_sequence
/home/marek/src/gcc/gcc/gimple-low.c:212
0x159ef78 lower_gimple_bind
/home/marek/src/gcc/gcc/gimple-low.c:426
0x159e9f8 lower_stmt
/home/marek/src/gcc/gcc/gimple-low.c:250
0x159e8f6 lower_sequence
/home/marek/src/gcc/gcc/gimple-low.c:212
0x159ef78 lower_gimple_bind
/home/marek/src/gcc/gcc/gimple-low.c:426
0x159e593 lower_function_body
/home/marek/src/gcc/gcc/gimple-low.c:116
0x159e85a execute
/home/marek/src/gcc/gcc/gimple-low.c:190
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.