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.

Reply via email to