This is the mail archive of the gcc-patches@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: RTL type checking


"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


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