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/41912] FAIL: gnat.dg/null_pointer_deref1.adb execution test



------- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca  2009-11-13 14:20 -------
Subject: Re:  FAIL: gnat.dg/null_pointer_deref1.adb execution test

> I see that it fails on HP-UX as well.  That's probably because there is
> something missing in the fallback routines in config/pa, namely:
> 
>   fs->signal_frame = 1;
> 
> just before
> 
>  return _URC_NO_REASON;

This is an interesting suggestion.  However, the results in doing
this are mixed.  It fixes the current testcase on hpux but not linux.
It fixes three libjava fails on linux.  However, it introduces four
fails on both hpux and linux.  For example,

Executing on host:
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/testsuite/
../libtool --silent --tag=GCJ --mode=link /test/gnu/gcc/objdir/./gcc/gcj
-B/test
/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/ -B/test/gnu/gcc/objdir/./gcc/
-B/
opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.5.0/hppa2.
0w-hp-hpux11.11/lib/ -isystem
/opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/inclu
de -isystem /opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/sys-include   
--encodi
ng=UTF-8 -B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/testsuite/../
/tes
t/gnu/gcc/gcc/libjava/testsuite/libjava.lang/Array_3.jar  -w  -no-install
--main
=Array_3 -g  -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libjava/.libs -lm
-o /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/testsuite/Array_3.exe   
(
timeout = 300)
PASS: Array_3 compilation from source
set_ld_library_path_env_vars:
ld_library_path=.:/test/gnu/gcc/objdir/hppa2.0w-hp
-hpux11.11/./libjava/.libs
invoke:
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/testsuite/Array_3.exe

Setting LD_LIBRARY_PATH to
.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libjav
a/.libs:.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libjava/.libs
Exception in thread "main" java.lang.NullPointerException
   at Array_3.main(Array_3.java:30)
FAIL: Array_3 execution - source compiled test
UNTESTED: Array_3 output - source compiled test

Dave


-- 


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


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