This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29284] [4.1/4.2 Regression] ICE for optional subroutine argument
- From: "paulthomas2 at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Oct 2006 19:59:06 -0000
- Subject: [Bug fortran/29284] [4.1/4.2 Regression] ICE for optional subroutine argument
- References: <bug-29284-13327@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from paulthomas2 at wanadoo dot fr 2006-10-01 19:59 -------
Subject: Re: [4.1/4.2 Regression] ICE for optional subroutine
argument
Dear All,
>PS: Just curious..
>Why isn't this part of gfc_conv_function_call() coded to check for fsym once
>and only then have the additional checks?
>
>if (fsym)
> {
> CHECKS_NOT_INVOLVING_e;
> if (e)
> {
> CHECK_e_STUFF;
> }
> }
>
>It doesn't look like the order of most of these is significant since very
>different things are checked, so there should be no risk in writing this in a
>sleek manner.
>
>
>
>
...because it grew like Topsy. An occasion was always going to occur,
like now, when it would get rationlised.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29284