From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22181 invoked by alias); 5 Nov 2010 11:22:45 -0000 Received: (qmail 22172 invoked by uid 22791); 5 Nov 2010 11:22:44 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Fri, 05 Nov 2010 11:22:40 +0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/46312] New: gcc.dg/vec-scal-opt2.c fails for ARM targets. X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 05 Nov 2010 11:22: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-11/txt/msg00621.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46312 Summary: gcc.dg/vec-scal-opt2.c fails for ARM targets. Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: ramana@gcc.gnu.org CC: rguenth@gcc.gnu.org Host: x86_64-unknown-linux-gnu Target: arm-linux-gnueabi Build: x86_64-unknown-linux-gnu Hi, This test fails for ARM targets configured in the following manner - /home/ramana/cross-build/src/trunk/configure --target=arm-none-linux-gnueabi --with-cpu=cortex-a9 --with-fpu=neon --with-float=softfp The dump file doesn't contain << 2 and hence the test fails. This fails right from : r166303 for ARM Author: rguenth Date: Thu Nov 4 10:54:33 2010 New Revision: 166303 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166303 Log: 2010-11-04 Artjoms Sinkarovs Richard Guenther * passes.c (init_optimization_passes): Move veclower after SSA. * tree-vect-generic.c (uniform_vector_p): New function. (expand_vector_operations_1): Handle conversion. (pass_lower_vector): Update SSA form. testsuite/ * gcc.dg/vec-scal-opt.c: New testcase. * gcc.dg/vec-scal-opt1.c: New testcase. * gcc.dg/vec-scal-opt2.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/vec-scal-opt.c trunk/gcc/testsuite/gcc.dg/vec-scal-opt1.c trunk/gcc/testsuite/gcc.dg/vec-scal-opt2.c Modified: trunk/gcc/ChangeLog trunk/gcc/passes.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-generic.c cheers Ramana