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

* [Bug fortran/17675] Alignment constraints not honored in EQUIVALENCE
  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 ` 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
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: c dot christian dot joensson at comhem dot se @ 2004-10-11  8:05 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christian at j-son dot org


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


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

* [Bug fortran/17675] [4.0 Regression] Alignment constraints not honored in EQUIVALENCE
  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 ` giovannibajo at libero dot it
  2004-11-16  8:37 ` ebotcazou at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: giovannibajo at libero dot it @ 2004-11-13 14:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-11-13 14:31 -------
A regression wrt the old frontend.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Alignment constraints not   |[4.0 Regression] Alignment
                   |honored in EQUIVALENCE      |constraints not honored in
                   |                            |EQUIVALENCE
   Target Milestone|---                         |4.0.0


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


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

* [Bug fortran/17675] [4.0 Regression] Alignment constraints not honored in EQUIVALENCE
  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
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-16  8:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-16 08:36 -------
This is critical on the SPARC.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


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


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

* [Bug fortran/17675] [4.0 Regression] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  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
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-11-17 15:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-11-17 15:09 -------
 I'm getting the same problems on sparc32 builds.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-17 15:09:20
               date|                            |


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


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

* [Bug fortran/17675] [4.0 Regression] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  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
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: c dot christian dot joensson at comhem dot se @ 2004-11-30 18:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From c dot christian dot joensson at comhem dot se  2004-11-30 18:25 -------
well, I get a few too, see http://gcc.gnu.org/ml/gcc-testresults/2004-
11/msg01283.html and http://gcc.gnu.org/ml/gcc-testresults/2004-
11/msg01296.html

-- 


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-11-30 18:25 ` c dot christian dot joensson at comhem dot se
@ 2004-12-17 20:42 ` phython at gcc dot gnu dot org
  2004-12-19 18:09 ` phython at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-12-17 20:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-12-17 20:42 -------
