This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Per-function flag setting
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 3 Jun 2003 20:56:47 +0100
- Subject: Re: [PATCH] Per-function flag setting
- References: <20030603090019.GA19538@atrey.karlin.mff.cuni.cz>
Zdenek Dvorak wrote:-
> Hello,
>
> this patch enables you to change optimization flags on per-function
> basis, by attaching
> __attribute__ ((options ("whatever", "flags", "you", "want")))
> to it. It is quite simple and does no sanity checking at all, but I
> think it might be quite useful for debugging (locating which function
> is misscompiled).
Hi Zdenek,
Could you possibly wait until I've finished reworking the switch
handling?
Neil.