public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20786] New: Can't use AINT intrinsic with KIND parameter
@ 2005-04-06  9:54 fxcoudert at gcc dot gnu dot org
  2005-04-06 15:12 ` [Bug fortran/20786] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-04-06  9:54 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

The following code is valid:

$ cat aint_mismatch.f 
      implicit none
      real(4) r
      r = aint (r,kind=8)
      end
$ gfortran aint_mismatch.f
aint_mismatch.f: In function ‘MAIN__’:
aint_mismatch.f:3: internal compiler error: in emit_move_insn, at expr.c:3085

The ICE disappears if kind=4 or if r is a real(8). This should be easy to fix,
since other similar intrinsics (such as ANINT) doesn't exhibit such ICE.

-- 
           Summary: Can't use AINT intrinsic with KIND parameter
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 19292
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20786


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-20786-10259@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-10-12  0:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-06  9:54 [Bug fortran/20786] New: Can't use AINT intrinsic with KIND parameter fxcoudert at gcc dot gnu dot org
2005-04-06 15:12 ` [Bug fortran/20786] " pinskia at gcc dot gnu dot org
2005-05-23 18:25 ` jblomqvi at cc dot hut dot fi
2005-06-11 20:07 ` jblomqvi at cc dot hut dot fi
     [not found] <bug-20786-10259@http.gcc.gnu.org/bugzilla/>
2005-10-11 23:58 ` cvs-commit at gcc dot gnu dot org
2005-10-12  0:31 ` cvs-commit at gcc dot gnu dot org
2005-10-12  0:33 ` kargl at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).