[Bug rtl-optimization/79071] New: Add test case for PR/65618

james410 at cowgill dot org.uk gcc-bugzilla@gcc.gnu.org
Thu Jan 12 11:09:00 GMT 2017


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

            Bug ID: 79071
           Summary: Add test case for PR/65618
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: james410 at cowgill dot org.uk
  Target Milestone: ---

Created attachment 40509
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40509&action=edit
a-except.adb

Maciej asked me to file a PR to add the testcase I used to debug PR/65618 (ADA
bootstrap failure on MIPS).
https://gcc.gnu.org/ml/gcc-patches/2017-01/msg00739.html

It turns out that the testcase wasn't as large as I thought it was, although it
is written in ADA (reduced from the original a-except). I've attached the adb
and ads files.

The commands I used to compile these were:
../build/gcc/gnat1 -I ../gcc/gcc/ada/ -I ../gcc/gcc/ada/gcc-interface -gnatwA
-quiet -nostdinc -dumpbase a-except.adb -auxbase a-except -O1 -Wextra -Wall -g
-gnatpg -g -fno-inline "-march=mips32r2" -mfpxx -mllsc -mips32r2 -mabi=32 -mel
a-except.adb -o a-except.s.1 -gtoggle
../build/gcc/gnat1 -I ../gcc/gcc/ada/ -I ../gcc/gcc/ada/gcc-interface -gnatwA
-quiet -nostdinc -dumpbase a-except.adb -auxbase a-except -O1 -Wextra -Wall -g
-gnatpg -g -fno-inline "-march=mips32r2" -mfpxx -mllsc -mips32r2 -mabi=32 -mel
a-except.adb -o a-except.s.2

(identical except for output file and -gtoggle)

Where
../build = root gcc build directory
../gcc = root gcc source directory


More information about the Gcc-bugs mailing list