This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c/1714: ice in process_init_element __attribute__(__aligned__)



>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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]