[Bug ada/14543] Storage_Error on null slice, might be a regression.

bjorn_persson at sverige dot nu gcc-bugzilla@gcc.gnu.org
Fri Mar 12 22:57:00 GMT 2004


------- Additional Comments From bjorn_persson at sverige dot nu  2004-03-12 22:57 -------
Subject: Re:  New: Storage_Error on null slice, might be a
 regression.

Forwarded comments from comp.lang.ada:


Manuel Collado wrote:

 > I've reproduced the bug with the DJGPP port of gcc 3.3.3
 >
 > F:\PRUEBAS\ADA>gcc --version
 > gcc.exe (GCC) 3.3.3
 > Copyright (C) 2003 Free Software Foundation, Inc.
 > This is free software; see the source for copying conditions.  There 
is NO
 > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.
 >
 > F:\PRUEBAS\ADA>gnatmake null_slice_error
 > gcc -c null_slice_error.adb
 > null_slice_error.adb:1:11: warning: file name does not match unit name,
 > should be "nuslierr.adb"
 > gnatbind -x null_slice_error.ali
 > gnatlink null_slice_error.ali
 >
 > F:\PRUEBAS\ADA>F:\PRUEBAS\ADA\null_slice_error.exe
 > Exiting due to signal SIGSEGV
 > General Protection Fault at eip=000018fa
 > ....


Florian Villoing wrote:

 > It seems to be OK on FreeBSD 5.2 with gcc-3.4 compiled from sources :
 >
 > villoing:~/test$ gcc -v
 > Reading specs from 
/usr/home/villoing/install/gcc/bin/../lib/gcc/i386-unknown-freebsd5.2/3.4.0/specs
 > Configured with: ../gcc/configure --prefix=/home/villoing/install/gcc
 > --disable-shared --with-libiconv-prefix=/usr/local/lib
 > --disable-werror --enable-languages=c,ada
 > Thread model: posix
 > gcc version 3.4.0 20040305 (prerelease)
 >
 >
 >
 > villoing:~/test$ gnatmake -f -gnatv error.adb
 > gcc -c -gnatv error.adb
 >
 > GNAT 3.4.0 20040305 (prerelease) Copyright 1992-2004 Free Software
 > Foundation, Inc.
 >
 > Compiling: error.adb (source file time stamp: 2004-03-12 16:11:18)
 >  15 lines: No errors
 > gnatbind -x error.ali
 > gnatlink error.ali
 >
 >
 >
 > villoing:~/test$ ./error
 > villoing:~/test



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14543



More information about the Gcc-bugs mailing list