From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17901 invoked by alias); 13 Feb 2008 19:35:53 -0000 Received: (qmail 17769 invoked by uid 48); 13 Feb 2008 19:35:10 -0000 Date: Wed, 13 Feb 2008 19:35:00 -0000 Message-ID: <20080213193510.17768.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/35186] Ada doesn't follow i386 psABI In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail 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/msg01431.txt.bz2 ------- Comment #2 from hjl dot tools at gmail dot com 2008-02-13 19:35 ------- maybe_pad_type has if (align == TYPE_ALIGN (type)) align = 0; if (align == 0 && !size) return type; ... record = make_node (RECORD_TYPE); That is Ada expects 8 byte alignment for DImode. But TYPE_ALIGN (type), which conforms to psABI, is 4 byte for DImode. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35186