[Bug debug/70628] [5/6 regression] ICE in get_reg_rtx, at emit-rtl.c:1025
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 13 12:27:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70628
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Apr 13 12:26:26 2016
New Revision: 234933
URL: https://gcc.gnu.org/viewcvs?rev=234933&root=gcc&view=rev
Log:
PR debug/70628
* rtl.h (convert_memory_address_addr_space_1): New prototype.
* explow.c (convert_memory_address_addr_space_1): No longer static,
add NO_EMIT argument and don't call convert_modes if true, pass
it down recursively, remove break after return.
(convert_memory_address_addr_space): Adjust caller.
* simplify-rtx.c (simplify_unary_operation_1): Call
convert_memory_address_addr_space_1 instead of convert_memory_address,
if it returns NULL, don't simplify.
* gcc.dg/torture/pr70628.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr70628.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/explow.c
trunk/gcc/rtl.h
trunk/gcc/simplify-rtx.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list