From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27524 invoked by alias); 8 Jun 2006 00:06:11 -0000 Received: (qmail 27226 invoked by uid 48); 8 Jun 2006 00:05:30 -0000 Date: Thu, 08 Jun 2006 00:11:00 -0000 Message-ID: <20060608000530.27225.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/19310] unnecessary error for overflowing results In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kargl at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg00863.txt.bz2 List-Id: ------- Comment #3 from kargl at gcc dot gnu dot org 2006-06-08 00:05 ------- (In reply to comment #2) > I would like to work on this one. The range check is only looking for ARITH_OK > when it could also see ARITH_UNDERFLOW or ARITH_OVERFLOW. > Jerry, There is another PR about allowing "real, parameter :: inf = 1. / 0.". In that PR it was suggested to add a -fallow-inf-nan option. I think you should look into this route for this PR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19310