public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/25765]  New: gfortran.dg/assign_2.f90 -O0 fails
@ 2006-01-12 14:33 pinskia at gcc dot gnu dot org
  2006-01-28  4:09 ` [Bug target/25765] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-12 14:33 UTC (permalink / raw)
  To: gcc-bugs

gfortran.dg/assign_2.f90 at -O0 fails because the subtraction between labels in
different sections cannot be done, well it is really the last label is not in
the same section when it should be as there is no nop after the last label.

we get something like:
"L00000000001$pb":
L6:
        popl    %ebx
        leal    _j.0.799-"L00000000001$pb"(%ebx), %eax
        movl    $-1, (%eax)
        leal    _j.1.800-"L00000000001$pb"(%ebx), %edx
        leal    L2-"L00000000001$pb"(%ebx), %eax
....

        leave
        ret
L2:  // <--- there should be a nop here.
        .data
        .align 2
_j.0.799:


-- 
           Summary: gfortran.dg/assign_2.f90 -O0 fails
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: assemble-failure
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: i686-apple-darwin


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


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

* [Bug target/25765] gfortran.dg/assign_2.f90 -O0 fails
  2006-01-12 14:33 [Bug target/25765] New: gfortran.dg/assign_2.f90 -O0 fails pinskia at gcc dot gnu dot org
@ 2006-01-28  4:09 ` pinskia at gcc dot gnu dot org
  2006-02-12  4:13 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-28  4:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-28 04:09 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-28 04:09:14
               date|                            |


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


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

* [Bug target/25765] gfortran.dg/assign_2.f90 -O0 fails
  2006-01-12 14:33 [Bug target/25765] New: gfortran.dg/assign_2.f90 -O0 fails pinskia at gcc dot gnu dot org
  2006-01-28  4:09 ` [Bug target/25765] " pinskia at gcc dot gnu dot org
@ 2006-02-12  4:13 ` pinskia at gcc dot gnu dot org
  2006-04-17 17:23 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-12  4:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-12 04:13 -------
A patch like the rs6000 one:
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02517.html

Should work.


-- 


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


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

* [Bug target/25765] gfortran.dg/assign_2.f90 -O0 fails
  2006-01-12 14:33 [Bug target/25765] New: gfortran.dg/assign_2.f90 -O0 fails pinskia at gcc dot gnu dot org
  2006-01-28  4:09 ` [Bug target/25765] " pinskia at gcc dot gnu dot org
  2006-02-12  4:13 ` pinskia at gcc dot gnu dot org
@ 2006-04-17 17:23 ` pinskia at gcc dot gnu dot org
  2006-06-27 20:13 ` langton at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-17 17:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-04-17 17:23 -------
*** Bug 27183 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dir at lanl dot gov


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


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

* [Bug target/25765] gfortran.dg/assign_2.f90 -O0 fails
  2006-01-12 14:33 [Bug target/25765] New: gfortran.dg/assign_2.f90 -O0 fails pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-04-17 17:23 ` pinskia at gcc dot gnu dot org
@ 2006-06-27 20:13 ` langton at gcc dot gnu dot org
  2006-06-27 20:15 ` langton at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: langton at gcc dot gnu dot org @ 2006-06-27 20:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from langton at gcc dot gnu dot org  2006-06-27 20:13 -------
The rs6000 patch (attached) does appear to work, at least on assign_2.f90. 
I'll do a full bootstrap and regression-test, then submit the fix.


-- 

langton at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |langton at gcc dot gnu dot
                   |                            |org
         AssignedTo|unassigned at gcc dot gnu   |langton at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug target/25765] gfortran.dg/assign_2.f90 -O0 fails
  2006-01-12 14:33 [Bug target/25765] New: gfortran.dg/assign_2.f90 -O0 fails pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-06-27 20:13 ` langton at gcc dot gnu dot org
@ 2006-06-27 20:15 ` langton at gcc dot gnu dot org
  2006-06-30 16:48 ` langton at gcc dot gnu dot org
  2006-06-30 19:01 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: langton at gcc dot gnu dot org @ 2006-06-27 20:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from langton at gcc dot gnu dot org  2006-06-27 20:15 -------
Created an attachment (id=11761)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11761&action=view)
Geoffrey Keating's rs6000 patch applied to i386.


-- 


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


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

* [Bug target/25765] gfortran.dg/assign_2.f90 -O0 fails
  2006-01-12 14:33 [Bug target/25765] New: gfortran.dg/assign_2.f90 -O0 fails pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-06-27 20:15 ` langton at gcc dot gnu dot org
@ 2006-06-30 16:48 ` langton at gcc dot gnu dot org
  2006-06-30 19:01 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: langton at gcc dot gnu dot org @ 2006-06-30 16:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from langton at gcc dot gnu dot org  2006-06-30 16:46 -------
This is fixed in 4.2 as of revision 115079.  I'll backport the fix to 4.1 in
the next few days:

http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01492.html


-- 


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


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

* [Bug target/25765] gfortran.dg/assign_2.f90 -O0 fails
  2006-01-12 14:33 [Bug target/25765] New: gfortran.dg/assign_2.f90 -O0 fails pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-06-30 16:48 ` langton at gcc dot gnu dot org
@ 2006-06-30 19:01 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-30 19:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-06-30 18:40 -------
(In reply to comment #6)
> This is fixed in 4.2 as of revision 115079.  I'll backport the fix to 4.1 in
> the next few days:
4.1 does not support that much of x86-darwin anyways.  So closing as fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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


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

end of thread, other threads:[~2006-06-30 18:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-12 14:33 [Bug target/25765] New: gfortran.dg/assign_2.f90 -O0 fails pinskia at gcc dot gnu dot org
2006-01-28  4:09 ` [Bug target/25765] " pinskia at gcc dot gnu dot org
2006-02-12  4:13 ` pinskia at gcc dot gnu dot org
2006-04-17 17:23 ` pinskia at gcc dot gnu dot org
2006-06-27 20:13 ` langton at gcc dot gnu dot org
2006-06-27 20:15 ` langton at gcc dot gnu dot org
2006-06-30 16:48 ` langton at gcc dot gnu dot org
2006-06-30 19:01 ` pinskia 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).