public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/3713] Pointers to functions or member functions are not folded
       [not found] <20010717101600.3713.philippeb@videotron.ca>
@ 2003-05-25  0:19 ` pinskia@physics.uc.edu
  2003-06-19 15:17 ` [Bug c++/3713] Pointers to functions or member functions are not folded or inlined pinskia at physics dot uc dot edu
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-25  0:19 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=3713



------- Additional Comments From pinskia@physics.uc.edu  2003-05-25 00:05 -------
*** Bug 4277 has been marked as a duplicate of this bug. ***



------- 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 c++/3713] Pointers to functions or member functions are not folded or inlined
       [not found] <20010717101600.3713.philippeb@videotron.ca>
  2003-05-25  0:19 ` [Bug c++/3713] Pointers to functions or member functions are not folded pinskia@physics.uc.edu
@ 2003-06-19 15:17 ` pinskia at physics dot uc dot edu
  2003-07-08  0:53 ` [Bug optimization/3713] " pinskia at physics dot uc dot edu
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-19 15:17 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=3713


pinskia at physics dot uc dot edu changed:

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


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

* [Bug optimization/3713] Pointers to functions or member functions are not folded or inlined
       [not found] <20010717101600.3713.philippeb@videotron.ca>
  2003-05-25  0:19 ` [Bug c++/3713] Pointers to functions or member functions are not folded pinskia@physics.uc.edu
  2003-06-19 15:17 ` [Bug c++/3713] Pointers to functions or member functions are not folded or inlined pinskia at physics dot uc dot edu
@ 2003-07-08  0:53 ` pinskia at physics dot uc dot edu
  2003-07-08  0:53 ` pinskia at physics dot uc dot edu
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-08  0:53 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=3713


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |173513 at bugs dot debian
                   |                            |dot org


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-08 00:53 -------
*** Bug 9079 has been marked as a duplicate of this bug. ***


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

* [Bug optimization/3713] Pointers to functions or member functions are not folded or inlined
       [not found] <20010717101600.3713.philippeb@videotron.ca>
                   ` (2 preceding siblings ...)
  2003-07-08  0:53 ` [Bug optimization/3713] " pinskia at physics dot uc dot edu
@ 2003-07-08  0:53 ` pinskia at physics dot uc dot edu
  2004-06-06  1:22 ` [Bug rtl-optimization/3713] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-08  0:53 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=3713


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |optimization


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-08 00:53 -------
Changing this to optimization since this is good thing to do for all languages.


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

* [Bug rtl-optimization/3713] Pointers to functions or member functions are not folded or inlined
       [not found] <20010717101600.3713.philippeb@videotron.ca>
                   ` (3 preceding siblings ...)
  2003-07-08  0:53 ` pinskia at physics dot uc dot edu
@ 2004-06-06  1:22 ` pinskia at gcc dot gnu dot org
  2004-06-06  1:26 ` [Bug tree-optimization/3713] " 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-06-06  1:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |15838


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


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

* [Bug tree-optimization/3713] Pointers to functions or member functions are not folded or inlined
       [not found] <20010717101600.3713.philippeb@videotron.ca>
                   ` (4 preceding siblings ...)
  2004-06-06  1:22 ` [Bug rtl-optimization/3713] " pinskia at gcc dot gnu dot org
@ 2004-06-06  1:26 ` pinskia at gcc dot gnu dot org
  2004-07-03 19:40 ` pinskia 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-06-06  1:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-06 01:26 -------
I filed PR15838 to track part of this bug which needs to be done to help fix this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|15838                       |
          Component|rtl-optimization            |tree-optimization


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


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

* [Bug tree-optimization/3713] Pointers to functions or member functions are not folded or inlined
       [not found] <20010717101600.3713.philippeb@videotron.ca>
                   ` (5 preceding siblings ...)
  2004-06-06  1:26 ` [Bug tree-optimization/3713] " pinskia at gcc dot gnu dot org
@ 2004-07-03 19:40 ` pinskia at gcc dot gnu dot org
  2005-01-23 15:15 ` steven at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-03 19:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-03 19:40 -------
*** Bug 16352 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smelkov at mph1 dot phys dot
                   |                            |spbu dot ru


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


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

* [Bug tree-optimization/3713] Pointers to functions or member functions are not folded or inlined
       [not found] <20010717101600.3713.philippeb@videotron.ca>
                   ` (6 preceding siblings ...)
  2004-07-03 19:40 ` pinskia at gcc dot gnu dot org
@ 2005-01-23 15:15 ` steven at gcc dot gnu dot org
  2005-05-08 23:58 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-01-23 15:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2005-01-23 15:14 -------
