PATCH: PR libstdc++/22284: [4.1 Regression] ia64 exception handling broken

H. J. Lu hjl@lucon.org
Fri Jul 22 19:33:00 GMT 2005


On Fri, Jul 22, 2005 at 10:22:43AM -0700, H. J. Lu wrote:
> This patch seems to fix PR 22284. This regression is introduced by
> 
> http://gcc.gnu.org/ml/gcc-patches/2005-06/msg01149.html
> 
> which sets info.ttype_base to 0. When get_ttype_entry calls
> 
>   read_encoded_value_with_base (info->ttype_encoding, info->ttype_base,
>                                 info->TType - i, &ptr);
> 
> info->ttype_base is 0 and leads to crash. This patch reverts the
> change to info->ttype_base. I am testing it on ia32, x86_64 and ia64
> now.
> 
> 
> H.J.
> ----
> 2005-07-22  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	PR middle-end/22284
> 	* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
> 	the change to info.ttype_base.
> 	

My ia64 result is at

http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg01197.html

My ia32 result is at

http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg01198.html

My x86-64 result is at

http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg01199.html

The ia64 C++ exception failures are gone and there are no C++ exception
regressions on ia32, x86-64 and ia64.


H.J.



More information about the Libstdc++ mailing list