From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29822 invoked by alias); 21 Dec 2002 16:46:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 29803 invoked by uid 71); 21 Dec 2002 16:46:01 -0000 Date: Sat, 21 Dec 2002 08:46:00 -0000 Message-ID: <20021221164601.29802.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Christian Ehrhardt" Subject: Re: c/8960: [3.2/3.3 regression] Segfault with __attribute__ ((mode (...))) in start_function:5702 Reply-To: "Christian Ehrhardt" X-SW-Source: 2002-12/txt/msg01176.txt.bz2 List-Id: The following reply was made to PR c/8960; it has been noted by GNATS. From: "Christian Ehrhardt" To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: c/8960: [3.2/3.3 regression] Segfault with __attribute__ ((mode (...))) in start_function:5702 Date: Sat, 21 Dec 2002 17:43:15 +0100 On Sat, Dec 21, 2002 at 04:36:06AM -0000, bangerth@dealii.org wrote: > Synopsis: [3.2/3.3 regression] Segfault with __attribute__ ((mode (...))) in start_function:5702 > > State-Changed-From-To: open->analyzed > State-Changed-By: bangerth > State-Changed-When: Fri Dec 20 20:36:05 2002 > State-Changed-Why: > I can confirm the crash. However, the code does also crash > 2.95 for me: > tmp/g> gcc -c x.c > x.c:2: Internal compiler error in `layout_decl', at stor-layout.c:262 > Please submit a full bug report. > See for instructions. > > So this would not qualify as a regression. Christian, could > you double check what your results are with 2.95 on your > two platforms? Ooops. One shouldn't change test cases in the very last minute :-( __attribute__ ((mode (TI))) int f (void) { } (note TI instead of SI) indead crashes on 3.2/3.3 as described and issues an error with 2.95.3 on sparc: 7227-2.c:2: no data type for mode `TI' However, this testcase results in an error with all gcc Versions on i386. regards Christian -- THAT'S ALL FOLKS!