This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/31240] New: gcc/testsuite/gfortran.dg/pointer_intent_1.f90 failure on OSX
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2007 13:10:09 -0000
- Subject: [Bug testsuite/31240] New: gcc/testsuite/gfortran.dg/pointer_intent_1.f90 failure on OSX
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Without option and when compiled with the 20070316 snapshot on OSX 10.3.9
gcc/testsuite/gfortran.dg/pointer_intent_1.f90 yields an executable
which segfault, see:
http://gcc.gnu.org/ml/fortran/2007-03/msg00345.html
but ignore the crash log I have posted. The right one is:
**********
Host Name: karma.lps.ens.fr
Date/Time: 2007-03-17 13:26:25 +0100
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: a.out
Path: a.out
Version: ??? (???)
PID: 19276
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x62756700
Thread 0 Crashed:
0 a.out 0x00002b8c nonpointer.958 + 0x1c (darwin-crt3.c:-94)
1 a.out 0x000028a4 MAIN__ + 0xdc (darwin-crt3.c:-94)
2 a.out 0x00002bcc main + 0x30
3 a.out 0x000018f0 _start + 0x188 (crt.c:267)
4 dyld 0x8fe1a31c _dyld_start + 0x64
PPC Thread State:
srr0: 0x00002b8c srr1: 0x0000d030 vrsave: 0x00000000
cr: 0x42000042 xer: 0x00000000 lr: 0x000028a4 ctr: 0x90000c78
r0: 0x00000007 r1: 0xbfffefa0 r2: 0x62756700 r3: 0xbffff010
r4: 0xbffff008 r5: 0x00000000 r6: 0x00000001 r7: 0x00000000
r8: 0x00000000 r9: 0x000001e3 r10: 0x00000002 r11: 0x0000001e
r12: 0x90000c78 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
r24: 0x00000000 r25: 0x00000000 r26: 0xbffff12c r27: 0x00000008
r28: 0xbffff130 r29: 0x01100630 r30: 0xbfffefa0 r31: 0x0000177c
Binary Images Description:
0x1000 - 0x2fff a.out a.out
0x3e000 - 0x49fff libgcc_s.1.dylib
/sw/lib/gcc4/lib/libgcc_s.1.dylib
0x3f4000 - 0x472fff libgfortran.3.dylib
/sw/lib/gcc4/lib/libgfortran.3.dylib
0x73230000 - 0x73233fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x939d0000 - 0x939d4fff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
In http://gcc.gnu.org/ml/fortran/2007-03/msg00346.html, FX Coudert added:
> I can confirm that on i686-linux; ...
--
Summary: gcc/testsuite/gfortran.dg/pointer_intent_1.f90 failure
on OSX
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC target triplet: powerpc-apple-darwin7
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31240