https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235
Bug ID: 62235
Summary: Storage_Error in the compiler
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: porton at narod dot ru
Created attachment 33381
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33381&action=edit
Apply gnatchop to this file
Apply gnatchop to all.chop (attached).
$ gnatgcc -v
Using built-in specs.
COLLECT_GCC=gnatgcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-linux-gnu/4.9/lto-wrapper
Target: i586-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.1-4'
--with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.9 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-i386/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-i386
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-i386
--with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-targets=all --enable-multiarch --with-arch-32=i586
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-checking=release --build=i586-linux-gnu --host=i586-linux-gnu
--target=i586-linux-gnu
Thread model: posix
gcc version 4.9.1 (Debian 4.9.1-4)
$ gnatgcc -c -fPIC -g -O2 -gnat2012 -g -O0 -gnato -fstack-check -gnatVa
rdf-raptor-log.adb
+===========================GNAT BUG DETECTED==============================+
| 4.9.1 (i586-linux-gnu) Storage_Error stack overflow or erroneous memory
access|
| Error detected at rdf-auxilary-handled_record.adb:1:1
[rdf-raptor-log.ads:32:4]|
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
| 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 gcc-4.9 or gnatmake command that you entered. |
| Also include sources listed below in gnatchop format |
| (concatenated together with no headers between files). |
+==========================================================================+
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).
rdf-raptor-log.adb
rdf-raptor-log.ads
rdf-raptor.ads
rdf.ads
rdf-auxilary.ads
rdf-auxilary-handled_record.ads
rdf-raptor-uri.ads
rdf-raptor-world.ads
rdf-auxilary-limited_handled_record.ads
rdf-raptor-iostream.ads
rdf-raptor-term.ads
rdf-raptor-namespaces_stacks.ads
rdf-raptor-namespaces.ads
rdf-raptor-statement.ads
rdf-raptor-memory.ads
rdf-auxilary-handled_record.adb
compilation abandoned