[Bug target/88777] New: [9 Regression] Out-of-range offsets building glibc test-tgmath2.c for hppa-linux-gnu

jsm28 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 9 21:13:00 GMT 2019


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

            Bug ID: 88777
           Summary: [9 Regression] Out-of-range offsets building glibc
                    test-tgmath2.c for hppa-linux-gnu
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jsm28 at gcc dot gnu.org
                CC: amodra at gcc dot gnu.org, danglin at gcc dot gnu.org,
                    law at redhat dot com
  Target Milestone: ---
            Target: hppa*-*-*

Created attachment 45393
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45393&action=edit
preprocessed source (gzipped)

Building test-tgmath2.c from the glibc testsuite for hppa-linux-gnu produces
errors from the assembler of the form:

/tmp/ccjjfWe2.s: Assembler messages:
/tmp/ccjjfWe2.s:123489: Error: Field out of range [-8192..8191] (8596).
/tmp/ccjjfWe2.s:123563: Error: Field out of range [-8192..8191] (8388).
/tmp/ccjjfWe2.s:151239: Error: Field out of range [-8192..8191] (8600).
/tmp/ccjjfWe2.s:151315: Error: Field out of range [-8192..8191] (8392).
/tmp/ccjjfWe2.s:178466: Error: Field out of range [-8192..8191] (8596).
/tmp/ccjjfWe2.s:178540: Error: Field out of range [-8192..8191] (8388).

This appeared with r267666 ("genattrtab bit-rot, and if_then_else in values"),
though I suppose it was probably latent before then.

gzipped test attached.  Compile with: -c -std=gnu11 -fgnu89-inline -g -O2
-fmerge-all-constants -frounding-math -fno-stack-protector -fmath-errno
-fno-builtin


More information about the Gcc-bugs mailing list