Hi,

  It seems that both ARMTargetInfo and MipsTargetInfoBase does not override
getEHDataRegisterNumber(), thus __builtin_eh_return_data_regno() will
always returns -1 on ARM and MIPS.  The patch should fix this issue, and
the test cases are included.  Please have a look.  Thanks.

Sincerely,
Logan

Attachment: 0001-Fix-__builtin_eh_return_data_regno-for-ARM-and-MIPS.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to