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]
Other format: [Raw text]

Re: [tree-ssa] Block merging (updated)


law@redhat.com writes:

> I didn't say we have [preserved user labels] forever.  I said it is
> policy.  There is a subtle, but important difference.

Perhaps it is time to reexamine this policy.  

The optimizers tend to move NOTE_INSN_DELETED_LABELs to completely
random locations, so setting breakpoints on the resulting labels does
nothing useful.  I'd much rather see "label optimized out" from gdb
than an apparently successful breakpoint which then fails to trigger.

On the other side of it, increasing amounts of special case code to
preserve user labels, interfering with writing optimizations
naturally, is not good.

zw


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