I haven't tested this yet, but perhaps something as simple as
Index: trans-common.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/fortran/trans-common.c,v
retrieving revision 1.18
diff -u -p -r1.18 trans-common.c
--- trans-common.c      16 Sep 2004 16:00:43 -0000      1.18
+++ trans-common.c      17 Dec 2004 20:41:48 -0000
@@ -269,6 +269,9 @@ build_equiv_decl (tree union_type, bool
   TREE_ADDRESSABLE (decl) = 1;
   TREE_USED (decl) = 1;

+  DECL_ALIGN (decl) = BIGGEST_ALIGNMENT;
+  DECL_USER_ALIGN (decl) = 0;
+
   /* The source location has been lost, and doesn't really matter.
      We need to set it to something though.  */
   gfc_set_decl_location (decl, &gfc_current_locus);

 Would fix the problem.

-- 


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  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
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-12-19 18:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-12-19 18:09 -------
 Sorry for the noise.  That patch doesn't do anything.


-- 


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  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
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-21  0:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-21 00:39 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01605.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|sparc*-*-*                  |
   GCC host triplet|sparc*-*-*                  |
 GCC target triplet|sparc*-*-*                  |sparc*-*-*, ia64-*-*,
                   |                            |alpha*-*-*
           Keywords|                            |patch


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  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
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2005-01-04 22:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pbrook at gcc dot gnu dot org  2005-01-04 22:48 -------
I don't think that patch is sufficient. I'm about halfway to a fix.
I don't think the behaviour should be conditional on STRICT_ALIGNMENT.
Either enforce alignment, or annotate things properly so that the backend
generates unaligned loads. g77 enforces alignment.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pbrook at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2004-11-17 15:09:20         |2005-01-04 22:48:21
               date|                            |


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  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
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-01-06 14:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |19292
              nThis|                            |


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  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
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-08 21:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-08 21:43 -------
*** Bug 19338 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  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
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-09 22:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-09 22:57 -------
Subject: Bug 17675

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pbrook@gcc.gnu.org	2005-01-09 22:57:45

Modified files:
	gcc/fortran    : ChangeLog trans-common.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: common_2.f90 common_3.f90 

Log message:
	2005-01-09  Paul Brook  <paul@codesourcery.com>
	
	PR fortran/17675
	* trans-common.c (current_common, current_offset): Remove.
	(create_common): Add head argument.
	(align_segment): New function.
	(apply_segment_offset): New function.
	(translate_common): Merge code from new_segment.  Handle alignment.
	(new_segment): Remove.
	(finish_equivalences): Ensure proper alignment.
	testsuite/
	* gfortran.dg/common_2.f90: New file.
	* gfortran.dg/common_3.f90: New file.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.288&r2=1.289
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-common.c.diff?cvsroot=gcc&r1=1.18&r2=1.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4874&r2=1.4875
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/common_2.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/common_3.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  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
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2005-01-09 22:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pbrook at gcc dot gnu dot org  2005-01-09 22:59 -------
Should be fixed now.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  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
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-09 23:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-01-09 23:16 -------
> Should be fixed now.

Unfortunately not all of them:

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-7.f  -O0  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  -O0  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
FAIL: gfortran.dg/g77/980701-1.f  -O0  execution test
FAIL: gfortran.dg/g77/980701-1.f  -O1  execution test
FAIL: gfortran.dg/g77/980701-1.f  -O2  execution test
FAIL: gfortran.dg/g77/980701-1.f  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/g77/980701-1.f  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/g77/980701-1.f  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/g77/980701-1.f  -O3 -g  execution test
FAIL: gfortran.dg/g77/980701-1.f  -Os  execution test

Note that Steve's patch fixes all of them.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-16 12:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-16 12:06 -------
Subject: Bug 17675

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pbrook@gcc.gnu.org	2005-01-16 12:05:54

Modified files:
	gcc/fortran    : ChangeLog trans-common.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: common_4.f90 

Log message:
	2004-01-16  Paul Brook  <paul@codesourcery.com>
	
	PR fortran/17675
	* trans-common.c (translate_common): Remove duplicate function call.
	(finish_equivalences): Preserve alignment when biasing offsets.
	testsuite/
	* gfortran.dg/common_4.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.293&r2=1.294
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-common.c.diff?cvsroot=gcc&r1=1.20&r2=1.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4893&r2=1.4894
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/common_4.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-16 15:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-01-16 15:47 -------
> 	PR fortran/17675
> 	* trans-common.c (translate_common): Remove duplicate function call.
> 	(finish_equivalences): Preserve alignment when biasing offsets.
> 	testsuite/
> 	* gfortran.dg/common_4.f90: New test.

You got them all on both SPARC 32-bit and 64-bit.  Thanks!


-- 


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-16 16:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-16 16:08 -------
This is now fixed right?

-- 


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  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
  19 siblings, 0 replies; 21+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-01-16 16:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-01-16 16:13 -------
Subject: Re:  [Regression w.r.t. g77] Alignment constraints

> ------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-16
> 16:08 -------
> This is now fixed right?

Should know in a couple of hours.  I have builds going on
hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.

Dave


-- 


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (17 preceding siblings ...)
  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
  19 siblings, 0 replies; 21+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-01-16 23:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-01-16 23:17 -------
Subject: Re:  [Regression w.r.t. g77] Alignment constraints

> > ------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-16
> > 16:08 -------
> > This is now fixed right?
> 
> Should know in a couple of hours.  I have builds going on
> hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.

Yes.

Dave


-- 


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


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

* [Bug fortran/17675] [Regression w.r.t. g77] Alignment constraints not honored in EQUIVALENCE
  2004-09-26  6:46 [Bug fortran/17675] New: Alignment constraints not honored in EQUIVALENCE ebotcazou at gcc dot gnu dot org
                   ` (18 preceding siblings ...)
  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
  19 siblings, 0 replies; 21+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2005-01-16 23:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pbrook at gcc dot gnu dot org  2005-01-16 23:21 -------
Fixed. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


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).