https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93877

--- Comment #13 from John Paul Adrian Glaubitz <glaubitz at physik dot 
fu-berlin.de> ---
Indeed, this seems to be related to LRA.

I just tried to build gcc-9 with LRA enabled by default and the build fails
when trying to build gnat with:

checking for shl_load in -ldld... s-gearop.adb: In function
'Ada.Numerics.Complex_Arrays.Back_Substitute.Sub_Row':
s-gearop.adb:124:11: error: insn does not satisfy its constraints:
(insn 463 462 465 5 (parallel [
            (set (reg:SF 65 fr1 [343])
                (reg:SF 0 r0 [344]))
            (use (reg:SI 154 fpscr0))
            (clobber (scratch:SI))
        ]) "a-ngcoty.adb":68:10 214 {movsf_ie}
     (expr_list:REG_DEAD (reg:SF 0 r0 [344])
        (nil)))
+===========================GNAT BUG DETECTED==============================+
| 9.2.1 20191130 (sh4-linux-gnu) in extract_constrain_insn, at recog.c:2211|
| Error detected around s-gearop.adb:124:11                                |
| Please submit a bug report; see https://gcc.gnu.org/bugs/ .              |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact command that you entered.                              |
| Also include sources listed below.                                       |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).

Reply via email to