This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/17277] [AIX] could not catch an exception when specified -maix64


------- Additional Comments From dje at gcc dot gnu dot org  2004-09-09 17:09 -------
The correct TOC pointer is not being restored in the exception handler catch
block, so the call to __cxa_catch_begin in the shared library through glink code
is loading the function address from the wrong TOC.  The code works correctly in
32-bit mode and the algorithm is the same, so the failure is very suspicious.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-09 17:09:46
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]