This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR middle-end/39834
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 8 Jun 2009 11:05:32 -0700
- Subject: Re: PR middle-end/39834
- References: <20090608174737.GB32152@kam.mff.cuni.cz>
On Mon, Jun 8, 2009 at 10:47 AM, Jan Hubicka<hubicka@ucw.cz> wrote:
> Hi,
> this problem here was that in some cases transform hook was called
> several times on single function body. ?This is not valid.
>
> Honza
>
> ? ? ? ?PR middle-end/39834
> ? ? ? ?* cgraphunit.c (save_inline_function_body): Do not copy transform hooks
> ? ? ? ?for saved inline bodies.
> ? ? ? ?(do_per_function): Do not add the hoks multiple times for given function.
>
> void quit_mined ();
> void bottom_line ();
> typedef enum { False, True } FLAG;
> inline void
> nextfile (FLAG exitiflast)
> {
> ?if (exitiflast)
> ? ?quit_mined ();
> ?else
> ? ?bottom_line ();
> ?nextfile (True);
> }
Can you add thus testcase?
Thanks.
--
H.J.