From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29610 invoked by alias); 15 Feb 2013 09:28:30 -0000 Received: (qmail 29553 invoked by uid 48); 15 Feb 2013 09:28:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/56335] Optimization assumes __attribute__((aligned(N))) always works. Date: Fri, 15 Feb 2013 09:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: Keywords Status Last reconfirmed Component Ever Confirmed 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 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: 2013-02/txt/msg01550.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56335 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2013-02-15 Component|tree-optimization |c Ever Confirmed|0 |1 --- Comment #1 from Richard Biener 2013-02-15 09:28:12 UTC --- That's a bug in alignment attribute processing then. It should not communicate alignments that can not be reached to the middle-end. Language lawyer question: Is __alignof__ then allowed to report a lower alignment? Or do we have to reject a testcase with a too large alignment specification as invalid?