This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/49732] GNAT 4.6.[01] crashes on terminal_interface-curses-menus.adb from ncruses 5.9


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

--- Comment #2 from Vorfeed Canal <vorfeed.canal at gmail dot com> 2011-07-14 12:07:01 UTC ---
Which compilation options? I'm not specifying anything strange and even if I
use -O0 the result is the same:

/localbuild/build/sysnative-prencurses-5.9/narrowc/Ada95/src$ gnatmake -O0
-P/ncplc/src/sysnative-prencurses-5.9/Ada95/src/library.gpr -XBUILD_DIR=`cd
..;pwd` -XSOURCE_DIR=`cd ..;pwd` -XSOURCE_DIR2=`cd
/localbuild/src/sysnative-prencurses-5.9/Ada95/src;pwd` -XLIB_NAME=AdaCurses
-XSONAME=libAdaCurses.so.1 -XLIB_KIND=static                                    
gcc -c -g -O2 -gnatafno -gnatVa -gnatwa -O0 -I- -gnatA
/localbuild/src/sysnative-prencurses-5.9/Ada95/src/terminal_interface-curses-menus.adb

raised STORAGE_ERROR : stack overflow (or erroneous memory access)

GCC 4.4 works fine (I don't have GNAT 4.5 here to test)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]