public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/51122] New: ICE in change_address_1, at emit-rtl.c:2001
@ 2011-11-14 17:12 Greta.Yorsh at arm dot com
2011-11-14 18:05 ` [Bug target/51122] " ramana at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Greta.Yorsh at arm dot com @ 2011-11-14 17:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51122
Bug #: 51122
Summary: ICE in change_address_1, at emit-rtl.c:2001
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: Greta.Yorsh@arm.com
CC: ramana.radhakrishnan@arm.com
Target: arm-none-eabi
Created attachment 25818
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25818
reduced test case
ICE during IRA.
Possibly related to a latent/unresolved bug reported here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48256
cc1 -mfloat-abi=softfp -mfpu=neon -marm -quiet -mcpu=cortex-a9 -O2
smith_crash_246671435.reduced.i
csmith_crash_246671435.reduced.i: In function 'func_86':
csmith_crash_246671435.reduced.i:39:1: internal compiler error: in
change_address_1, at emit-rtl.c:2001
Backtrace:
#0 fancy_abort (file=0x12e85c8
"/work/local-checkouts/main/gcc-fsf/gcc/emit-rtl.c", line=2001,
function=0x12e9530 "change_address_1") at
/work/local-checkouts/main/gcc-fsf/gcc/diagnostic.c:899
#1 0x0000000000733903 in change_address_1 (memref=0x7ffff76320f0, mode=HImode,
addr=0x7ffff7632510, validate=1) at
/work/local-checkouts/main/gcc-fsf/gcc/emit-rtl.c:2001
#2 0x00000000007345a5 in adjust_address_1 (memref=0x7ffff76320f0, mode=HImode,
offset=0, validate=1, adjust=1) at
/work/local-checkouts/main/gcc-fsf/gcc/emit-rtl.c:2101
#3 0x0000000000796903 in alter_subreg (xp=0x7ffff76324c0) at
/work/local-checkouts/main/gcc-fsf/gcc/final.c:2885
#4 0x0000000000796623 in cleanup_subreg_operands (insn=0x7ffff762c630) at
/work/local-checkouts/main/gcc-fsf/gcc/final.c:2832
#5 0x0000000000a72077 in reload (first=0x7ffff75b8880, global=1) at
/work/local-checkouts/main/gcc-fsf/gcc/reload1.c:1247
#6 0x000000000096e4f5 in ira (f=0x0) at
/work/local-checkouts/main/gcc-fsf/gcc/ira.c:3726
#7 0x000000000096e691 in rest_of_handle_ira () at
/work/local-checkouts/main/gcc-fsf/gcc/ira.c:3799
#8 0x0000000000a1360c in execute_one_pass (pass=0x1887e60) at
/work/local-checkouts/main/gcc-fsf/gcc/passes.c:2064
#9 0x0000000000a137fa in execute_pass_list (pass=0x1887e60) at
/work/local-checkouts/main/gcc-fsf/gcc/passes.c:2119
#10 0x0000000000a1381b in execute_pass_list (pass=0x18884a0) at
/work/local-checkouts/main/gcc-fsf/gcc/passes.c:2120
#11 0x0000000000bae1ef in tree_rest_of_compilation (fndecl=0x7ffff7589900) at
/work/local-checkouts/main/gcc-fsf/gcc/tree-optimize.c:420
#12 0x0000000000691a67 in cgraph_expand_function (node=0x7ffff75afb40) at
/work/local-checkouts/main/gcc-fsf/gcc/cgraphunit.c:1804
#13 0x0000000000691c32 in cgraph_expand_all_functions () at
/work/local-checkouts/main/gcc-fsf/gcc/cgraphunit.c:1871
#14 0x0000000000692547 in cgraph_optimize () at
/work/local-checkouts/main/gcc-fsf/gcc/cgraphunit.c:2168
#15 0x000000000068f750 in cgraph_finalize_compilation_unit () at
/work/local-checkouts/main/gcc-fsf/gcc/cgraphunit.c:1312
#16 0x00000000004cae22 in c_write_global_declarations () at
/work/local-checkouts/main/gcc-fsf/gcc/c-decl.c:9940
#17 0x0000000000b0a47e in compile_file () at
/work/local-checkouts/main/gcc-fsf/gcc/toplev.c:581
#18 0x0000000000b0c644 in do_compile () at
/work/local-checkouts/main/gcc-fsf/gcc/toplev.c:1930
#19 0x0000000000b0c7bb in toplev_main (argc=8, argv=0x7fffffffe308) at
/work/local-checkouts/main/gcc-fsf/gcc/toplev.c:2006
#20 0x00000000005c48b4 in main (argc=8, argv=0x7fffffffe308) at
/work/local-checkouts/main/gcc-fsf/gcc/main.c:36
GCC trunk r181174 (Nov 8, 2011)
Reproducible on arm-eabi target with gcc revision from October.
Configured with: configure --target=arm-eabi --enable-checking=release
--disable-gdbtk --disable-werror --disable-tui --disable-rda --disable-sid
--disable-utils --disable-lto --with-cpu=cortex-a9 --with-float=softfp
--with-fpu=neon --disable-lto --disable-werror --disable-shared --disable-nls
--disable-threads --disable-tls --enable-checking=yes --with-newlib
I am attaching a reduce test case.
By the way, the original test case was generated by csmith compiler-testing
tool: http://embed.cs.utah.edu/csmith/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/51122] ICE in change_address_1, at emit-rtl.c:2001
2011-11-14 17:12 [Bug target/51122] New: ICE in change_address_1, at emit-rtl.c:2001 Greta.Yorsh at arm dot com
@ 2011-11-14 18:05 ` ramana at gcc dot gnu.org
2011-11-14 18:09 ` ramana at gcc dot gnu.org
2024-03-16 20:27 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ramana at gcc dot gnu.org @ 2011-11-14 18:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51122
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ramana at gcc dot gnu.org
--- Comment #1 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-11-14 17:57:55 UTC ---
Confirmed -
Not sure if this is a dup or not of PR48256 but it smells similar.
Ramana
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/51122] ICE in change_address_1, at emit-rtl.c:2001
2011-11-14 17:12 [Bug target/51122] New: ICE in change_address_1, at emit-rtl.c:2001 Greta.Yorsh at arm dot com
2011-11-14 18:05 ` [Bug target/51122] " ramana at gcc dot gnu.org
@ 2011-11-14 18:09 ` ramana at gcc dot gnu.org
2024-03-16 20:27 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ramana at gcc dot gnu.org @ 2011-11-14 18:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51122
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-11-14
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/51122] ICE in change_address_1, at emit-rtl.c:2001
2011-11-14 17:12 [Bug target/51122] New: ICE in change_address_1, at emit-rtl.c:2001 Greta.Yorsh at arm dot com
2011-11-14 18:05 ` [Bug target/51122] " ramana at gcc dot gnu.org
2011-11-14 18:09 ` ramana at gcc dot gnu.org
@ 2024-03-16 20:27 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-16 20:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51122
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |5.0
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed for GCC 5+ (Maybe even for GCC 4.9). LRA is always enabled in GCC 5+
(r5-6635-gc896d4b449d797)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-16 20:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-14 17:12 [Bug target/51122] New: ICE in change_address_1, at emit-rtl.c:2001 Greta.Yorsh at arm dot com
2011-11-14 18:05 ` [Bug target/51122] " ramana at gcc dot gnu.org
2011-11-14 18:09 ` ramana at gcc dot gnu.org
2024-03-16 20:27 ` 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).