This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/70628] [5/6 regression] ICE in get_reg_rtx, at emit-rtl.c:1025
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Apr 2016 14:53:55 +0000
- Subject: [Bug debug/70628] [5/6 regression] ICE in get_reg_rtx, at emit-rtl.c:1025
- Auto-submitted: auto-generated
- References: <bug-70628-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70628
--- Comment #8 from ktkachov at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #7)
> Created attachment 38242 [details]
> gcc6-pr70628.patch
>
> IMNSHO simplify-rtx.c should never generate instructions, it carefully uses
> gen_lowpart_no_emit hook instead of gen_lowpart etc., but the
> convert_memory_addr seems to be the only cases which violate this.
The patch passed bootstrap on aarch64 but fails with a -Werror warning on
armhf:
gcc/explow.c:269:15: error: unused parameter 'no_emit'
[-Werror=unused-parameter]
bool no_emit)
^~~~~~~
This is because arm doesn't define POINTERS_EXTEND_UNSIGNED so the new
parameter no_emit is seen as unused.