Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 158001 - ia64 ICE
Summary: ia64 ICE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 4
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-05-17 18:51 UTC by Dave Jones
Modified: 2015-01-04 22:19 UTC (History)
1 user (show)

Fixed In Version: 4.0.0-7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-05-19 07:49:37 UTC
Type: ---

Attachments (Terms of Use)
preprocessed output (577.47 KB, text/plain)
2005-05-17 18:56 UTC, Dave Jones
no flags Details

System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 21632 0 None None None Never

Description Dave Jones 2005-05-17 18:51:46 UTC
natasha.build exhibits this whilst building latest kernel..

include/asm/mmu_context.h:67: warning: type qualifiers ignored on function
return type
arch/ia64/mm/init.c: In function 'check_pgt_cache':
arch/ia64/mm/init.c:105: internal compiler error: in output_5, at insn-output.c:107
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
  CHK     include/linux/compile.h
Preprocessed source stored into /tmp/ccdoEB8k.out file, please attach this to
your bugreport.
make[1]: *** [arch/ia64/mm/init.o] Error 1
make: *** [arch/ia64/mm] Error 2
make: *** Waiting for unfinished jobs....

Comment 1 Dave Jones 2005-05-17 18:56:44 UTC
Created attachment 114478 [details]
preprocessed output

Comment 2 Jakub Jelinek 2005-05-17 19:41:12 UTC
Simplified testcase that ICEs at -O2:
struct S
  void *s[256];

struct T
  long t[23];
  struct S *u;

extern struct T
#ifdef __ia64__
__attribute__((model (small)))

void *
foo (void)
  return v.u->s[0];

Comment 3 Dave Jones 2005-05-18 00:24:30 UTC
the bizarre thing -- this code hasnt changed recently, and it has built fine in
the previous build. Did we recently upgrade the gcc in the buildroot ?

Comment 4 Jakub Jelinek 2005-05-19 07:49:37 UTC
Should be fixed in gcc-4.0.0-7.

Note You need to log in before you can comment on or make changes to this bug.