[Bug target/108240] [13 Regression] Error message missing since r13-4894-gacc727cf02a144 (then make concealed ICE exposed)
linkw at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 16 06:44:01 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240
Kewen Lin <linkw at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[13 Regression] ICE in |[13 Regression] Error
|emit_library_call_value_1 |message missing since
|at gcc/calls.cc:4181 since |r13-4894-gacc727cf02a144
|r13-4894-gacc727cf02a144 |(then make concealed ICE
| |exposed)
URL| |https://gcc.gnu.org/piperma
| |il/gcc-patches/2023-January
| |/609492.html
--- Comment #10 from Kewen Lin <linkw at gcc dot gnu.org> ---
Put the ICE aside, the actual regression here is that for the given option set
the expected error message below is missing:
f951: Error: ‘-m64’ requires a PowerPC64 cpu
But note that we only emit this error message when there is no explicit -m64.
The ICE shows up with an explicit option -m64 given without r13-4894 also
proves this (since otherwise we see error message first instead of ICE).
So to fix the regression itself, we only need to consider the case without any
explicit -m64, that's what the proposed patch aims to fix.
More information about the Gcc-bugs
mailing list