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: [Patch, fortran] PR54107 ICE on recursive interface


Mikael,

The patch itself is good for trunk - it's rather clever, in fact :-)

What's happened to the testcase?  There are still lots of commented
out lines that I presume are fixed.

Cheers

Paul

On 7 February 2013 23:28, Mikael Morin <mikael.morin@sfr.fr> wrote:
> Hello,
>
> this is the last remaining patch to fix an infinite recursion when
> creating the middle-end type of a function having a dummy
> procedure whose interface is the function itself.
> This patch is a slight variation of the comment 4 fix that was attached
> to the PR.  It sets the procedure's backend_decl to error_mark_node, so
> that the recursion can be detected and handled in the next iteration.  I
> don't think the middle-end supports recursive function types, so the
> middle-end types for recursive dummy procedure are actually variadic
> procedure types.
>
> regression tested on x86_64-unknown-linux-gnu. OK for trunk?
>
>



--
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy


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