[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-05 Thread kargl at gcc dot gnu dot org
--- Comment #13 from kargl at gcc dot gnu dot org 2006-08-06 01:38 --- Subject: Bug 28548 Author: kargl Date: Sun Aug 6 01:38:46 2006 New Revision: 115963 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115963 Log: 2006-08-05 Steven G. Kargl [EMAIL PROTECTED] PR

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-04 Thread paul dot richard dot thomas at cea dot fr
--- Comment #11 from paul dot richard dot thomas at cea dot fr 2006-08-04 08:14 --- Steve and Martin, Hmm, but my point was that even if gfortran thinks that the __convert_* routines are elemental (as was mentioned in an earlier comment), it should still compile the code without

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-04 Thread paul dot richard dot thomas at cea dot fr
--- Comment #12 from paul dot richard dot thomas at cea dot fr 2006-08-04 09:53 --- Created an attachment (id=12016) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12016action=view) A modified fix to take account of comments I have taken Steve's patch and changed the error to a

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-03 Thread martin at mpa-garching dot mpg dot de
--- Comment #7 from martin at mpa-garching dot mpg dot de 2006-08-03 06:22 --- (In reply to comment #3) Andrew, I think it is a bug. The language in section 12.4.1.5 is somewhat convoluted and the description of PRESENT() suggest that PRESENT is special. From 12.4.1.5: An

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-03 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #8 from sgk at troutmask dot apl dot washington dot edu 2006-08-03 06:26 --- Subject: Re: [4.2 Regression]: Optional argument failed On Thu, Aug 03, 2006 at 06:22:10AM -, martin at mpa-garching dot mpg dot de wrote: My understanding of this is that the error

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-03 Thread martin at mpa-garching dot mpg dot de
--- Comment #9 from martin at mpa-garching dot mpg dot de 2006-08-03 06:40 --- (In reply to comment #8) I just submitted a patch that appears to fix the problem. The problem is __convert_* (ie internal gfortran functions) are caught by the error checking. Hmm, but my point was

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-03 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #10 from sgk at troutmask dot apl dot washington dot edu 2006-08-03 16:17 --- Subject: Re: [4.2 Regression]: Optional argument failed On Thu, Aug 03, 2006 at 06:40:21AM -, martin at mpa-garching dot mpg dot de wrote: Hmm, but my point was that even if gfortran thinks

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-02 Thread paulthomas2 at wanadoo dot fr
the problems and sort them out in one fell swoop. Best regards Paul Message du 31/07/06 02:23 De : kargl at gcc dot gnu dot org A : [EMAIL PROTECTED] Copie à : Objet : [Bug fortran/28548] [4.2 Regression]: Optional argument failed --- Comment #3 from kargl at gcc dot gnu dot org 2006-07

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-02 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-02 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2006-08-03 04:49 --- Some progress has been. Craig Powers suggested that the problem was with PRESENT but perhaps a conversion function. If I change HJ's code to use the same type and kind type parameter, then everything works fine.

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-08-02 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #6 from sgk at troutmask dot apl dot washington dot edu 2006-08-03 05:09 --- Subject: Re: [4.2 Regression]: Optional argument failed On Thu, Aug 03, 2006 at 04:49:33AM -, kargl at gcc dot gnu dot org wrote: (gdb) print *isym $28 = {name = 0x8869b61

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-07-30 Thread hjl at lucon dot org
--- Comment #1 from hjl at lucon dot org 2006-07-30 23:29 --- It is caused by http://gcc.gnu.org/ml/fortran/2006-07/msg00115.html -- hjl at lucon dot org changed: What|Removed |Added

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-07-30 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-07-30 23:53 --- From reading the error message, it looks correct as the types are different. HJL can you first read the pointed to part of the standard and see if this is true if so then gfortran is correct. --

[Bug fortran/28548] [4.2 Regression]: Optional argument failed

2006-07-30 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2006-07-31 00:23 --- Andrew, I think it is a bug. The language in section 12.4.1.5 is somewhat convoluted and the description of PRESENT() suggest that PRESENT is special. From 12.4.1.5: An optional dummy argument that is not