[Bug target/16559] New: Incorrect code generated for function pointer

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 15 07:04:00 GMT 2004


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



More information about the Gcc-bugs mailing list