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: PATCH: sjlj exceptions


>   In message <200012060432.XAA20026@hiauly1.hia.nrc.ca>you write:
>  > This is great news.  However, it appears that gcse_main still punts when
>   > current_function_calls_setjmp. The function expand_builtin_setjmp_setup
>   > sets this, so I think the memory reduction might be due to the gcse pass
>   > being disabled.
> Nyet.  I twiddled my compiler not to set current_function_calls_setjmp
> and ran my testcase through it.  Compile time went from 7 to 9 minutes,
> peak memory usage went from 105M to 109M.  [ Remember, without the patch
> I killed the compile after 40 minutes and 200M of memory :-0 ]

Can the test in gcse_main be removed or is there still more work needed
to handle code which uses setjmp for general purposes?

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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