public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/99099] New: bogus error on generic formal derived tagged type
@ 2021-02-15  0:49 stephen_leake@stephe-leake.org
  2021-02-15  0:52 ` [Bug ada/99099] " stephen_leake@stephe-leake.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: stephen_leake@stephe-leake.org @ 2021-02-15  0:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99099
           Summary: bogus error on generic formal derived tagged type
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stephen_leake@stephe-leake.org
  Target Milestone: ---

Created attachment 50182
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50182&action=edit
source file

The attached code compiles with GNAT Community 2019 and 2020, but fails with
gcc 10.2:

$ gprbuild -p -P work.gpr
Setup
   [mkdir]        object directory for project work
Compile
   [Ada]          wisi.ads
   [Ada]          test_gen_emacs.adb
gen_emacs_wisi_lr_parse.ads:3:52: missing ";"
gprbuild: *** compilation phase failed

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

* [Bug ada/99099] bogus error on generic formal derived tagged type
  2021-02-15  0:49 [Bug ada/99099] New: bogus error on generic formal derived tagged type stephen_leake@stephe-leake.org
@ 2021-02-15  0:52 ` stephen_leake@stephe-leake.org
  2021-02-15 11:33 ` stephen_leake@stephe-leake.org
  2023-05-11 16:35 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: stephen_leake@stephe-leake.org @ 2021-02-15  0:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Stephen Leake <stephen_leake@stephe-leake.org> ---
Created attachment 50183
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50183&action=edit
all source files

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

* [Bug ada/99099] bogus error on generic formal derived tagged type
  2021-02-15  0:49 [Bug ada/99099] New: bogus error on generic formal derived tagged type stephen_leake@stephe-leake.org
  2021-02-15  0:52 ` [Bug ada/99099] " stephen_leake@stephe-leake.org
@ 2021-02-15 11:33 ` stephen_leake@stephe-leake.org
  2023-05-11 16:35 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: stephen_leake@stephe-leake.org @ 2021-02-15 11:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Stephen Leake <stephen_leake@stephe-leake.org> ---
Removing -gnat2020 from the compiler options makes the error go away.

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

* [Bug ada/99099] bogus error on generic formal derived tagged type
  2021-02-15  0:49 [Bug ada/99099] New: bogus error on generic formal derived tagged type stephen_leake@stephe-leake.org
  2021-02-15  0:52 ` [Bug ada/99099] " stephen_leake@stephe-leake.org
  2021-02-15 11:33 ` stephen_leake@stephe-leake.org
@ 2023-05-11 16:35 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2023-05-11 16:35 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
            Version|unknown                     |10.2.0
         Resolution|---                         |FIXED
   Target Milestone|---                         |11.0

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Fixed in GCC 11 and later.

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

end of thread, other threads:[~2023-05-11 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15  0:49 [Bug ada/99099] New: bogus error on generic formal derived tagged type stephen_leake@stephe-leake.org
2021-02-15  0:52 ` [Bug ada/99099] " stephen_leake@stephe-leake.org
2021-02-15 11:33 ` stephen_leake@stephe-leake.org
2023-05-11 16:35 ` 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).