From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27187 invoked by alias); 27 Oct 2008 22:20:31 -0000 Received: (qmail 26877 invoked by uid 48); 27 Oct 2008 22:19:10 -0000 Date: Mon, 27 Oct 2008 22:20:00 -0000 Message-ID: <20081027221910.26876.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/37926] Program gives wrong output (connected to char len) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg01783.txt.bz2 ------- Comment #1 from burnus at gcc dot gnu dot org 2008-10-27 22:19 ------- Confirm. Works also with NAG f95 and ifort; does not compile with openf95, ICEs with sunf95 and gfortran 4.1/4.2. D.1627 = mysize (D.1625); [...] D.1650 = MAX_EXPR ; p (pstr.23, D.1650, D.1616, mysize); D.1632 = MAX_EXPR ; if (D.1632 > 2) goto ; else goto ; I don't understand the dump. Why is D.1627 and not D.1650 used for D.1532? Any why is there is "D.1650 = MAX_EXPR ;" for the result variable. It probably does not harm, but it does not make sense either. (Still, I don't see why D.1532 is (presumably) "1" and not "3".) -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |32834 nThis| | Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-10-27 22:19:10 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37926