This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -fno-unit-at-a-time broken
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: jh at suse dot cz
- Date: Mon, 25 Apr 2005 17:58:50 -0700
- Subject: Re: -fno-unit-at-a-time broken
- References: <20050426003440.GA29195@redhat.com>
On Mon, Apr 25, 2005 at 05:34:40PM -0700, Richard Henderson wrote:
> Some recent change has broken -fno-unit-at-a-time on mainline.
> Which, I'll remind folks, is *still* the default at -O1.
>
> Test case:
>
> static inline void foo(void) { }
> void (*bar) (void);
> void baz(void) { bar = foo; }
>
> We're no longer emitting foo out of line.
Honza, this is caused directly by
2005-04-09 Jan Hubicka <jh@suse.cz>
Forgotten hunk from my last merge patch:
* final.c (output_addr_const): Do not call mark_referenced.
I've reverted this patch. You can look into what else what might
have been suppsed to accompany this, but as-is, this is clearly wrong.
r~