public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/114062] New: "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437
@ 2024-02-22 19:28 danglin at gcc dot gnu.org
  2024-02-22 19:30 ` [Bug rtl-optimization/114062] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu.org @ 2024-02-22 19:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114062
           Summary: "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove,
                    at alloc-pool.h:437
           Product: gcc
           Version: 13.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

/<<PKGBUILDDIR>>/build/./prev-gcc/xgcc -B/<<PKGBUILDDIR>>/build/./prev-gcc/
-B/usr/hppa-linux-gnu/bin/ -B/usr/hppa-linux-gnu/bin/
-B/usr/hppa-linux-gnu/lib/ -isystem /usr/hppa-linux-gnu/include -isystem
/usr/hppa-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/sys-include  
-fchecking=1 -c -g -O2 -fchecking=1 -mdisable-indexing -gnatpg  -W -Wall
-nostdinc -I- -I. -Iada/generated -Iada -I../../src/gcc/ada -Iada/libgnat
-I../../src/gcc/ada/libgnat -Iada/gcc-interface
-I../../src/gcc/ada/gcc-interface ../../src/gcc/ada/switch-c.adb -o
ada/switch-c.o
mkdir -p ada/
/<<PKGBUILDDIR>>/build/./prev-gcc/xgcc -B/<<PKGBUILDDIR>>/build/./prev-gcc/
-B/usr/hppa-linux-gnu/bin/ -B/usr/hppa-linux-gnu/bin/
-B/usr/hppa-linux-gnu/lib/ -isystem /usr/hppa-linux-gnu/include -isystem
/usr/hppa-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/sys-include  
-fchecking=1 -c -g -O2 -fchecking=1 -mdisable-indexing -gnatpg  -W -Wall
-nostdinc -I- -I. -Iada/generated -Iada -I../../src/gcc/ada -Iada/libgnat
-I../../src/gcc/ada/libgnat -Iada/gcc-interface
-I../../src/gcc/ada/gcc-interface ../../src/gcc/ada/switch.adb -o ada/switch.o
during RTL pass: reload
+===========================GNAT BUG DETECTED==============================+
| 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437                   |
| Error detected around ../../src/gcc/ada/switch-c.adb:1642:8              |
| Compiling ../../src/gcc/ada/switch-c.adb                                 |
| 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).

../../src/gcc/ada/gcc-interface/system.ads
../../src/gcc/ada/switch-c.adb
../../src/gcc/ada/switch-c.ads
../../src/gcc/ada/switch.ads
ada/generated/gnatvsn.ads
../../src/gcc/ada/types.ads
../../src/gcc/ada/libgnat/ada.ads
../../src/gcc/ada/libgnat/a-unccon.ads
../../src/gcc/ada/libgnat/a-uncdea.ads
../../src/gcc/ada/libgnat/s-string.ads
../../src/gcc/ada/debug.ads
../../src/gcc/ada/lib.ads
../../src/gcc/ada/alloc.ads
../../src/gcc/ada/namet.ads
../../src/gcc/ada/hostparm.ads
../../src/gcc/ada/table.ads
ada/gnat.ads
../../src/gcc/ada/libgnat/g-htable.ads
../../src/gcc/ada/libgnat/s-htable.ads
../../src/gcc/ada/osint.ads
../../src/gcc/ada/libgnat/s-os_lib.ads
../../src/gcc/ada/libgnat/s-stoele.ads
../../src/gcc/ada/opt.ads
../../src/gcc/ada/libgnat/s-wchcon.ads
../../src/gcc/ada/stylesw.ads
../../src/gcc/ada/targparm.ads
../../src/gcc/ada/rident.ads
ada/s-rident.ads
../../src/gcc/ada/ttypes.ads
../../src/gcc/ada/set_targ.ads
../../src/gcc/ada/stand.ads
../../src/gcc/ada/validsw.ads
../../src/gcc/ada/warnsw.ads
../../src/gcc/ada/libgnat/s-exctab.ads
../../src/gcc/ada/libgnat/s-stalib.ads
../../src/gcc/ada/libgnat/s-unstyp.ads
../../src/gcc/ada/libgnat/s-conca2.ads
../../src/gcc/ada/libgnat/s-secsta.ads
../../src/gcc/ada/libgnat/s-parame.ads

raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:414
make[5]: *** [../../src/gcc/ada/gcc-interface/Make-lang.in:165: ada/switch-c.o]
Error 1

Full log is here:
https://buildd.debian.org/status/fetch.php?pkg=gcc-13&arch=hppa&ver=13.2.0-16&stamp=1708622992&raw=0

Has something to do with -D_TIME_BITS=64 setting.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/114062] "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437
  2024-02-22 19:28 [Bug ada/114062] New: "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437 danglin at gcc dot gnu.org
@ 2024-02-22 19:30 ` pinskia at gcc dot gnu.org
  2024-02-23  9:09 ` doko at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-02-22 19:30 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |hppa-linux-gnu

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>during RTL pass: reload

:)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/114062] "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437
  2024-02-22 19:28 [Bug ada/114062] New: "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437 danglin at gcc dot gnu.org
  2024-02-22 19:30 ` [Bug rtl-optimization/114062] " pinskia at gcc dot gnu.org
