From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19150 invoked by alias); 26 Feb 2008 23:11:44 -0000 Received: (qmail 19039 invoked by uid 48); 26 Feb 2008 23:11:00 -0000 Date: Tue, 26 Feb 2008 23:11:00 -0000 Subject: [Bug c++/35386] New: Invalid vector code generated with -O2 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kes at smolek dot com" 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-02/txt/msg02794.txt.bz2 A simple vector addition loop fails to generate any addition code when -O2 optimization is used; the loop is essentially empty. -- Summary: Invalid vector code generated with -O2 Product: gcc Version: 4.2.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kes at smolek dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35386