[Bug bootstrap/100734] New: /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun May 23 19:38:27 GMT 2021


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

            Bug ID: 100734
           Summary: /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8:
                    internal compiler error: in from_mode_char, at
                    attribs.h:304
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa*-*-hpux11.11
            Target: hppa*-*-hpux11.11
             Build: hppa*-*-hpux11.11

At commit a4dbd5cffa6acb100dd75017ef95dadc3d8a136f:

/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu/gcc/gcc
-12/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-12/hppa2.0w-hp-hpux11.11/lib/
-isystem /opt/gnu/gcc/gcc-12/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gnu/gcc
/gcc-12/hppa2.0w-hp-hpux11.11/sys-include   -fno-checking -g -O2 -O2  -g -O2
-DI
N_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wstric
t-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  
-
frandom-seed=fixed-seed -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -frandom-seed=fixed-seed -fPIC -I. -I. -I../.././gcc
-I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc
-I../../../gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o dfi-stub.o -MT
dfi-stub.o -MD -MP -MF dfi-stub.dep -c -O2 -DL_deregister_frame_info
../../../gcc/libgcc/config/pa/stublib.c
In file included from ../../../gcc/libgcc/../gcc/tsystem.h:101,
                 from ../../../gcc/libgcc/config/pa/stublib.c:25:
/test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error:
in from_mode_char, at attribs.h:304
  291 |        extern int getopt(int, char * const [], const char *);
      |        ^~~~~~
In file included from ../../../gcc/libgcc/../gcc/tsystem.h:101,
                 from ../../../gcc/libgcc/config/pa/stublib.c:25:
/test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error:
in from_mode_char, at attribs.h:304
  291 |        extern int getopt(int, char * const [], const char *);
      |        ^~~~~~
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[3]: *** [../../../gcc/libgcc/config/pa/t-stublib:12: dfi-stub.o] Error 1

We are hitting gcc_unreachable () in attr_access::from_mode_char (char c).

12.0.0 20210507 (experimental) (GCC) testsuite on hppa2.0w-hp-hpux11.11 build
was okay.  12.0.0 20210510 (experimental) (GCC) testsuite on
hppa64-hp-hpux11.11
was okay.


More information about the Gcc-bugs mailing list