This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/8960: [3.2/3.3 regression] Segfault with __attribute__ ((mode (...))) in start_function:5702
- From: "Christian Ehrhardt" <ehrhardt at mathematik dot uni-ulm dot de>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 21 Dec 2002 16:46:01 -0000
- Subject: Re: c/8960: [3.2/3.3 regression] Segfault with __attribute__ ((mode (...))) in start_function:5702
- Reply-to: "Christian Ehrhardt" <ehrhardt at mathematik dot uni-ulm dot de>
The following reply was made to PR c/8960; it has been noted by GNATS.
From: "Christian Ehrhardt" <ehrhardt@mathematik.uni-ulm.de>
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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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!