public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/21632] New: ICE with small model attribute on ia64
@ 2005-05-17 20:29 jakub at gcc dot gnu dot org
2005-05-17 21:12 ` [Bug target/21632] " jakub at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-05-17 20:29 UTC (permalink / raw)
To: gcc-bugs
struct S
{
void *s[256];
};
struct T
{
long t[23];
struct S *u;
};
extern struct T
#ifdef __ia64__
__attribute__((model (small)))
#endif
v;
void *
foo (void)
{
return v.u->s[0];
}
ICEs on gcc-4_0-branch at -O2, but did not ICE before the PR target/21412 patch
was checked in.
The only difference appears in *.flow2, where older GCC split
(insn 12 18 13 0 (set (reg/f:DI 14 r14 [344])
(const:DI (plus:DI (symbol_ref:DI ("v") [flags 0xc0] <var_decl
0x2aaaad2f30d0 v>)
(const_int 184 [0xb8])))) 5 {*movdi_internal} (nil)
(expr_list:REG_EQUIV (const:DI (plus:DI (symbol_ref:DI ("v") [flags 0xc0]
<var_decl 0x2aaaad2f30d0 v>)
(const_int 184 [0xb8])))
(nil)))
into
(insn 35 18 36 0 (set (reg/f:DI 14 r14 [344])
(symbol_ref:DI ("v") [flags 0xc0] <var_decl 0x2aaaad2f30d0 v>)) 5
{*movdi_internal} (nil)
(nil))
(insn 36 35 13 0 (set (reg/f:DI 14 r14 [344])
(plus:DI (reg/f:DI 14 r14 [344])
(const_int 184 [0xb8]))) 101 {adddi3} (nil)
(nil))
while current 4.0 branch keeps it unsplitted, so it aborts later on in
movdi_internal's
if (which_alternative == 2 && ! TARGET_NO_PIC
&& symbolic_operand (operands[1], VOIDmode))
abort ();
--
Summary: ICE with small model attribute on ia64
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
org
GCC target triplet: ia64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21632
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21632] ICE with small model attribute on ia64
2005-05-17 20:29 [Bug target/21632] New: ICE with small model attribute on ia64 jakub at gcc dot gnu dot org
@ 2005-05-17 21:12 ` jakub at gcc dot gnu dot org
2005-05-18 5:45 ` rth at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-05-17 21:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jakub at gcc dot gnu dot org 2005-05-17 21:12 -------
Particularly the change that matters is ia64_expand_load_address, which no
longer splits it. src is small_addr_symbolic_operand in this case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21632
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21632] ICE with small model attribute on ia64
2005-05-17 20:29 [Bug target/21632] New: ICE with small model attribute on ia64 jakub at gcc dot gnu dot org
2005-05-17 21:12 ` [Bug target/21632] " jakub at gcc dot gnu dot org
@ 2005-05-18 5:45 ` rth at gcc dot gnu dot org
2005-05-18 16:51 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-18 5:45 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-05-18 05:45:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21632
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21632] ICE with small model attribute on ia64
2005-05-17 20:29 [Bug target/21632] New: ICE with small model attribute on ia64 jakub at gcc dot gnu dot org
2005-05-17 21:12 ` [Bug target/21632] " jakub at gcc dot gnu dot org
2005-05-18 5:45 ` rth at gcc dot gnu dot org
@ 2005-05-18 16:51 ` cvs-commit at gcc dot gnu dot org
2005-05-18 17:33 ` cvs-commit at gcc dot gnu dot org
2005-05-18 17:42 ` rth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-18 16:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-18 16:51 -------
Subject: Bug 21632
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: rth@gcc.gnu.org 2005-05-18 16:50:58
Modified files:
gcc : ChangeLog
gcc/config/ia64: ia64.c
Added files:
gcc/testsuite/gcc.target/ia64: small-addr-1.c
Log message:
PR target/21632
* config/ia64/ia64.c (ia64_extra_constraint) <'T'>: Use
small_addr_symbolic_operand.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.252&r2=2.7592.2.253
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.347.2.6&r2=1.347.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.target/ia64/small-addr-1.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21632
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21632] ICE with small model attribute on ia64
2005-05-17 20:29 [Bug target/21632] New: ICE with small model attribute on ia64 jakub at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-05-18 16:51 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-18 17:33 ` cvs-commit at gcc dot gnu dot org
2005-05-18 17:42 ` rth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-18 17:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-18 17:33 -------
Subject: Bug 21632
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-05-18 17:33:33
Modified files:
gcc : ChangeLog
gcc/config/ia64: ia64.c
Added files:
gcc/testsuite/gcc.target/ia64: small-addr-1.c
Log message:
PR target/21632
* config/ia64/ia64.c (ia64_extra_constraint) <'T'>: Use
small_addr_symbolic_operand.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8844&r2=2.8845
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.c.diff?cvsroot=gcc&r1=1.364&r2=1.365
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.target/ia64/small-addr-1.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21632
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21632] ICE with small model attribute on ia64
2005-05-17 20:29 [Bug target/21632] New: ICE with small model attribute on ia64 jakub at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-05-18 17:33 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-18 17:42 ` rth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-18 17:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-05-18 17:42 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21632
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-18 17:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-17 20:29 [Bug target/21632] New: ICE with small model attribute on ia64 jakub at gcc dot gnu dot org
2005-05-17 21:12 ` [Bug target/21632] " jakub at gcc dot gnu dot org
2005-05-18 5:45 ` rth at gcc dot gnu dot org
2005-05-18 16:51 ` cvs-commit at gcc dot gnu dot org
2005-05-18 17:33 ` cvs-commit at gcc dot gnu dot org
2005-05-18 17:42 ` rth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).