@ 2024-02-23  9:09 ` doko at gcc dot gnu.org
  2024-02-23 14:03 ` dave.anglin at bell dot net
  2024-02-24 14:22 ` danglin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: doko at gcc dot gnu.org @ 2024-02-23  9:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
this is seen when building with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
and applying the proposed patch from PR114065.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/114062] "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437
  2024-02-22 19:28 [Bug ada/114062] New: "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437 danglin at gcc dot gnu.org
  2024-02-22 19:30 ` [Bug rtl-optimization/114062] " pinskia at gcc dot gnu.org
  2024-02-23  9:09 ` doko at gcc dot gnu.org
@ 2024-02-23 14:03 ` dave.anglin at bell dot net
  2024-02-24 14:22 ` danglin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: dave.anglin at bell dot net @ 2024-02-23 14:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from dave.anglin at bell dot net ---
On 2024-02-23 4:09 a.m., doko at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114062
>
> --- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
> this is seen when building with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
> and applying the proposed patch from PR114065.
I built gcc-13 12.2.0 package successfully outside buildd on mx3210.  c8000a
buildd
failed for the third time building gcc-14:

In file included from ../../src/gcc/hash-table.h:248,
                  from ../../src/gcc/coretypes.h:498,
                  from ../../src/gcc/analyzer/call-details.cc:24:
../../src/gcc/vec.h:2314:51: internal compiler error: in pop, at vec.h:1056
  2314 | vec<T, va_heap, vl_ptr>::contains (const T &search) const
       |                                                   ^
/<<PKGBUILDDIR>>/build/./prev-gcc/xg++ -B/<<PKGBUILDDIR>>/build/./prev-gcc/
-B/usr/hppa-linux-gnu/bin/ -nostdinc++
-B/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/src/.libs
-B/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs 
-I/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu
 -I/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/include 
-I/<<PKGBUILDDIR>>/src/libstdc++-v3/libsupc++
-L/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/src/.libs
-L/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs 
-fno-PIE -c   -g -O2 -fno-checking -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual  -fno-common  -DHAVE_CONFIG_H -fno-PIE -I. -Ianalyzer
-I../../src/gcc -I../../src/gcc/analyzer -I../../src/gcc/../include 
-I../../src/gcc/../libcpp/include -I../../src/gcc/../libcody 
-I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../src/gcc/../libbacktrace   -o analyzer/call-string.o
-MT analyzer/call-string.o -MMD -MP -MF analyzer/.deps/call-string.TPo
../../src/gcc/analyzer/call-string.cc
0xd2415f cp_lexer_rollback_tokens
        ../../src/gcc/cp/parser.cc:1438
0xda56cf cp_parser_parse_definitely
        ../../src/gcc/cp/parser.cc:35798
0xd73367 cp_parser_direct_declarator
        ../../src/gcc/cp/parser.cc:23928
0xd72fc3 cp_parser_declarator
        ../../src/gcc/cp/parser.cc:23773
0xd7116f cp_parser_init_declarator
        ../../src/gcc/cp/parser.cc:23257
0xd9b2b7 cp_parser_single_declaration
        ../../src/gcc/cp/parser.cc:33240
0xd98937 cp_parser_template_declaration_after_parameters
        ../../src/gcc/cp/parser.cc:32793
0xd9a93f cp_parser_explicit_template_declaration
        ../../src/gcc/cp/parser.cc:33066
0xd9aa1f cp_parser_template_declaration_after_export
        ../../src/gcc/cp/parser.cc:33085
0xd5d9fb cp_parser_template_declaration
        ../../src/gcc/cp/parser.cc:18171
0xd546af cp_parser_declaration
        ../../src/gcc/cp/parser.cc:15502
0xd54cd3 cp_parser_toplevel_declaration
        ../../src/gcc/cp/parser.cc:15594
0xd2e99b cp_parser_translation_unit
        ../../src/gcc/cp/parser.cc:5279
0xe09b87 c_parse_file()
        ../../src/gcc/cp/parser.cc:51202
0x1200863 c_common_parse_file()
        ../../src/gcc/c-family/c-opts.cc:1311
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-14/README.Bugs> for instructions.
/<<PKGBUILDDIR>>/build/./prev-gcc/xg++ -B/<<PKGBUILDDIR>>/build/./prev-gcc/
-B/usr/hppa-linux-gnu/bin/ -nostdinc++
-B/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/src/.libs
-B/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs 
-I/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu
 -I/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/include 
-I/<<PKGBUILDDIR>>/src/libstdc++-v3/libsupc++
-L/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/src/.libs
-L/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs 
-fno-PIE -c   -g -O2 -fno-checking -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual  -fno-common  -DHAVE_CONFIG_H -fno-PIE -I. -Ianalyzer
-I../../src/gcc -I../../src/gcc/analyzer -I../../src/gcc/../include 
-I../../src/gcc/../libcpp/include -I../../src/gcc/../libcody 
-I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../src/gcc/../libbacktrace   -o analyzer/call-summary.o
-MT analyzer/call-summary.o -MMD -MP -MF analyzer/.deps/call-summary.TPo
../../src/gcc/analyzer/call-summary.cc
/<<PKGBUILDDIR>>/build/./prev-gcc/xg++ -B/<<PKGBUILDDIR>>/build/./prev-gcc/
-B/usr/hppa-linux-gnu/bin/ -nostdinc++
-B/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/src/.libs
-B/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs 
-I/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu
 -I/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/include 
-I/<<PKGBUILDDIR>>/src/libstdc++-v3/libsupc++
-L/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/src/.libs
-L/<<PKGBUILDDIR>>/build/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs 
-fno-PIE -c   -g -O2 -fno-checking -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual  -fno-common  -DHAVE_CONFIG_H -fno-PIE -I. -Ianalyzer
-I../../src/gcc -I../../src/gcc/analyzer -I../../src/gcc/../include 
-I../../src/gcc/../libcpp/include -I../../src/gcc/../libcody 
-I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../src/gcc/../libbacktrace   -o analyzer/checker-event.o
-MT analyzer/checker-event.o -MMD -MP -MF analyzer/.deps/checker-event.TPo
../../src/gcc/analyzer/checker-event.cc
The bug is not reproducible, so it is likely a hardware or OS problem.

Helge, would you please disable building gcc (gcc-13 and gcc-14) on c8000 sap
buildd.

I believe gcc builds okay on the qemu buildds although it takes some time.

It's highly unlikely that the build failures on c8000a are a gcc issue.  They
all relate to memory
allocation.

Dave

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/114062] "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437
  2024-02-22 19:28 [Bug ada/114062] New: "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437 danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-02-23 14:03 ` dave.anglin at bell dot net
@ 2024-02-24 14:22 ` danglin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu.org @ 2024-02-24 14:22 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> ---
Not reproducible.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-24 14:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-22 19:28 [Bug ada/114062] New: "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437 danglin at gcc dot gnu.org
2024-02-22 19:30 ` [Bug rtl-optimization/114062] " pinskia at gcc dot gnu.org
2024-02-23  9:09 ` doko at gcc dot gnu.org
2024-02-23 14:03 ` dave.anglin at bell dot net
2024-02-24 14:22 ` danglin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).