public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47713] New: String comparison optimization with LLE and friends
@ 2011-02-12 23:15 tkoenig at gcc dot gnu.org
2011-02-12 23:29 ` [Bug fortran/47713] " tkoenig at gcc dot gnu.org
2011-04-10 17:13 ` tkoenig at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2011-02-12 23:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47713
Summary: String comparison optimization with LLE and friends
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: tkoenig@gcc.gnu.org
Blocks: 36854
Created attachment 23322
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23322
patch (regression-tested)
A PR to save a patch which I don't really think is appropriate
for late stage 3. We want to extend the string comparison
optimizations to LLE and friends. I don't want to forget this
during stage 1 of 4.7 :-)
Test case:
! { dg-do run }
! { dg-options "-O -fdump-tree-original" }
! Check for compile-time simplifications of LLE and friends.
program main
character(3) :: a
a = 'ab'
if (.not. LLE(a,a)) call abort
if (LLT(a,a)) call abort
if (.not. LGE(a,a)) call abort
if (LGT(a,a)) call abort
end program main
! { dg-final { scan-tree-dump-times "gfortran_compare_string" 0 "original" } }
! { dg-final { cleanup-tree-dump "original" } }
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/47713] String comparison optimization with LLE and friends
2011-02-12 23:15 [Bug fortran/47713] New: String comparison optimization with LLE and friends tkoenig at gcc dot gnu.org
@ 2011-02-12 23:29 ` tkoenig at gcc dot gnu.org
2011-04-10 17:13 ` tkoenig at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2011-02-12 23:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47713
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011.02.12 23:15:29
AssignedTo|unassigned at gcc dot |tkoenig at gcc dot gnu.org
|gnu.org |
Target Milestone|--- |4.7.0
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/47713] String comparison optimization with LLE and friends
2011-02-12 23:15 [Bug fortran/47713] New: String comparison optimization with LLE and friends tkoenig at gcc dot gnu.org
2011-02-12 23:29 ` [Bug fortran/47713] " tkoenig at gcc dot gnu.org
@ 2011-04-10 17:13 ` tkoenig at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2011-04-10 17:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47713
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-04-10 17:13:04 UTC ---
Fixed with http://gcc.gnu.org/ml/gcc-cvs/2011-04/msg00146.html
(which didn't reference this PR).
Closing.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-04-10 17:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-12 23:15 [Bug fortran/47713] New: String comparison optimization with LLE and friends tkoenig at gcc dot gnu.org
2011-02-12 23:29 ` [Bug fortran/47713] " tkoenig at gcc dot gnu.org
2011-04-10 17:13 ` tkoenig at gcc dot gnu.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).