public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19904] Division by zero leads to error
       [not found] <bug-19904-7427@http.gcc.gnu.org/bugzilla/>
@ 2006-06-08  1:17 ` jvdelisle at gcc dot gnu dot org
  2006-06-18  6:42 ` jvdelisle at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-06-08  1:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jvdelisle at gcc dot gnu dot org  2006-06-08 01:10 -------
This bug is related to 19310


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |19310
   Target Milestone|---                         |4.2.0


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


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

* [Bug fortran/19904] Division by zero leads to error
       [not found] <bug-19904-7427@http.gcc.gnu.org/bugzilla/>
  2006-06-08  1:17 ` [Bug fortran/19904] Division by zero leads to error jvdelisle at gcc dot gnu dot org
@ 2006-06-18  6:42 ` jvdelisle at gcc dot gnu dot org
  2006-06-18  9:35 ` [Bug fortran/19904] [4.1 Only] " jvdelisle at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-06-18  6:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jvdelisle at gcc dot gnu dot org  2006-06-18 06:42 -------
Subject: Bug 19904

Author: jvdelisle
Date: Sun Jun 18 06:42:26 2006
New Revision: 114753

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114753
Log:
2006-06-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR fortran/19310
        PR fortran/19904
        * gfortran.dg/real_const_3.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/real_const_3.f90
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug fortran/19904] [4.1 Only] Division by zero leads to error
       [not found] <bug-19904-7427@http.gcc.gnu.org/bugzilla/>
  2006-06-08  1:17 ` [Bug fortran/19904] Division by zero leads to error jvdelisle at gcc dot gnu dot org
  2006-06-18  6:42 ` jvdelisle at gcc dot gnu dot org
@ 2006-06-18  9:35 ` jvdelisle at gcc dot gnu dot org
  2006-06-28  5:40 ` jvdelisle at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-06-18  9:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jvdelisle at gcc dot gnu dot org  2006-06-18 06:49 -------
Fixed on 4.2


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Division by zero leads to   |[4.1 Only] Division by zero
                   |error                       |leads to error


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


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

* [Bug fortran/19904] [4.1 Only] Division by zero leads to error
       [not found] <bug-19904-7427@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-06-18  9:35 ` [Bug fortran/19904] [4.1 Only] " jvdelisle at gcc dot gnu dot org
@ 2006-06-28  5:40 ` jvdelisle at gcc dot gnu dot org
  2006-06-28  5:41 ` jvdelisle at gcc dot gnu dot org
  2006-06-28  7:51 ` jvdelisle at gcc dot gnu dot org
  5 siblings, 0 replies; 6+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-06-28  5:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jvdelisle at gcc dot gnu dot org  2006-06-28 05:37 -------
Subject: Bug 19904

Author: jvdelisle
Date: Wed Jun 28 05:36:08 2006
New Revision: 115048

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115048
Log:
2006-06-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR fortran/19310
        PR fortran/19904
        * arith.c (gfc_range_check): Return ARITH_OK if -fno-range-check. Add
        return of ARITH_NAN, ARITH_UNDERFLOW, and ARITH_OVERFLOW.
        (gfc_arith_divide): If -fno-range-check allow mpfr to divide by zero.
        * gfortran.h (gfc_option_t): Add new flag.
        * invoke.texi: Document new flag.
        * lang.opt: Add option -frange-check.
        * options.c (gfc_init_options): Initialize new flag.
        (gfc_handle_options): Set flag if invoked.
        * simplify.c (range_check): Add error messages for
        overflow, underflow, and other errors.
        * trans-const.c (gfc_conv_mpfr_to_tree): Build NaN and Inf from mpfr
        result.

Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/arith.c
    branches/gcc-4_1-branch/gcc/fortran/gfortran.h
    branches/gcc-4_1-branch/gcc/fortran/invoke.texi
    branches/gcc-4_1-branch/gcc/fortran/lang.opt
    branches/gcc-4_1-branch/gcc/fortran/options.c
    branches/gcc-4_1-branch/gcc/fortran/simplify.c
    branches/gcc-4_1-branch/gcc/fortran/trans-const.c


-- 


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


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

* [Bug fortran/19904] [4.1 Only] Division by zero leads to error
       [not found] <bug-19904-7427@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-06-28  5:40 ` jvdelisle at gcc dot gnu dot org
@ 2006-06-28  5:41 ` jvdelisle at gcc dot gnu dot org
  2006-06-28  7:51 ` jvdelisle at gcc dot gnu dot org
  5 siblings, 0 replies; 6+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-06-28  5:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jvdelisle at gcc dot gnu dot org  2006-06-28 05:40 -------
Subject: Bug 19904

Author: jvdelisle
Date: Wed Jun 28 05:39:07 2006
New Revision: 115049

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115049
Log:
2006-06-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR fortran/19310
        PR fortran/19904
        * gfortran.dg/real_const_3.f90: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/real_const_3.f90
Modified:
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug fortran/19904] [4.1 Only] Division by zero leads to error
       [not found] <bug-19904-7427@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2006-06-28  5:41 ` jvdelisle at gcc dot gnu dot org
@ 2006-06-28  7:51 ` jvdelisle at gcc dot gnu dot org
  5 siblings, 0 replies; 6+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-06-28  7:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jvdelisle at gcc dot gnu dot org  2006-06-28 05:52 -------
Fixed on 4.1 branch now.


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2006-06-28  5:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19904-7427@http.gcc.gnu.org/bugzilla/>
2006-06-08  1:17 ` [Bug fortran/19904] Division by zero leads to error jvdelisle at gcc dot gnu dot org
2006-06-18  6:42 ` jvdelisle at gcc dot gnu dot org
2006-06-18  9:35 ` [Bug fortran/19904] [4.1 Only] " jvdelisle at gcc dot gnu dot org
2006-06-28  5:40 ` jvdelisle at gcc dot gnu dot org
2006-06-28  5:41 ` jvdelisle at gcc dot gnu dot org
2006-06-28  7:51 ` jvdelisle 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).