This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: labels-2.c / -Os fix
- To: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Subject: Re: labels-2.c / -Os fix
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 27 Apr 2000 03:25:27 -0700
- Cc: egcs-patches at egcs dot cygnus dot com
- References: <20000426173751.L14176@atrey.karlin.mff.cuni.cz>
On Wed, Apr 26, 2000 at 05:37:51PM +0200, Jan Hubicka wrote:
> The -Os failure at labels-2.c is caused by storing rtx containing LABEL_REF
> into const pool.
For what target is this? I ask because I don't see this fail
on x86, which is where most of your other work is...
> ... how to handle label_refs correctly, so I am making them all to
> appear different. This is safe and don't hurt much IMO.
Seems like output_constant_def couldn't really do it's job
this way? Perhaps you can rely on pointer equivalence of
the referenced CODE_LABEL rather than on the UID?
r~