public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/98740] New: FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access
@ 2021-01-19  2:39 msebor at gcc dot gnu.org
  2021-01-19  8:00 ` [Bug ada/98740] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: msebor at gcc dot gnu.org @ 2021-01-19  2:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98740
           Summary: FAIL: c37213j, c37213, kc37213l with stack overflow or
                    erroneous memory access
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

I've been noticing the following output lately while running the Ada testsuite
on x86_64-linux.  Strangely, they don't show up in the final summary:


                === acats tests ===
Running chapter a ...
Running chapter c2 ...
Running chapter c2 ...
Running chapter c2 ...
Running chapter c3 ...
Running chapter c3 ...
Running chapter c3 ...
FAIL:   c37213j
FAIL:   c37213k
FAIL:   c37213l
Running chapter c4 ...
...
                === gnat Summary ===

# of expected passes            3351
# of expected failures          23
# of unsupported tests          3


The acats.log file shows the following:

BUILD c37213j.adb
/ssd/test/build/gcc-98664/gcc/gnatmake
--GNATBIND=/ssd/test/build/gcc-98664/gcc/
gnatbind --GNATLINK=/ssd/test/build/gcc-98664/gcc/gnatlink
--GCC=/ssd/test/build
/gcc-98664/gcc/xgcc -B/ssd/test/build/gcc-98664/gcc/ -gnatws -O2 -gnat95
-I/ssd/
test/build/gcc-98664/gcc/testsuite/ada/acats1/../acats/support c37213j.adb
-larg
s --GCC=/ssd/test/build/gcc-98664/gcc/xgcc -B/ssd/test/build/gcc-98664/gcc/
/ssd/test/build/gcc-98664/gcc/xgcc -c -B/ssd/test/build/gcc-98664/gcc/ -gnatws
-
O2 -gnat95
-I/ssd/test/build/gcc-98664/gcc/testsuite/ada/acats1/../acats/support
 c37213j.adb

raised STORAGE_ERROR : stack overflow or erroneous memory access
gnatmake: "c37213j.adb" compilation error
FAIL:   c37213j
splitting
/ssd/test/build/gcc-98664/gcc/testsuite/ada/acats1/tests/c3/c37213k.ada into:
   c37213k.adb
BUILD c37213k.adb
/ssd/test/build/gcc-98664/gcc/gnatmake
--GNATBIND=/ssd/test/build/gcc-98664/gcc/gnatbind
--GNATLINK=/ssd/test/build/gcc-98664/gcc/gnatlink
--GCC=/ssd/test/build/gcc-98664/gcc/xgcc -B/ssd/test/build/gcc-98664/gcc/
-gnatws -O2 -gnat95
-I/ssd/test/build/gcc-98664/gcc/testsuite/ada/acats1/../acats/support
c37213k.adb -largs --GCC=/ssd/test/build/gcc-98664/gcc/xgcc
-B/ssd/test/build/gcc-98664/gcc/
/ssd/test/build/gcc-98664/gcc/xgcc -c -B/ssd/test/build/gcc-98664/gcc/ -gnatws
-O2 -gnat95
-I/ssd/test/build/gcc-98664/gcc/testsuite/ada/acats1/../acats/support
c37213k.adb

raised STORAGE_ERROR : stack overflow or erroneous memory access
gnatmake: "c37213k.adb" compilation error
FAIL:   c37213k
splitting
/ssd/test/build/gcc-98664/gcc/testsuite/ada/acats1/tests/c3/c37213l.ada into:
   c37213l.adb
BUILD c37213l.adb
/ssd/test/build/gcc-98664/gcc/gnatmake
--GNATBIND=/ssd/test/build/gcc-98664/gcc/gnatbind
--GNATLINK=/ssd/test/build/gcc-98664/gcc/gnatlink
--GCC=/ssd/test/build/gcc-98664/gcc/xgcc -B/ssd/test/build/gcc-98664/gcc/
-gnatws -O2 -gnat95
-I/ssd/test/build/gcc-98664/gcc/testsuite/ada/acats1/../acats/support
c37213l.adb -largs --GCC=/ssd/test/build/gcc-98664/gcc/xgcc
-B/ssd/test/build/gcc-98664/gcc/
/ssd/test/build/gcc-98664/gcc/xgcc -c -B/ssd/test/build/gcc-98664/gcc/ -gnatws
-O2 -gnat95
-I/ssd/test/build/gcc-98664/gcc/testsuite/ada/acats1/../acats/support
c37213l.adb

raised STORAGE_ERROR : stack overflow or erroneous memory access
gnatmake: "c37213l.adb" compilation error
FAIL:   c37213l

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

* [Bug ada/98740] FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access
  2021-01-19  2:39 [Bug ada/98740] New: FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access msebor at gcc dot gnu.org
@ 2021-01-19  8:00 ` rguenth at gcc dot gnu.org
  2021-01-19  9:38 ` ebotcazou at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-19  8:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The summary you quote is the 'gnat' testsuite.  IIRC acats doesn't have any
(it's just a shell script wrapping some proprietary testsuite harness)

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

* [Bug ada/98740] FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access
  2021-01-19  2:39 [Bug ada/98740] New: FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access msebor at gcc dot gnu.org
  2021-01-19  8:00 ` [Bug ada/98740] " rguenth at gcc dot gnu.org
