This is the mail archive of the gcc@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: Exception handling + Optimisation



  In message <k2soldj1x9.fsf@zero.aec.at>you write:
  > > That was the case in gcc 2.7.* only; EH with optimization is suported
  > > in 2.8.* and egcs.
  > 
  > It seems to turn off some optimizations though - e.g. I find this 
  > in the haifa scheduler/is_cfg_nonregular:
[ ... ]
Yes.  That code pre-dates accurate flow graphs.  It would be interesting
for someone to take out that code and see if their EH still works
with optimization :-)

If it doesn't, that would indicate that we've still got problems in
the cfg.

Note that EH is (in general) going to reduce the effectiveness of
many optimizations.  Basically certain transformations the compiler
used to make are not safe with EH code.

jeff


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