This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24447] dimag_ undefined error with -std=f95
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2005 22:50:41 -0000
- Subject: [Bug fortran/24447] dimag_ undefined error with -std=f95
- References: <bug-24447-8649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from kargl at gcc dot gnu dot org 2005-10-19 22:50 -------
(In reply to comment #2)
> (In reply to comment #1)
> > dimag is part of the fortran 95 standard, right?
> >
> > If not this is not a bug (or really a dup another one which says that gfortran
> > is not constainate with other fortran compilers with intrinsics).
> >
> Yes, dimag is part of fortran95.
No, it is not specified in the Fortran 95 standard.
See 13.13 "Specific Names for Intrinsic Functions"
Change your code to use AIMAG.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu dot org
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24447