public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/8936] Declaration of never defined member function changes generated code
       [not found] <20021214025601.8936.martin@xemacs.org>
@ 2003-05-25 16:34 ` pinskia@physics.uc.edu
  2003-08-16  3:37 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-25 16:34 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=8936


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-25 16:16:50
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-25 16:16 -------
This looks like is okay on ppc on the mainline (20030525) but not with -fno-omit-frame-
pointer.
PPC asm with -fno-omit-frame-pointer:
__Z3foov:
        stmw r30,-8(r1)
        stwu r1,-48(r1)
        mr r30,r1
        lwz r1,0(r1)
        li r3,0
        lmw r30,-8(r1)
        blr
        .align 2
        .globl __Z3barv
__Z3barv:
        stmw r30,-8(r1)
        stwu r1,-80(r1)    <--- see that this is more than above
        mr r30,r1
        lwz r1,0(r1)
        li r3,0
        lmw r30,-8(r1)
        blr

PPC asm without -fno-omit-frame-pointer:
__Z3foov:
        li r3,0
        blr
        .align 2
        .globl __Z3barv
__Z3barv:
        li r3,0
        blr



------- 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] 8+ messages in thread

* [Bug c++/8936] Declaration of never defined member function changes generated code
       [not found] <20021214025601.8936.martin@xemacs.org>
  2003-05-25 16:34 ` [Bug c++/8936] Declaration of never defined member function changes generated code pinskia@physics.uc.edu
@ 2003-08-16  3:37 ` pinskia at gcc dot gnu dot org
  2003-12-01  3:44 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-16  3:37 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=8936


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
   Last reconfirmed|2003-05-25 16:16:50         |2003-08-16 03:37:48
               date|                            |
   Target Milestone|---                         |tree-ssa


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-16 03:37 -------
Basicly the problem is that GCC likes to throw stuff to the stack too early.
This is most likely will be fixed only in the tree-ssa branch.


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

* [Bug c++/8936] Declaration of never defined member function changes generated code
       [not found] <20021214025601.8936.martin@xemacs.org>
  2003-05-25 16:34 ` [Bug c++/8936] Declaration of never defined member function changes generated code pinskia@physics.uc.edu
  2003-08-16  3:37 ` pinskia at gcc dot gnu dot org
@ 2003-12-01  3:44 ` pinskia at gcc dot gnu dot org
  2003-12-17  0:26 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-01  3:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-01 03:44 -------
The problem on the tree-ssa now is GCC is not removing dead code or dead store and objects:
;; Function bool foo() (_Z3foov)
bool foo() ()
{
  struct T <D1479>;
  struct T <D1478>;
<L0>:;
  <D1479>.e = 1;
<L1>:;
  return 0;
}
;; Function bool bar() (_Z3barv)
bool bar() ()
{
  struct S <D1487>;
  struct S <D1486>;
<L0>:;
  <D1487>.e = 1;
<L1>:;
  return 0;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-11-04 14:43:35         |2003-12-01 03:44:40
               date|                            |


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


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

* [Bug c++/8936] Declaration of never defined member function changes generated code
       [not found] <20021214025601.8936.martin@xemacs.org>
                   ` (2 preceding siblings ...)
  2003-12-01  3:44 ` pinskia at gcc dot gnu dot org
@ 2003-12-17  0:26 ` pinskia at gcc dot gnu dot org
  2003-12-17  1:26 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-17  0:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-16 23:28 -------
This has now been fixed on the tree-ssa so suspending.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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


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

* [Bug c++/8936] Declaration of never defined member function changes generated code
       [not found] <20021214025601.8936.martin@xemacs.org>
                   ` (3 preceding siblings ...)
  2003-12-17  0:26 ` pinskia at gcc dot gnu dot org
@ 2003-12-17  1:26 ` pinskia at gcc dot gnu dot org
  2003-12-17 17:10 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-17  1:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-17 00:54 -------
Fixed so closing.

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


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


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

* [Bug c++/8936] Declaration of never defined member function changes generated code
       [not found] <20021214025601.8936.martin@xemacs.org>
                   ` (4 preceding siblings ...)
  2003-12-17  1:26 ` pinskia at gcc dot gnu dot org
@ 2003-12-17 17:10 ` pinskia at gcc dot gnu dot org
  2003-12-17 17:13 ` pinskia at gcc dot gnu dot org
  2004-05-13 18:34 ` [Bug optimization (tree-ssa)/8936] " pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-17 17:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-17 17:05 -------
Reopening the bugs that are fixed on the tree-ssa (but not reported against the branch).

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


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


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

* [Bug c++/8936] Declaration of never defined member function changes generated code
       [not found] <20021214025601.8936.martin@xemacs.org>
                   ` (5 preceding siblings ...)
  2003-12-17 17:10 ` pinskia at gcc dot gnu dot org
@ 2003-12-17 17:13 ` pinskia at gcc dot gnu dot org
  2004-05-13 18:34 ` [Bug optimization (tree-ssa)/8936] " pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-17 17:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-17 17:10 -------
Suspending based on this is fixed on the tree-ssa.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |SUSPENDED


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


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

* [Bug optimization (tree-ssa)/8936] Declaration of never defined member function changes generated code
       [not found] <20021214025601.8936.martin@xemacs.org>
                   ` (6 preceding siblings ...)
  2003-12-17 17:13 ` pinskia at gcc dot gnu dot org
@ 2004-05-13 18:34 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-13 18:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-13 11:30 -------
Fixed for 3.5.0 by the merge of the tree-ssa.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
          Component|c++                         |optimization (tree-ssa)
         Resolution|                            |FIXED
   Target Milestone|tree-ssa                    |3.5.0


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


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

end of thread, other threads:[~2004-05-13 11:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20021214025601.8936.martin@xemacs.org>
2003-05-25 16:34 ` [Bug c++/8936] Declaration of never defined member function changes generated code pinskia@physics.uc.edu
2003-08-16  3:37 ` pinskia at gcc dot gnu dot org
2003-12-01  3:44 ` pinskia at gcc dot gnu dot org
2003-12-17  0:26 ` pinskia at gcc dot gnu dot org
2003-12-17  1:26 ` pinskia at gcc dot gnu dot org
2003-12-17 17:10 ` pinskia at gcc dot gnu dot org
2003-12-17 17:13 ` pinskia at gcc dot gnu dot org
2004-05-13 18:34 ` [Bug optimization (tree-ssa)/8936] " 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).