From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15650 invoked by alias); 28 Aug 2013 23:02:09 -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 Received: (qmail 15618 invoked by uid 48); 28 Aug 2013 23:02:06 -0000 From: "tammy at Cadence dot COM" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58208] deque 32-bit "-O3" bug Date: Wed, 28 Aug 2013 23:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tammy at Cadence dot COM X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg01507.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58208 --- Comment #12 from Tammy Hsu --- I installed the required i686 rpms on the Fedora 19 system, and the testcase works without crash (using the /bin/g++). I then built gcc481 on the Fedora 19 system, the testcase also works fine when I compile/link it with my own build gcc481. So it may really be a glibc compatibility issue (as Mikael said in comment 7). >>From Mikael and I have done: Not working if build gcc481 on: RHEL 5.5 - glibc 2.5 CentOS 5.8 - glibc 2.5 (done by Mikael) RHEL 6.3 - glibc 2.12 Working if build gcc481 on Fedora 17 - glibc 2.15 (done by Mikael) Fedora 19 - glibc-2.17 Also if I use the gcc481 built on RHEL 5.5 or RHEL 6.3, and run on Fedora 19, the testcase works also. So something changed between gcc4.7.3 and gcc 4.8.1 that causes "-ftree-vectorize" optimization not work well (32bit only) with older glibc.