This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/1714: ice in process_init_element __attribute__(__aligned__)
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/1714: ice in process_init_element __attribute__(__aligned__)
- From: schmid at snake dot iap dot physik dot tu-darmstadt dot de
- Date: Sat, 20 Jan 2001 19:52:52 +0100
>Number: 1714
>Category: c
>Synopsis: ice in process_init_element __attribute__(__aligned__)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sat Jan 20 10:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Peter Schmid
>Release: 2.97 20010118 (experimental)
>Organization:
TU Darmstadt
>Environment:
System: Linux kiste 2.4.0 #25 Tue Jan 16 01:22:25 CET 2001 i686 unknown
Architecture: i686
glibc 2.1.3
GNU assembler version 2.10.91 (i686-pc-linux-gnu) using BFD version 2.10.1.0.4
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --enable-nls --enable-shared
>Description:
When the source file tina.c is compiled by gcc-20010118, an internal
compiler error occurs. The file tina.c is a stripped down version of the
file arch/i386/kernel/init_task.c form the linux-2.4.0 kernel sources.
>How-To-Repeat:
struct a {
};
struct a b[1] __attribute__((__aligned__(1 << 5), __section__(".data"))) =
{ [0 ... 1 -1] = {} };
preprocessed source file tina.i
# 1 "tina.c"
struct a {
};
struct a b[1] __attribute__((__aligned__(1 << 5), __section__(".data"))) =
{ [0 ... 1 -1] = {} };
gcc -Wall -c tina.c -save-temps
tina.c:5: Internal compiler error in process_init_element, at c-typeck.c:6704
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: