public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/16357] New: ICE copying 7 bytes between extern char[]s
@ 2004-07-04 7:50 rsandifo at gcc dot gnu dot org
2004-07-04 7:51 ` [Bug target/16357] " rsandifo at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2004-07-04 7:50 UTC (permalink / raw)
To: gcc-bugs
Compiling the following:
-----------------------------------------------------------
extern char foo[], bar[];
void f (void) { memcpy (foo, bar, 7); }
-----------------------------------------------------------
with mipsisa64-elf causes an ICE:
-----------------------------------------------------------
/tmp/foo.c: In function `f':
/tmp/foo.c:2: error: PRINT_OPERAND, invalid operand for relocation
(const:DI (plus:DI (symbol_ref:DI ("bar") [flags 0x40] <var_decl 0x401c2e80 bar>)
(const_int 6 [0x6])))
/tmp/foo.c:2: internal compiler error: in print_operand_reloc, at
config/mips/mips.c:5624
-----------------------------------------------------------
The problem is due to incorrect mode usage in mips_block_move_straight.
Testing a fix now.
--
Summary: ICE copying 7 bytes between extern char[]s
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: target
AssignedTo: rsandifo at gcc dot gnu dot org
ReportedBy: rsandifo at gcc dot gnu dot org
CC: echristo at redhat dot com,gcc-bugs at gcc dot gnu dot
org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: mipsisa64-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16357
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/16357] ICE copying 7 bytes between extern char[]s
2004-07-04 7:50 [Bug target/16357] New: ICE copying 7 bytes between extern char[]s rsandifo at gcc dot gnu dot org
@ 2004-07-04 7:51 ` rsandifo at gcc dot gnu dot org
2004-07-05 6:37 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2004-07-04 7:51 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Known to fail| |3.4.1 3.5.0
Known to work| |3.3.4
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16357
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/16357] ICE copying 7 bytes between extern char[]s
2004-07-04 7:50 [Bug target/16357] New: ICE copying 7 bytes between extern char[]s rsandifo at gcc dot gnu dot org
2004-07-04 7:51 ` [Bug target/16357] " rsandifo at gcc dot gnu dot org
@ 2004-07-05 6:37 ` cvs-commit at gcc dot gnu dot org
2004-07-07 6:32 ` [Bug target/16357] [3.4 Regression] " cvs-commit at gcc dot gnu dot org
2004-07-07 6:33 ` rsandifo at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-05 6:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-05 06:37 -------
Subject: Bug 16357
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rsandifo@gcc.gnu.org 2004-07-05 06:37:12
Modified files:
gcc : ChangeLog
gcc/config/mips: mips.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/compile: 20040705-1.c
Log message:
PR target/16357
* config/mips/mips.c (mips_block_move_straight): Pass BLKmode memrefs
to mips_expand_unaligned_load, mips_expand_unaligned_store, and
move_by_pieces.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4294&r2=2.4295
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips.c.diff?cvsroot=gcc&r1=1.423&r2=1.424
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3938&r2=1.3939
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20040705-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16357
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/16357] [3.4 Regression] ICE copying 7 bytes between extern char[]s
2004-07-04 7:50 [Bug target/16357] New: ICE copying 7 bytes between extern char[]s rsandifo at gcc dot gnu dot org
2004-07-04 7:51 ` [Bug target/16357] " rsandifo at gcc dot gnu dot org
2004-07-05 6:37 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-07 6:32 ` cvs-commit at gcc dot gnu dot org
2004-07-07 6:33 ` rsandifo at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-07 6:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-07 06:32 -------
Subject: Bug 16357
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: rsandifo@gcc.gnu.org 2004-07-07 06:32:34
Modified files:
gcc : ChangeLog
gcc/config/mips: mips.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/compile: 20040705-1.c
Log message:
PR target/16357
* config/mips/mips.c (mips_block_move_straight): Pass BLKmode memrefs
to mips_expand_unaligned_load, mips_expand_unaligned_store, and
move_by_pieces.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.534&r2=2.2326.2.535
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.362.4.14&r2=1.362.4.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.220&r2=1.3389.2.221
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20040705-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16357
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/16357] [3.4 Regression] ICE copying 7 bytes between extern char[]s
2004-07-04 7:50 [Bug target/16357] New: ICE copying 7 bytes between extern char[]s rsandifo at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-07-07 6:32 ` [Bug target/16357] [3.4 Regression] " cvs-commit at gcc dot gnu dot org
@ 2004-07-07 6:33 ` rsandifo at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2004-07-07 6:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rsandifo at gcc dot gnu dot org 2004-07-07 06:33 -------
Fixed for 3.4.2.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16357
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-07-07 6:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-04 7:50 [Bug target/16357] New: ICE copying 7 bytes between extern char[]s rsandifo at gcc dot gnu dot org
2004-07-04 7:51 ` [Bug target/16357] " rsandifo at gcc dot gnu dot org
2004-07-05 6:37 ` cvs-commit at gcc dot gnu dot org
2004-07-07 6:32 ` [Bug target/16357] [3.4 Regression] " cvs-commit at gcc dot gnu dot org
2004-07-07 6:33 ` rsandifo 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).