RTL type checking

Zack Weinberg zack@bitmover.com
Tue Aug 31 22:41:00 GMT 1999


"Kaveh R. Ghazi" wrote:
>  > From: Zack Weinberg <zack@bitmover.com>
>  > 
>  > This patch implements type checking for RTL structures, and fixes some
>  > (not all!) of the bugs thus exposed.  On x86, bootstrap gets as far as
>  > the EH support in libgcc.a before aborting with a bug I am unable to fix.
>  > 
>  > If you bootstrap with gcc, the stage1 compiler is mind-bogglingly slow
>  > unless you force optimization back on.  I never get to stage2, so I
>  > dunno how slow it is.
> 
> 	How about adding "&& __defined (__OPTIMIZE__)" to the
> activation checks so it isn't used in stage1 if someone forgets to
> force optimizing?

Might be a good idea.  On the other hand, I frequently find I want to
run a test case under the debugger with an unoptimized cc1, and I'd
want the checks on then.

zw



More information about the Gcc-patches mailing list