--- Comment #12 from anlauf at gmx dot de 2006-05-05 07:09 ---
(In reply to comment #11)
I've looked at the problem. The -Wall option will set the -Wnonstd-intrinsic
option. This flag appears to trigger a warning when used with -pedantic.
It does not trigger a warning if you use
--- Comment #13 from sgk at troutmask dot apl dot washington dot edu
2006-05-05 14:25 ---
Subject: Re: gfortran: intrinsics and std=f95, inconsistency with other
compilers
On Fri, May 05, 2006 at 07:09:37AM -, anlauf at gmx dot de wrote:
--- Comment #12 from anlauf at
--- Comment #14 from sgk at troutmask dot apl dot washington dot edu
2006-05-05 17:09 ---
Subject: Re: gfortran: intrinsics and std=f95, inconsistency with other
compilers
On Fri, May 05, 2006 at 07:09:37AM -, anlauf at gmx dot de wrote:
Any chance that -std=f95 -Wall
--- Comment #15 from anlauf at gmx dot de 2006-05-05 22:44 ---
(In reply to comment #14)
How does this look to you?
Steve,
this is perfect!
Many thanks,
-ha
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20248
--- Comment #16 from kargl at gcc dot gnu dot org 2006-05-05 23:19 ---
Fixed, again. ;-)
--
kargl at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #10 from anlauf at gmx dot de 2006-05-04 07:22 ---
(In reply to comment #9)
Fixed by the additional of -fall-intrinsics option.
Steve,
the -fall-intrinsics option does not work when
in addition -Wall is specified.
The original code the leads to:
In file iargc.f90:4
--- Comment #11 from kargl at gcc dot gnu dot org 2006-05-04 22:04 ---
Harald,
I've looked at the problem. The -Wall option will set the -Wnonstd-intrinsic
option. This flag appears to trigger a warning when used with -pedantic.
It does not trigger a warning if you use it with just
--- Comment #8 from kargl at gcc dot gnu dot org 2006-05-03 21:24 ---
Subject: Bug 20248
Author: kargl
Date: Wed May 3 21:24:11 2006
New Revision: 113502
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113502
Log:
2006-03-30 Steven G. Kargl [EMAIL PROTECTED]
PR
--- Comment #9 from kargl at gcc dot gnu dot org 2006-05-03 21:26 ---
Fixed by the additional of -fall-intrinsics option.
--
kargl at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #6 from kargl at gcc dot gnu dot org 2006-03-27 00:08 ---
I have a patch for this problem. It implements a new flag that
prevents gfortran's enforcement of the Standard with respect to
gfortran's rich set of intrinsics.
program z
if (iargc() /= 0) call abort
end program
--- Comment #7 from anlauf at gmx dot de 2006-03-27 07:32 ---
kargl[228] gfc4x -o z -fall-intrinsics -std=f95 iargc.f90
kargl[229] gfc4x -o z -std=f95 iargc.f90
/var/tmp/ccqDOkrX.o(.text+0x18): In function `MAIN__':
: undefined reference to `iargc_'
collect2: ld returned 1 exit
--- Additional Comments From anlauf at hep dot tu-darmstadt dot de
2005-06-23 07:42 ---
In order to retain the advantages of having -std=f95 and
common intrinsic extensions, I suggest to enable the latter
by a suitable compiler option. g77 did this.
g95 does this with
--- Additional Comments From anlauf at hep dot tu-darmstadt dot de
2005-03-01 08:33 ---
(In reply to comment #3)
Read the F2003 standard.
5.1.2.8INTRINSIC attribute
The INTRINSIC attribute confirms that a name is the specific name (13.6) or
generic name (13.5) of an intrinsic
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-28
13:39 ---
This is expected behavor because iargc is non standard and we turn off non
standard intrisics with
-std=f95 (kinda like what gcc does for non stanadard builtins) and that iargc
is not _iargc really but
--- Additional Comments From anlauf at hep dot tu-darmstadt dot de
2005-02-28 22:11 ---
But is it consistently handled as an intrinsic?
Modify the program by adding the line
intrinsic :: iargc
and compile without -std=f95.
Now the name gets mapped to _gfortran_iargc, which is
--- Additional Comments From sgk at troutmask dot apl dot washington dot
edu 2005-03-01 01:02 ---
Read the F2003 standard.
5.1.2.8INTRINSIC attribute
The INTRINSIC attribute confirms that a name is the specific name (13.6) or
generic name (13.5) of an intrinsic procedure.
When you
16 matches
Mail list logo