This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/70628] [5/6 regression] ICE in get_reg_rtx, at emit-rtl.c:1025


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]