*** Bug 9079 has been marked as a duplicate of this bug. ***

-- 


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


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

* [Bug tree-optimization/3713] Pointers to functions or member functions are not folded or inlined
       [not found] <20010717101600.3713.philippeb@videotron.ca>
                   ` (7 preceding siblings ...)
  2005-01-23 15:15 ` steven at gcc dot gnu dot org
@ 2005-05-08 23:58 ` pinskia at gcc dot gnu dot org
  2005-07-04 21:54 ` pinskia at gcc dot gnu dot org
  2005-07-04 23:42 ` pcarlini at suse dot de
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-08 23:58 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 3713 depends on bug 15838, which changed state.

Bug 15838 Summary: "Inline" value of static struct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15838

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

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


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

* [Bug tree-optimization/3713] Pointers to functions or member functions are not folded or inlined
       [not found] <20010717101600.3713.philippeb@videotron.ca>
                   ` (8 preceding siblings ...)
  2005-05-08 23:58 ` pinskia at gcc dot gnu dot org
@ 2005-07-04 21:54 ` pinskia at gcc dot gnu dot org
  2005-07-04 23:42 ` pcarlini at suse dot de
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-04 21:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-04 21:54 -------
Actually the testcase above is not really valid.
The below testcase is more correct as A::p cannot be inlined as it has its address taken (stupid bug in 
the C++ front-end really).
But here is a better testcase:
    struct A
    {
            void foo()
            {
            }
    };

    int main()
    {
     void (A::* const p)() = & A::foo;
            A a;
            (a.*p)();
    }


---- cut ---
  D.1749 = (int) foo;
  if ((D.1749 & 1) != 0) goto <L0>; else goto <L5>;

hmm, we need to know the alignment of a function, which is weird.  Why is the C++ front-end 
producing code like this, oh well.

-- 


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


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

* [Bug tree-optimization/3713] Pointers to functions or member functions are not folded or inlined
       [not found] <20010717101600.3713.philippeb@videotron.ca>
                   ` (9 preceding siblings ...)
  2005-07-04 21:54 ` pinskia at gcc dot gnu dot org
@ 2005-07-04 23:42 ` pcarlini at suse dot de
  10 siblings, 0 replies; 11+ messages in thread
From: pcarlini at suse dot de @ 2005-07-04 23:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pcarlini at suse dot de  2005-07-04 23:42 -------
... alternately, one we really care about, performance-wise, could be distilled
from libstdc++-v3/testsuite/performance/27_io/fmtflags_manipulators.cc...

-- 


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


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

end of thread, other threads:[~2005-07-04 23:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20010717101600.3713.philippeb@videotron.ca>
2003-05-25  0:19 ` [Bug c++/3713] Pointers to functions or member functions are not folded pinskia@physics.uc.edu
2003-06-19 15:17 ` [Bug c++/3713] Pointers to functions or member functions are not folded or inlined pinskia at physics dot uc dot edu
2003-07-08  0:53 ` [Bug optimization/3713] " pinskia at physics dot uc dot edu
2003-07-08  0:53 ` pinskia at physics dot uc dot edu
2004-06-06  1:22 ` [Bug rtl-optimization/3713] " pinskia at gcc dot gnu dot org
2004-06-06  1:26 ` [Bug tree-optimization/3713] " pinskia at gcc dot gnu dot org
2004-07-03 19:40 ` pinskia at gcc dot gnu dot org
2005-01-23 15:15 ` steven at gcc dot gnu dot org
2005-05-08 23:58 ` pinskia at gcc dot gnu dot org
2005-07-04 21:54 ` pinskia at gcc dot gnu dot org
2005-07-04 23:42 ` pcarlini at suse dot de

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