From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24591 invoked by alias); 20 Oct 2008 15:04:13 -0000 Received: (qmail 23918 invoked by uid 48); 20 Oct 2008 15:02:51 -0000 Date: Mon, 20 Oct 2008 15:04:00 -0000 Message-ID: <20081020150251.23917.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/37839] st_parameter_dt has unwanted padding, is out of sync with compiler In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sje at cup dot hp 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-10/txt/msg01294.txt.bz2 ------- Comment #8 from sje at cup dot hp dot com 2008-10-20 15:02 ------- With respect to comment #5, the problem isn't changing the library side. It is changing the compiler side. The compiler, as near as I can tell, doesn't declare the structure the way the library does but builds offsets based on the type information in ioparm.def. Is is these offsets that need to change and ioparm.def can't be ifdef'ed as is. We would need to add an explicit preprocessing of the file or add code to the compiler to adjust the offsets after creating them from ioparm.def -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37839