public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/46146] New: Bessel and kind=8 integer arguments
@ 2010-10-23 10:16 tkoenig at gcc dot gnu.org
  2010-10-24 16:07 ` [Bug fortran/46146] " tkoenig at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2010-10-23 10:16 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Bessel and kind=8 integer arguments
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tkoenig@gcc.gnu.org
            Blocks: 32770


Discovered while re-checking PR 32770, bessel_5.f90 from the test suite:

ig25@linux-fd1f:~/Krempel/8> gfortran -fdefault-integer-8 bessel_5.f90
bessel_5.f90:64.50:

if (any (BESSEL_YN(0, 10, 0.0) /= [ (BESSEL_YN(i, 0.0), i = 0, 10) ])) &
                                                  1
Error: Result of BESSEL_YN overflows its kind at (1)
bessel_5.f90:64.26:

if (any (BESSEL_YN(0, 10, 0.0) /= [ (BESSEL_YN(i, 0.0), i = 0, 10) ])) &
                          1
Error: Result of BESSEL_YN is -INF at (1)

The same error also occurs when changing i in the test case to kind=8.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug fortran/46146] Bessel and kind=8 integer arguments
  2010-10-23 10:16 [Bug fortran/46146] New: Bessel and kind=8 integer arguments tkoenig at gcc dot gnu.org
@ 2010-10-24 16:07 ` tkoenig at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2010-10-24 16:07 UTC (permalink / raw)
  To: gcc-bugs

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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2010-10-24 16:06:47 UTC ---
Seems that -fdefault-no-range-check is omitted when
specifying -fdefault-integer-8 via dejagnu.

Strange.

Anyway, this is invalid.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-24 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-23 10:16 [Bug fortran/46146] New: Bessel and kind=8 integer arguments tkoenig at gcc dot gnu.org
2010-10-24 16:07 ` [Bug fortran/46146] " tkoenig at gcc dot gnu.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).