@ 2021-01-19  9:38 ` ebotcazou at gcc dot gnu.org
  2021-01-19  9:38 ` ebotcazou at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2021-01-19  9:38 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-01-19

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
I have them too.

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

* [Bug ada/98740] FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access
  2021-01-19  2:39 [Bug ada/98740] New: FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access msebor at gcc dot gnu.org
  2021-01-19  8:00 ` [Bug ada/98740] " rguenth at gcc dot gnu.org
  2021-01-19  9:38 ` ebotcazou at gcc dot gnu.org
@ 2021-01-19  9:38 ` ebotcazou at gcc dot gnu.org
  2021-01-19  9:45 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2021-01-19  9:38 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebotcazou at gcc dot gnu.org       |
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ebotcazou at gcc dot gnu.org

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Fixing.

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

* [Bug ada/98740] FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access
  2021-01-19  2:39 [Bug ada/98740] New: FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access msebor at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-01-19  9:38 ` ebotcazou at gcc dot gnu.org
@ 2021-01-19  9:45 ` cvs-commit at gcc dot gnu.org
  2021-01-19  9:48 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-19  9:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <ebotcazou@gcc.gnu.org>:

https://gcc.gnu.org/g:665e80ca5ec84ccf77d5e18d7ca802d38d5e270d

commit r11-6785-g665e80ca5ec84ccf77d5e18d7ca802d38d5e270d
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Tue Jan 19 10:43:15 2021 +0100

    Fix PR ada/98740

    It's a long-standing GENERIC tree sharing issue.

    gcc/ada/ChangeLog:
            PR ada/98740
            * gcc-interface/trans.c (add_decl_expr): Always mark TYPE_ADA_SIZE.

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

* [Bug ada/98740] FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access
  2021-01-19  2:39 [Bug ada/98740] New: FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access msebor at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-01-19  9:45 ` cvs-commit at gcc dot gnu.org
@ 2021-01-19  9:48 ` cvs-commit at gcc dot gnu.org
  2021-01-19  9:48 ` cvs-commit at gcc dot gnu.org
  2021-01-19  9:49 ` ebotcazou at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-19  9:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Eric Botcazou
<ebotcazou@gcc.gnu.org>:

https://gcc.gnu.org/g:4779ef35735e32b8a8418ad20c36919bd19c19a8

commit r10-9278-g4779ef35735e32b8a8418ad20c36919bd19c19a8
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Tue Jan 19 10:43:15 2021 +0100

    Fix PR ada/98740

    It's a long-standing GENERIC tree sharing issue.

    gcc/ada/ChangeLog:
            PR ada/98740
            * gcc-interface/trans.c (add_decl_expr): Always mark TYPE_ADA_SIZE.

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

* [Bug ada/98740] FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access
  2021-01-19  2:39 [Bug ada/98740] New: FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access msebor at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-01-19  9:48 ` cvs-commit at gcc dot gnu.org
@ 2021-01-19  9:48 ` cvs-commit at gcc dot gnu.org
  2021-01-19  9:49 ` ebotcazou at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-19  9:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Eric Botcazou
<ebotcazou@gcc.gnu.org>:

https://gcc.gnu.org/g:921fbde7ae928bb258ea4d3f3adb0fdf0bfa4854

commit r9-9189-g921fbde7ae928bb258ea4d3f3adb0fdf0bfa4854
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Tue Jan 19 10:43:15 2021 +0100

    Fix PR ada/98740

    It's a long-standing GENERIC tree sharing issue.

    gcc/ada/ChangeLog:
            PR ada/98740
            * gcc-interface/trans.c (add_decl_expr): Always mark TYPE_ADA_SIZE.

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

* [Bug ada/98740] FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access
  2021-01-19  2:39 [Bug ada/98740] New: FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access msebor at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2021-01-19  9:48 ` cvs-commit at gcc dot gnu.org
@ 2021-01-19  9:49 ` ebotcazou at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2021-01-19  9:49 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.4
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Fixed everywhere.

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

end of thread, other threads:[~2021-01-19  9:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19  2:39 [Bug ada/98740] New: FAIL: c37213j, c37213, kc37213l with stack overflow or erroneous memory access msebor at gcc dot gnu.org
2021-01-19  8:00 ` [Bug ada/98740] " rguenth at gcc dot gnu.org
2021-01-19  9:38 ` ebotcazou at gcc dot gnu.org
2021-01-19  9:38 ` ebotcazou at gcc dot gnu.org
2021-01-19  9:45 ` cvs-commit at gcc dot gnu.org
2021-01-19  9:48 ` cvs-commit at gcc dot gnu.org
2021-01-19  9:48 ` cvs-commit at gcc dot gnu.org
2021-01-19  9:49 ` ebotcazou 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).