public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/62235] New: Storage_Error in the compiler
@ 2014-08-22 18:48 porton at narod dot ru
2014-10-29 9:04 ` [Bug ada/62235] segmentation fault on Ada 2012 code ebotcazou at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: porton at narod dot ru @ 2014-08-22 18:48 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/62235] segmentation fault on Ada 2012 code
2014-08-22 18:48 [Bug ada/62235] New: Storage_Error in the compiler porton at narod dot ru
@ 2014-10-29 9:04 ` ebotcazou at gcc dot gnu.org
2014-10-29 22:23 ` porton at narod dot ru
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-10-29 9:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-10-29
CC| |ebotcazou at gcc dot gnu.org
Summary|Storage_Error in the |segmentation fault on Ada
|compiler |2012 code
Ever confirmed|0 |1
Severity|major |normal
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Confirmed, but it's not a Storage_Error but a segfault.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/62235] segmentation fault on Ada 2012 code
2014-08-22 18:48 [Bug ada/62235] New: Storage_Error in the compiler porton at narod dot ru
2014-10-29 9:04 ` [Bug ada/62235] segmentation fault on Ada 2012 code ebotcazou at gcc dot gnu.org
@ 2014-10-29 22:23 ` porton at narod dot ru
2014-11-01 22:53 ` simon at pushface dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: porton at narod dot ru @ 2014-10-29 22:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235
--- Comment #2 from Victor Porton <porton at narod dot ru> ---
Confirmed in GNAT GPL 2014.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/62235] segmentation fault on Ada 2012 code
2014-08-22 18:48 [Bug ada/62235] New: Storage_Error in the compiler porton at narod dot ru
2014-10-29 9:04 ` [Bug ada/62235] segmentation fault on Ada 2012 code ebotcazou at gcc dot gnu.org
2014-10-29 22:23 ` porton at narod dot ru
@ 2014-11-01 22:53 ` simon at pushface dot org
2015-03-08 19:15 ` porton at narod dot ru
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: simon at pushface dot org @ 2014-11-01 22:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235
simon at pushface dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simon at pushface dot org
--- Comment #3 from simon at pushface dot org ---
A workround appears to be to replace
========================================================================
generic
type Record_Type; -- It should be an untagged record for C compatibility
package RDF.Auxilary.Handled_Record is
type Access_Type is access Record_Type
with Convention=>C;
========================================================================
by
========================================================================
generic
type Record_Type; -- It should be an untagged record for C compatibility
type Record_Type_Access is access Record_Type; -- should have convention C
package RDF.Auxilary.Handled_Record is
subtype Access_Type is Record_Type_Access;
========================================================================
(I guess the new formal_incomplete_type_declaration stuff is a bit
fragile)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/62235] segmentation fault on Ada 2012 code
2014-08-22 18:48 [Bug ada/62235] New: Storage_Error in the compiler porton at narod dot ru
` (2 preceding siblings ...)
2014-11-01 22:53 ` simon at pushface dot org
@ 2015-03-08 19:15 ` porton at narod dot ru
2015-04-23 23:04 ` porton at narod dot ru
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: porton at narod dot ru @ 2015-03-08 19:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235
--- Comment #4 from Victor Porton <porton at narod dot ru> ---
Also does not work with GNAT 4.9.2.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/62235] segmentation fault on Ada 2012 code
2014-08-22 18:48 [Bug ada/62235] New: Storage_Error in the compiler porton at narod dot ru
` (3 preceding siblings ...)
2015-03-08 19:15 ` porton at narod dot ru
@ 2015-04-23 23:04 ` porton at narod dot ru
2015-09-13 12:02 ` porton at narod dot ru
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: porton at narod dot ru @ 2015-04-23 23:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235
Victor Porton <porton at narod dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|4.9.2 |5.1.0
--- Comment #5 from Victor Porton <porton at narod dot ru> ---
Not fixed in 5.1.0 (however the exact error message is somehow different).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/62235] segmentation fault on Ada 2012 code
2014-08-22 18:48 [Bug ada/62235] New: Storage_Error in the compiler porton at narod dot ru
` (4 preceding siblings ...)
2015-04-23 23:04 ` porton at narod dot ru
@ 2015-09-13 12:02 ` porton at narod dot ru
2015-09-13 12:16 ` porton at narod dot ru
2015-09-13 14:21 ` ebotcazou at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: porton at narod dot ru @ 2015-09-13 12:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235
--- Comment #6 from Victor Porton <porton at narod dot ru> ---
Not fixed in GNAT 5.2.1 20150903 (i586-linux-gnu) (Debian gnat-5 package).
However the exact error message is somehow different.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/62235] segmentation fault on Ada 2012 code
2014-08-22 18:48 [Bug ada/62235] New: Storage_Error in the compiler porton at narod dot ru
` (5 preceding siblings ...)
2015-09-13 12:02 ` porton at narod dot ru
@ 2015-09-13 12:16 ` porton at narod dot ru
2015-09-13 14:21 ` ebotcazou at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: porton at narod dot ru @ 2015-09-13 12:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235
Victor Porton <porton at narod dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|5.1.0 |5.2.1
Severity|normal |major
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/62235] segmentation fault on Ada 2012 code
2014-08-22 18:48 [Bug ada/62235] New: Storage_Error in the compiler porton at narod dot ru
` (6 preceding siblings ...)
2015-09-13 12:16 ` porton at narod dot ru
@ 2015-09-13 14:21 ` ebotcazou at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2015-09-13 14:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-09-13 14:21 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-22 18:48 [Bug ada/62235] New: Storage_Error in the compiler porton at narod dot ru
2014-10-29 9:04 ` [Bug ada/62235] segmentation fault on Ada 2012 code ebotcazou at gcc dot gnu.org
2014-10-29 22:23 ` porton at narod dot ru
2014-11-01 22:53 ` simon at pushface dot org
2015-03-08 19:15 ` porton at narod dot ru
2015-04-23 23:04 ` porton at narod dot ru
2015-09-13 12:02 ` porton at narod dot ru
2015-09-13 12:16 ` porton at narod dot ru
2015-09-13 14:21 ` 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).