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]

Re: Branch breakage on IRIX 6.5


On Mon, May 14, 2001 at 12:52:14AM -0700, Mark Mitchell wrote:
> 
> On IRIX, last night's bootstrap yields:
> 
>   /users/joldham/pooma/dev7/gcc/libstdc++-v3/libsupc++/eh_personality.cc: In 
>   function `_Unwind_Reason_Code __gxx_personality_v0(int, int, long long 
>   unsigned int, _Unwind_Exception*, _Unwind_Context*)':
>   /users/joldham/pooma/dev7/gcc/libstdc++-v3/libsupc++/eh_personality.cc:393: `__builtin_eh_return_data_regno'
>    undeclared (first use this function)

Richard,

	Would you please look at
libstdc++-v3/libsupc++/eh_personality.cc, lines 126--132?  For
__gxx_personality_v0, what should the value of
`__builtin_eh_return_data_regno(x)' be?  Perhaps, the following is the
right patch?  It permits compilation to continue.

Index: eh_personality.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/libsupc++/eh_personality.cc,v
retrieving revision 1.2.2.1
diff -c -p -r1.2.2.1 eh_personality.cc
*** eh_personality.cc	2001/05/13 07:10:26	1.2.2.1
--- eh_personality.cc	2001/05/14 15:26:23
*************** check_exception_spec (lsda_header_info *
*** 128,133 ****
--- 128,134 ----
  #define __builtin_eh_return_data_regno(x) x
  #else
  #define PERSONALITY_FUNCTION	__gxx_personality_v0
+ #define __builtin_eh_return_data_regno(x) x
  #endif
  
  extern "C" _Unwind_Reason_Code

When you tell me the correct solution, I can test it.

Thanks,
Jeffrey D. Oldham
oldham@codesourcery.com


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