[Bug ada/79542] New: [7.0 regression] GNAT bug box
reznikmm at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 15 19:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79542
Bug ID: 79542
Summary: [7.0 regression] GNAT bug box
Product: gcc
Version: 7.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: reznikmm at gmail dot com
Target Milestone: ---
Created attachment 40754
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40754&action=edit
package body
Here is a reproducer for regression in GCC 7.
The regression was found by fedora project while recompiling packages
with new compiler. gcc 6, gcc 5 works fine with it.
gcc version 7.0.1 20170212 (experimental) (GCC)
Target: x86_64-pc-linux-gnu
Configured with: /work/reznik/gcc/gcc-7-20170212/configure
--enable-languages=ada,c,c++ --prefix=/work/reznik/gcc/install
--disable-multilib
Command line:
gcc -O2 -c -g finite_automatons.adb
Output:
+===========================GNAT BUG DETECTED==============================+
| 7.0.1 20170212 (experimental) (x86_64-pc-linux-gnu) GCC error: |
| in add_gnat_descriptive_type_attribute, at dwarf2out.c:19511 |
| Error detected around finite_automatons.adb:34:8 |
| 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).
finite_automatons.adb
finite_automatons.ads
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:406
More information about the Gcc-bugs
mailing list