This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16559] New: Incorrect code generated for function pointer
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2004 07:04:38 -0000
- Subject: [Bug target/16559] New: Incorrect code generated for function pointer
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Under certain conditions, gcc 3.3 generates
addl r14 = @ltoffx(os_boot_rendez#), r1
...
ld8.mov r14 = [r14], os_boot_rendez#
to access the function, os_boot_rendez, which is incorrect.
--
Summary: Incorrect code generated for function pointer
Product: gcc
Version: 3.3.5
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl at lucon dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ia64-unknown-linux-gnu
GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16559