From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25671 invoked by alias); 29 Jun 2011 05:28:16 -0000 Received: (qmail 25662 invoked by uid 22791); 29 Jun 2011 05:28:15 -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; Wed, 29 Jun 2011 05:28:00 +0000 From: "PHHargrove at lbl dot gov" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/49379] warning from Mac OS X linker alignment lost for -ftree-vectorize optimization X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: PHHargrove at lbl dot gov 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: CC Message-ID: 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: Wed, 29 Jun 2011 05:28: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: 2011-06/txt/msg02792.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49379 Paul H. Hargrove changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |PHHargrove at lbl dot gov --- Comment #6 from Paul H. Hargrove 2011-06-29 05:27:36 UTC --- Following up on my previous comment, I've repeated the experiment w/ a system with more recent binutils. The result is the same: $ /tmp/gcc-4.7-20110625/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/tmp/gcc-4.7-20110625/host-x86_64-unknown-linux-gnu/gcc -O3 bug49379-2_main.c bug49379-2_aux.c /usr/bin/ld: Warning: alignment 4 of symbol `flag' in /tmp/ccIvQMTp.o is smaller than 16 in /tmp/ccP5ZCFr.o $ /tmp/gcc-4.7-20110625/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/tmp/gcc-4.7-20110625/host-x86_64-unknown-linux-gnu/gcc -O3 -fno-tree-vectorize bug49379-2_main.c bug49379-2_aux.c $ ld --version GNU ld (GNU Binutils for Ubuntu) 2.20 Copyright 2009 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. $ uname -a Linux ftg4 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux $ cat /etc/*release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=9.10 DISTRIB_CODENAME=karmic DISTRIB_DESCRIPTION="Ubuntu 9.10"