public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
@ 2003-06-05 15:35 ` pinskia@physics.uc.edu
  2003-11-10  7:48 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-05 15:35 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-05 15:35:30
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-06-05 15:35 -------
It is still happens on the mainline (20030604) but it infacts adds an extra load on the one 
with the optimization field that is not need.  It removes a jump though so the mainline will 
be faster than 3.3 because of that.

without the optimization field:
.L18:   
        addl    (%eax), %ecx    #, c
        addl    $4, %eax        #, tmp108 
        movl    %eax, 4(%ebx)   # tmp108, <variable>._M_current
.L5:    
        movl    4(%ebx), %eax   #, tmp96
        cmpl    %edx, %eax      # <variable>._M_finish, tmp96
        jne     .L18    #,  


with the optimization field

.L18:   
        movl    (%eax), %edx    #* <variable>._M_start,  <-- extra load
        addl    $4, %eax        #, <variable>._M_start
        addl    %edx, %ebx      #, c
.L5:    
        cmpl    %ecx, %eax      # <variable>._M_finish, <variable>._M_start
        jne     .L18    #,  





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
  2003-06-05 15:35 ` [Bug optimization/10528] Unexpected loop un-optimization when removing a field of a class pinskia@physics.uc.edu
@ 2003-11-10  7:48 ` pinskia at gcc dot gnu dot org
  2003-11-15  8:26 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-10  7:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-10 07:48 -------
This looks like an other putting objects on the stack too soon, putting target milestone to 
the tree-ssa.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-06-05 15:35:30         |2003-11-10 07:48:08
               date|                            |
   Target Milestone|---                         |tree-ssa


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


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

* [Bug optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
  2003-06-05 15:35 ` [Bug optimization/10528] Unexpected loop un-optimization when removing a field of a class pinskia@physics.uc.edu
  2003-11-10  7:48 ` pinskia at gcc dot gnu dot org
@ 2003-11-15  8:26 ` pinskia at gcc dot gnu dot org
  2004-01-20 17:09 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-15  8:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


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


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

* [Bug optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
                   ` (2 preceding siblings ...)
  2003-11-15  8:26 ` pinskia at gcc dot gnu dot org
@ 2004-01-20 17:09 ` pinskia at gcc dot gnu dot org
  2004-03-03  6:13 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-20 17:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-20 17:09 -------
Related to PR 8781, really it is close enough related to PR 8781 that I am going to mark 
this on to depend on PR 8781.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |8781


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


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

* [Bug optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
                   ` (3 preceding siblings ...)
  2004-01-20 17:09 ` pinskia at gcc dot gnu dot org
@ 2004-03-03  6:13 ` pinskia at gcc dot gnu dot org
  2004-05-13 23:21 ` [Bug tree-optimization/10528] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-03  6:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-03 06:13 -------
Actually this is not related to bug 8781 at all but rather 2399, the problem is now the 
struct contain other structs so causing SRA not to happen.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|8781                        |2399
   Last reconfirmed|2003-11-10 07:48:08         |2004-03-03 06:13:05
               date|                            |


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


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

* [Bug tree-optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
                   ` (4 preceding siblings ...)
  2004-03-03  6:13 ` pinskia at gcc dot gnu dot org
@ 2004-05-13 23:21 ` pinskia at gcc dot gnu dot org
  2004-06-29 21:10 ` rth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-13 23:21 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|rtl-optimization            |tree-optimization
   Target Milestone|tree-ssa                    |---


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


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

* [Bug tree-optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
                   ` (5 preceding siblings ...)
  2004-05-13 23:21 ` [Bug tree-optimization/10528] " pinskia at gcc dot gnu dot org
@ 2004-06-29 21:10 ` rth at gcc dot gnu dot org
  2004-06-29 21:27 ` rth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-06-29 21:10 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 10528 depends on bug 13953, which changed state.

Bug 13953 Summary: [tree-ssa] SRA does not work for structs that contain a struct as a member
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13953

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug tree-optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
                   ` (6 preceding siblings ...)
  2004-06-29 21:10 ` rth at gcc dot gnu dot org
@ 2004-06-29 21:27 ` rth at gcc dot gnu dot org
  2004-09-13  2:28 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-06-29 21:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-06-29 21:21 -------
Ought to be handled by SRA now, but dom1 isn't cleaning up the code enough.

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


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


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

* [Bug tree-optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
                   ` (7 preceding siblings ...)
  2004-06-29 21:27 ` rth at gcc dot gnu dot org
@ 2004-09-13  2:28 ` cvs-commit at gcc dot gnu dot org
  2004-09-13  2:29 ` rth at gcc dot gnu dot org
  2004-09-13  2:39 ` giovannibajo at libero dot it
  10 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-13  2:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-09-13 02:28 -------
Subject: Bug 10528

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2004-09-13 02:28:20

Modified files:
	gcc            : ChangeLog tree-inline.c 

Log message:
	PR tree-opt/10528
	* tree-inline.c (copy_body_r): Recompute bits for ADDR_EXPR,
	after copying its argument.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5416&r2=2.5417
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&r1=1.139&r2=1.140



-- 


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


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

* [Bug tree-optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
                   ` (8 preceding siblings ...)
  2004-09-13  2:28 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-13  2:29 ` rth at gcc dot gnu dot org
  2004-09-13  2:39 ` giovannibajo at libero dot it
  10 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-09-13  2:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-09-13 02:29 -------
Fixed.

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


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


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

* [Bug tree-optimization/10528] Unexpected loop un-optimization when removing a field of a class
       [not found] <20030428220601.10528.have@ann.jussieu.fr>
                   ` (9 preceding siblings ...)
  2004-09-13  2:29 ` rth at gcc dot gnu dot org
@ 2004-09-13  2:39 ` giovannibajo at libero dot it
  10 siblings, 0 replies; 11+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-13  2:39 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-09-13  2:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030428220601.10528.have@ann.jussieu.fr>
2003-06-05 15:35 ` [Bug optimization/10528] Unexpected loop un-optimization when removing a field of a class pinskia@physics.uc.edu
2003-11-10  7:48 ` pinskia at gcc dot gnu dot org
2003-11-15  8:26 ` pinskia at gcc dot gnu dot org
2004-01-20 17:09 ` pinskia at gcc dot gnu dot org
2004-03-03  6:13 ` pinskia at gcc dot gnu dot org
2004-05-13 23:21 ` [Bug tree-optimization/10528] " pinskia at gcc dot gnu dot org
2004-06-29 21:10 ` rth at gcc dot gnu dot org
2004-06-29 21:27 ` rth at gcc dot gnu dot org
2004-09-13  2:28 ` cvs-commit at gcc dot gnu dot org
2004-09-13  2:29 ` rth at gcc dot gnu dot org
2004-09-13  2:39 ` giovannibajo at libero dot it

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