This is the mail archive of the
mailing list for the GCC project.
Re: Enable -funit-at-a-time at -O1
Zack Weinberg <email@example.com> wrote:
>> Ideally we would rewrite crtstuff to not require this kind of hacks, but
>> last time I tried it seemed bit involved (and required section
>> attributes working on more targets that they did)
> Similar code appears in glibc (csu/ directory) and I suspect in *BSD libc
> well - we can't just remove all intra-GCC need for this sort of hack and
> then call it unnecessary.
If we provide the needed guidelines and support for fixing the hacks (e.g.
section attributes or whatever), then we can have a deprecation cycle and
remove the option altogether. Either that, or Dan's way of supporting the
hack in the unit-at-a-time mode. Both ways seem reasonable to eventually
remove non-unit-at-a-time bits from the compiler.