public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE
@ 2004-09-26  6:46 ebotcazou at gcc dot gnu dot org
  2004-10-11  8:05 ` [Bug fortran/17675] " c dot christian dot joensson at comhem dot se
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-09-26  6:46 UTC (permalink / raw)
  To: gcc-bugs

We have many execution failures on SPARC for the 980628-* series of testcases:

FAIL: gfortran.dg/g77/980628-0.f  -O1  execution test
FAIL: gfortran.dg/g77/980628-0.f  -O2  execution test
FAIL: gfortran.dg/g77/980628-0.f  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/g77/980628-0.f  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/g77/980628-0.f  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/g77/980628-0.f  -O3 -g  execution test
FAIL: gfortran.dg/g77/980628-0.f  -Os  execution test
FAIL: gfortran.dg/g77/980628-1.f  -O1  execution test
FAIL: gfortran.dg/g77/980628-1.f  -O2  execution test
FAIL: gfortran.dg/g77/980628-1.f  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/g77/980628-1.f  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/g77/980628-1.f  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/g77/980628-1.f  -O3 -g  execution test
FAIL: gfortran.dg/g77/980628-1.f  -Os  execution test
FAIL: gfortran.dg/g77/980628-10.f  -O0  execution test
FAIL: gfortran.dg/g77/980628-10.f  -O1  execution test
FAIL: gfortran.dg/g77/980628-10.f  -O2  execution test
FAIL: gfortran.dg/g77/980628-10.f  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/g77/980628-10.f  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/g77/980628-10.f  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/g77/980628-10.f  -O3 -g  execution test
FAIL: gfortran.dg/g77/980628-10.f  -Os  execution test
FAIL: gfortran.dg/g77/980628-2.f  -O0  execution test
FAIL: gfortran.dg/g77/980628-2.f  -O1  execution test
FAIL: gfortran.dg/g77/980628-2.f  -O2  execution test
FAIL: gfortran.dg/g77/980628-2.f  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/g77/980628-2.f  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/g77/980628-2.f  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/g77/980628-2.f  -O3 -g  execution test
FAIL: gfortran.dg/g77/980628-2.f  -Os  execution test
FAIL: gfortran.dg/g77/980628-3.f  -O0  execution test
FAIL: gfortran.dg/g77/980628-3.f  -O1  execution test
FAIL: gfortran.dg/g77/980628-3.f  -O2  execution test
FAIL: gfortran.dg/g77/980628-3.f  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/g77/980628-3.f  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/g77/980628-3.f  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/g77/980628-3.f  -O3 -g  execution test
FAIL: gfortran.dg/g77/980628-3.f  -Os  execution test
FAIL: gfortran.dg/g77/980628-7.f  -O1  execution test
FAIL: gfortran.dg/g77/980628-7.f  -O2  execution test
FAIL: gfortran.dg/g77/980628-7.f  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/g77/980628-7.f  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/g77/980628-7.f  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/g77/980628-7.f  -O3 -g  execution test
FAIL: gfortran.dg/g77/980628-7.f  -Os  execution test
FAIL: gfortran.dg/g77/980628-8.f  -O1  execution test
FAIL: gfortran.dg/g77/980628-8.f  -O2  execution test
FAIL: gfortran.dg/g77/980628-8.f  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/g77/980628-8.f  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/g77/980628-8.f  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/g77/980628-8.f  -O3 -g  execution test
FAIL: gfortran.dg/g77/980628-8.f  -Os  execution test
FAIL: gfortran.dg/g77/980628-9.f  -O0  execution test
FAIL: gfortran.dg/g77/980628-9.f  -O1  execution test
FAIL: gfortran.dg/g77/980628-9.f  -O2  execution test
FAIL: gfortran.dg/g77/980628-9.f  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/g77/980628-9.f  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/g77/980628-9.f  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/g77/980628-9.f  -O3 -g  execution test
FAIL: gfortran.dg/g77/980628-9.f  -Os  execution test


It appears that the old bug mentioned in the head comment is back:

* g77 0.5.23 and previous had bugs involving too little space
* allocated for EQUIVALENCE and COMMON areas needing initial
* padding to meet alignment requirements of the system.


G95:
Program received signal SIGSEGV, Segmentation fault.
0x00010a94 in x_ (c1=0xffbefaa4, r1=@0xffbefaa5, c2=0xffbefab0,
    r2=@0xffbefab1, c3=0xffbefabc, r3=@0xffbefabd, c4=@0xffbefaa3,
    c5=@0xffbefaa1, c6=@0xffbefaa2, _c1=1, _c2=1, _c3=1, _c4=1, _c5=1, _c6=1)
    at 980628-2.f:44
44            if (r1 .ne. 1.) call abort

G77:
Breakpoint 1, x_ (c1=0xffbefaab, r1=0xffbefaac, c2=0xffbefa9b, r2=0xffbefa9c,
    c3=0xffbefa8b, r3=0xffbefa8c, c4=0xffbefa87, c5=0xffbefa86, c6=0xffbefa85,
    __g77_length_c1=1, __g77_length_c2=1, __g77_length_c3=1,
    __g77_length_c4=1, __g77_length_c5=1, __g77_length_c6=1) at 980628-2.f:44
44            if (r1 .ne. 1.) call abort

Note the discrepancy for the alignment of r1, r2 and r3.

-- 
           Summary: Alignment constraints not honored in EQUIVALENCE
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc*-*-*
  GCC host triplet: sparc*-*-*
GCC target triplet: sparc*-*-*


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2005-01-16 23:21 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
2004-10-11  8:05 ` [Bug fortran/17675] " c dot christian dot joensson at comhem dot se
2004-11-13 14:32 ` [Bug fortran/17675] [4.0 Regression] " giovannibajo at libero dot it
2004-11-16  8:37 ` ebotcazou at gcc dot gnu dot org
2004-11-17 15:09 ` phython at gcc dot gnu dot org
2004-11-30 18:25 ` c dot christian dot joensson at comhem dot se
2004-12-17 20:42 ` [Bug fortran/17675] [Regression w.r.t. g77] " phython at gcc dot gnu dot org
2004-12-19 18:09 ` phython at gcc dot gnu dot org
2004-12-21  0:39 ` pinskia at gcc dot gnu dot org
2005-01-04 22:48 ` pbrook at gcc dot gnu dot org
2005-01-06 14:41 ` tobi at gcc dot gnu dot org
2005-01-08 21:43 ` pinskia at gcc dot gnu dot org
2005-01-09 22:58 ` cvs-commit at gcc dot gnu dot org
2005-01-09 22:59 ` pbrook at gcc dot gnu dot org
2005-01-09 23:16 ` ebotcazou at gcc dot gnu dot org
2005-01-16 12:06 ` cvs-commit at gcc dot gnu dot org
2005-01-16 15:48 ` ebotcazou at gcc dot gnu dot org
2005-01-16 16:08 ` pinskia at gcc dot gnu dot org
2005-01-16 16:13 ` dave at hiauly1 dot hia dot nrc dot ca
2005-01-16 23:17 ` dave at hiauly1 dot hia dot nrc dot ca
2005-01-16 23:21 ` pbrook at gcc dot gnu dot 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).