public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/38115]  New: unneeded temp
@ 2008-11-14  9:04 jv244 at cam dot ac dot uk
  2008-11-14  9:08 ` [Bug fortran/38115] " jv244 at cam dot ac dot uk
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-11-14  9:04 UTC (permalink / raw)
  To: gcc-bugs

No need for a temp here:

SUBROUTINE S1(a,i,j,k,m)
   INTEGER :: a(3,6)
   a(1:3,m)=(/i,j,k/)
END


-- 
           Summary: unneeded temp
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk
OtherBugsDependingO 36854
             nThis:


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


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

* [Bug fortran/38115] unneeded temp
  2008-11-14  9:04 [Bug fortran/38115] New: unneeded temp jv244 at cam dot ac dot uk
@ 2008-11-14  9:08 ` jv244 at cam dot ac dot uk
  2008-11-18 20:12 ` pault at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-11-14  9:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jv244 at cam dot ac dot uk  2008-11-14 09:07 -------
I guess this one is similar enough to put here as well:

SUBROUTINE S1(a,i,j,k,m)
   INTEGER :: a(3,6)
   write(6,*) ALL(a(1:3,m).EQ.(/i,j,k/))
END


-- 


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


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

* [Bug fortran/38115] unneeded temp
  2008-11-14  9:04 [Bug fortran/38115] New: unneeded temp jv244 at cam dot ac dot uk
  2008-11-14  9:08 ` [Bug fortran/38115] " jv244 at cam dot ac dot uk
@ 2008-11-18 20:12 ` pault at gcc dot gnu dot org
  2008-11-20 14:34 ` mikael at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-11-18 20:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pault at gcc dot gnu dot org  2008-11-18 20:11 -------
Another tough one, I think.

Thanks

Paul


-- 

pault 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         |2008-11-18 20:11:32
               date|                            |


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


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

* [Bug fortran/38115] unneeded temp
  2008-11-14  9:04 [Bug fortran/38115] New: unneeded temp jv244 at cam dot ac dot uk
  2008-11-14  9:08 ` [Bug fortran/38115] " jv244 at cam dot ac dot uk
  2008-11-18 20:12 ` pault at gcc dot gnu dot org
@ 2008-11-20 14:34 ` mikael at gcc dot gnu dot org
  2008-11-20 18:55 ` jv244 at cam dot ac dot uk
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: mikael at gcc dot gnu dot org @ 2008-11-20 14:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mikael at gcc dot gnu dot org  2008-11-20 14:33 -------
duplicate of pr36935?


-- 


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


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

* [Bug fortran/38115] unneeded temp
  2008-11-14  9:04 [Bug fortran/38115] New: unneeded temp jv244 at cam dot ac dot uk
                   ` (2 preceding siblings ...)
  2008-11-20 14:34 ` mikael at gcc dot gnu dot org
@ 2008-11-20 18:55 ` jv244 at cam dot ac dot uk
  2009-01-04  0:22 ` dfranke at gcc dot gnu dot org
  2009-03-29  7:47 ` fxcoudert at gcc dot gnu dot org
  5 siblings, 0 replies; 8+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-11-20 18:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jv244 at cam dot ac dot uk  2008-11-20 18:54 -------
(In reply to comment #3)
> duplicate of pr36935?

similar enough to make this one depend on PR36935. I think the testcases here
(certainly comment #1), are more difficult.


-- 

jv244 at cam dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |36935


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


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

* [Bug fortran/38115] unneeded temp
  2008-11-14  9:04 [Bug fortran/38115] New: unneeded temp jv244 at cam dot ac dot uk
                   ` (3 preceding siblings ...)
  2008-11-20 18:55 ` jv244 at cam dot ac dot uk
@ 2009-01-04  0:22 ` dfranke at gcc dot gnu dot org
  2009-03-29  7:47 ` fxcoudert at gcc dot gnu dot org
  5 siblings, 0 replies; 8+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2009-01-04  0:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dfranke at gcc dot gnu dot org  2009-01-04 00:22 -------
PR33341 belongs here as well.


-- 

dfranke at gcc dot gnu dot org changed:

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


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


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

* [Bug fortran/38115] unneeded temp
  2008-11-14  9:04 [Bug fortran/38115] New: unneeded temp jv244 at cam dot ac dot uk
                   ` (4 preceding siblings ...)
  2009-01-04  0:22 ` dfranke at gcc dot gnu dot org
@ 2009-03-29  7:47 ` fxcoudert at gcc dot gnu dot org
  5 siblings, 0 replies; 8+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-03-29  7:47 UTC (permalink / raw)
  To: gcc-bugs



-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Keywords|                            |missed-optimization


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


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

* [Bug fortran/38115] unneeded temp
       [not found] <bug-38115-4@http.gcc.gnu.org/bugzilla/>
@ 2011-10-27  7:06 ` Joost.VandeVondele at pci dot uzh.ch
  0 siblings, 0 replies; 8+ messages in thread
From: Joost.VandeVondele at pci dot uzh.ch @ 2011-10-27  7:06 UTC (permalink / raw)
  To: gcc-bugs

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

Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2008-11-18 20:11:32         |2011-10-27 20:11:32

--- Comment #6 from Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> 2011-10-27 07:06:22 UTC ---
4.7 still generates the temporaries. Looks like the middle end deals with this
rather well for the #c0 testcase, but not #c1.


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

end of thread, other threads:[~2011-10-27  7:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-14  9:04 [Bug fortran/38115] New: unneeded temp jv244 at cam dot ac dot uk
2008-11-14  9:08 ` [Bug fortran/38115] " jv244 at cam dot ac dot uk
2008-11-18 20:12 ` pault at gcc dot gnu dot org
2008-11-20 14:34 ` mikael at gcc dot gnu dot org
2008-11-20 18:55 ` jv244 at cam dot ac dot uk
2009-01-04  0:22 ` dfranke at gcc dot gnu dot org
2009-03-29  7:47 ` fxcoudert at gcc dot gnu dot org
     [not found] <bug-38115-4@http.gcc.gnu.org/bugzilla/>
2011-10-27  7:06 ` Joost.VandeVondele at pci dot uzh.ch

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