public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11197] two function pointers to the same function are not equal
       [not found] <20030615173907.11197.bruno@clisp.org>
@ 2003-06-15 17:42 ` pinskia@physics.uc.edu
  2003-06-16 18:29 ` wilson@tuliptree.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-15 17:42 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=11197



------- Additional Comments From pinskia@physics.uc.edu  2003-06-15 17:42 -------
I think this also effects ia64 (and maybe rs6000 (rtoc based ones)).


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

* [Bug c/11197] two function pointers to the same function are not equal
       [not found] <20030615173907.11197.bruno@clisp.org>
  2003-06-15 17:42 ` [Bug c/11197] two function pointers to the same function are not equal pinskia@physics.uc.edu
@ 2003-06-16 18:29 ` wilson@tuliptree.org
  2003-08-03 15:57 ` [Bug target/11197] " pinskia at physics dot uc dot edu
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: wilson@tuliptree.org @ 2003-06-16 18:29 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=11197



------- Additional Comments From wilson@tuliptree.org  2003-06-16 18:29 -------
This should not be a problem for IA-64.  The ABI was specifically designed to
avoid this problem.


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

* [Bug target/11197] two function pointers to the same function are not equal
       [not found] <20030615173907.11197.bruno@clisp.org>
  2003-06-15 17:42 ` [Bug c/11197] two function pointers to the same function are not equal pinskia@physics.uc.edu
  2003-06-16 18:29 ` wilson@tuliptree.org
@ 2003-08-03 15:57 ` pinskia at physics dot uc dot edu
  2003-08-05  2:12 ` pinskia at physics dot uc dot edu
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-03 15:57 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=11197


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


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

* [Bug target/11197] two function pointers to the same function are not equal
       [not found] <20030615173907.11197.bruno@clisp.org>
                   ` (2 preceding siblings ...)
  2003-08-03 15:57 ` [Bug target/11197] " pinskia at physics dot uc dot edu
@ 2003-08-05  2:12 ` pinskia at physics dot uc dot edu
  2003-11-16  3:46 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-05  2:12 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=11197


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code


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

* [Bug target/11197] two function pointers to the same function are not equal
       [not found] <20030615173907.11197.bruno@clisp.org>
                   ` (3 preceding siblings ...)
  2003-08-05  2:12 ` pinskia at physics dot uc dot edu
@ 2003-11-16  3:46 ` pinskia at gcc dot gnu dot org
  2004-02-13 15:31 ` 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-11-16  3:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-16 03:46 -------
I really want to say this is an ABI defect but since that thread says a work around but the current 
problem is that there is no target hook for the expension of comparisions of functions pointers.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-16 03:46:55
               date|                            |


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


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

* [Bug target/11197] two function pointers to the same function are not equal
       [not found] <20030615173907.11197.bruno@clisp.org>
                   ` (4 preceding siblings ...)
  2003-11-16  3:46 ` pinskia at gcc dot gnu dot org
@ 2004-02-13 15:31 ` pinskia at gcc dot gnu dot org
  2004-02-13 15:42 ` jejb at steeleye dot com
  2004-06-22  3:26 ` danglin at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-13 15:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-13 15:30 -------
*** Bug 14141 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jejb at steeleye dot com


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


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

* [Bug target/11197] two function pointers to the same function are not equal
       [not found] <20030615173907.11197.bruno@clisp.org>
                   ` (5 preceding siblings ...)
  2004-02-13 15:31 ` pinskia at gcc dot gnu dot org
@ 2004-02-13 15:42 ` jejb at steeleye dot com
  2004-06-22  3:26 ` danglin at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: jejb at steeleye dot com @ 2004-02-13 15:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jejb at steeleye dot com  2004-02-13 15:42 -------
Actually, these bugs are not duplicates.

11197 is complaining that the hppa (not hppa64) ABI allows the creation of
multiple function descriptors, which then miscompare.

However, the hppa64 ABI uses OPD which does *not* allow the creation of multiple
function descriptors (and hence there can be no miscompare of pointers to
function descriptors---this is like IA64).

The bug 14141 is complaining about is that the hppa64 compiler is violating the
OPD ABI rule by creating multiple function descriptors.


-- 


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


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

* [Bug target/11197] two function pointers to the same function are not equal
       [not found] <20030615173907.11197.bruno@clisp.org>
                   ` (6 preceding siblings ...)
  2004-02-13 15:42 ` jejb at steeleye dot com
@ 2004-06-22  3:26 ` danglin at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-06-22  3:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2004-06-22 03:26 -------
This is fixed in all current branches.  Function pointers are
now canonicalized for this target using a magic call into the
dynamic loader to resolve function addresses.

There is some discussion of implementing official procedure
descriptors but it is not clear at this time whether this can
be done in a compatible manner.

This is really a binutils/glibc problem.


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


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


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

end of thread, other threads:[~2004-06-22  3:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030615173907.11197.bruno@clisp.org>
2003-06-15 17:42 ` [Bug c/11197] two function pointers to the same function are not equal pinskia@physics.uc.edu
2003-06-16 18:29 ` wilson@tuliptree.org
2003-08-03 15:57 ` [Bug target/11197] " pinskia at physics dot uc dot edu
2003-08-05  2:12 ` pinskia at physics dot uc dot edu
2003-11-16  3:46 ` pinskia at gcc dot gnu dot org
2004-02-13 15:31 ` pinskia at gcc dot gnu dot org
2004-02-13 15:42 ` jejb at steeleye dot com
2004-06-22  3:26 ` danglin 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).