From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26186 invoked by alias); 17 Oct 2010 15:42:40 -0000 Received: (qmail 26177 invoked by uid 22791); 17 Oct 2010 15:42:40 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID,TW_CP X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 17 Oct 2010 15:42:36 +0000 From: "dave at hiauly1 dot hia.nrc.ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45636] Failed to fold simple Fortran string X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dave at hiauly1 dot hia.nrc.ca X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sun, 17 Oct 2010 15:42:00 -0000 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: 2010-10/txt/msg01403.txt.bz2 Message-ID: <20101017154200.45GoHbZkfHIVuZXCi5sNkxyQ2v93riWAjmZaNLYR9Jo@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45636 --- Comment #11 from dave at hiauly1 dot hia.nrc.ca 2010-10-17 15:41:54 UTC --- In addition, although gcc.c-torture/execute/pr45636.c doesn't fail on hppa-unknown-linux-gnu, it does fail on hpux: Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr45636.c -w -O0 -lm -o /test/gnu/gcc/objdir/gcc/testsuite/gcc/pr45636.x0 (timeout = 300) /usr/ccs/bin/ld: Unsatisfied symbols: mempcpy (first referenced in /var/tmp//ccT7jpSk.o) (code) Looking at the hppa-linux .s, there are still many calls to various 'mem*' functions. I don't see any on x86. Dave