This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Branch breakage on IRIX 6.5
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: Branch breakage on IRIX 6.5
- From: Jeffrey Oldham <oldham at codesourcery dot com>
- Date: Mon, 14 May 2001 08:31:23 -0700
- Cc: Richard Henderson <rth at cygnus dot com>, gcc-bugs at gcc dot gnu dot org, David dot Billinghurst at riotinto dot com, Jeffrey Oldham <oldham at codesourcery dot com>
- Organization: CodeSourcery LLC
- References: <20010514005214Y.mitchell@codesourcery.com>
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