public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64546] New: m32c ICE at calls.c:3638 compiling newlib
@ 2015-01-08 23:39 joel at gcc dot gnu.org
2015-01-08 23:55 ` [Bug target/64546] " joel at gcc dot gnu.org
2021-08-16 7:47 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: joel at gcc dot gnu.org @ 2015-01-08 23:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64546
Bug ID: 64546
Summary: m32c ICE at calls.c:3638 compiling newlib
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: joel at gcc dot gnu.org
xgcc (GCC) 5.0.0 20150107 (experimental)
This fails at -O[012S]. The flag -mcpu=m32cm appears to be the trigger.
/home2/joel/build/b-m32c-gcc/./gcc/xgcc -B/home2/joel/build/b-m32c-gcc/./gcc/
-c -g -O0 -mcpu=m32cm m32c-fopencookie.c
/users/joel/test-gcc/gcc/newlib/libc/stdio/fopencookie.c: In function
'fopencookie':
/users/joel/test-gcc/gcc/newlib/libc/stdio/fopencookie.c:260:10: internal
compiler error: in expand_call, at calls.c:3638
return _fopencookie_r (_REENT, cookie, mode, functions);
^
0x558b39 expand_call(tree_node*, rtx_def*, int)
/users/joel/test-gcc/gcc/gcc/calls.c:3638
0x64afa0 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
/users/joel/test-gcc/gcc/gcc/expr.c:10474
0x656fbc store_expr_with_bounds(tree_node*, rtx_def*, int, bool, tree_node*)
/users/joel/test-gcc/gcc/gcc/expr.c:5368
0x65e5ce expand_assignment(tree_node*, tree_node*, bool)
/users/joel/test-gcc/gcc/gcc/expr.c:5137
0x565886 expand_call_stmt
/users/joel/test-gcc/gcc/gcc/cfgexpand.c:2345
0x565886 expand_gimple_stmt_1
/users/joel/test-gcc/gcc/gcc/cfgexpand.c:3293
0x565886 expand_gimple_stmt
/users/joel/test-gcc/gcc/gcc/cfgexpand.c:3447
0x56b6e4 expand_gimple_basic_block
/users/joel/test-gcc/gcc/gcc/cfgexpand.c:5280
0x56d0ae execute
/users/joel/test-gcc/gcc/gcc/cfgexpand.c:5889
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/64546] m32c ICE at calls.c:3638 compiling newlib
2015-01-08 23:39 [Bug target/64546] New: m32c ICE at calls.c:3638 compiling newlib joel at gcc dot gnu.org
@ 2015-01-08 23:55 ` joel at gcc dot gnu.org
2021-08-16 7:47 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: joel at gcc dot gnu.org @ 2015-01-08 23:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64546
--- Comment #1 from Joel Sherrill <joel at gcc dot gnu.org> ---
Created attachment 34409
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34409&action=edit
Preprocessed newlib source which produces the ICE
This code compiles with 4.8.3.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/64546] m32c ICE at calls.c:3638 compiling newlib
2015-01-08 23:39 [Bug target/64546] New: m32c ICE at calls.c:3638 compiling newlib joel at gcc dot gnu.org
2015-01-08 23:55 ` [Bug target/64546] " joel at gcc dot gnu.org
@ 2021-08-16 7:47 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-16 7:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64546
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 64375 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-16 7:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 23:39 [Bug target/64546] New: m32c ICE at calls.c:3638 compiling newlib joel at gcc dot gnu.org
2015-01-08 23:55 ` [Bug target/64546] " joel at gcc dot gnu.org
2021-08-16 7:47 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).