This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR middle-end/39834


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]