public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886
@ 2005-03-24 12:47 ldarby at mips dot com
2005-03-24 12:48 ` [Bug c/20621] " ldarby at mips dot com
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: ldarby at mips dot com @ 2005-03-24 12:47 UTC (permalink / raw)
To: gcc-bugs
$ gcc -v -save-temps -DHAVE_CONFIG_H -I. -g -Wall -O2 -c conf.c
Reading specs from /usr/lib/gcc/mips-linux/3.4.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,f77,pascal,objc,ada,treelang --prefix=/usr
--libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4
--enable-shared --with-system-zlib --enable-nls --without-included-gettext
--program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt
--enable-clocale=gnu --enable-libstdcxx-debug --disable-werror mips-linux
Thread model: posix
gcc version 3.4.4 20041218 (prerelease) (Debian 3.4.3-6)
/usr/lib/gcc/mips-linux/3.4.4/cc1 -E -quiet -v -I. -I. -I. -DHAVE_CONFIG_H
conf.c -Wall -Wall -fworking-directory -O2 -o conf.i
ignoring nonexistent directory
"/usr/lib/gcc/mips-linux/3.4.4/../../../../mips-linux/include"
ignoring duplicate directory "."
ignoring duplicate directory "."
#include "..." search starts here:
#include <...> search starts here:
.
/usr/local/include
/usr/lib/gcc/mips-linux/3.4.4/include
/usr/include
End of search list.
/usr/lib/gcc/mips-linux/3.4.4/cc1 -fpreprocessed conf.i -quiet -dumpbase
conf.c -auxbase conf -g -O2 -Wall -Wall -version -o conf.s
GNU C version 3.4.4 20041218 (prerelease) (Debian 3.4.3-6) (mips-linux)
compiled by GNU C version 3.4.4 20041218 (prerelease) (Debian 3.4.3-6).
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31962
conf.c: In function `cdcdrc_manual_configuration':
conf.c:193: internal compiler error: in change_address_1, at emit-rtl.c:1886
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-3.4/README.Bugs>.
--
Summary: ICE: in change_address_1, at emit-rtl.c:1886
Product: gcc
Version: 3.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ldarby at mips dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: mips-linux
GCC host triplet: mips-linux
GCC target triplet: mips-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
@ 2005-03-24 12:48 ` ldarby at mips dot com
2005-03-24 12:50 ` ldarby at mips dot com
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ldarby at mips dot com @ 2005-03-24 12:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ldarby at mips dot com 2005-03-24 12:48 -------
Created an attachment (id=8447)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8447&action=view)
preprocessed source from the debian package 'cdcd'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
2005-03-24 12:48 ` [Bug c/20621] " ldarby at mips dot com
@ 2005-03-24 12:50 ` ldarby at mips dot com
2005-03-24 12:51 ` ldarby at mips dot com
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ldarby at mips dot com @ 2005-03-24 12:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ldarby at mips dot com 2005-03-24 12:50 -------
*** Bug 20619 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
2005-03-24 12:48 ` [Bug c/20621] " ldarby at mips dot com
2005-03-24 12:50 ` ldarby at mips dot com
@ 2005-03-24 12:51 ` ldarby at mips dot com
2005-03-24 13:56 ` ldarby at mips dot com
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ldarby at mips dot com @ 2005-03-24 12:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ldarby at mips dot com 2005-03-24 12:50 -------
*** Bug 20620 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (2 preceding siblings ...)
2005-03-24 12:51 ` ldarby at mips dot com
@ 2005-03-24 13:56 ` ldarby at mips dot com
2005-03-24 14:54 ` [Bug middle-end/20621] " pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ldarby at mips dot com @ 2005-03-24 13:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ldarby at mips dot com 2005-03-24 13:56 -------
(In reply to comment #0)
ICE appears only on the MIPS arch using 3.4.4
It doesn't appear when using 3.3.5, or on x86 using either versions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (3 preceding siblings ...)
2005-03-24 13:56 ` ldarby at mips dot com
@ 2005-03-24 14:54 ` pinskia at gcc dot gnu dot org
2005-03-24 14:55 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-24 14:54 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (4 preceding siblings ...)
2005-03-24 14:54 ` [Bug middle-end/20621] " pinskia at gcc dot gnu dot org
@ 2005-03-24 14:55 ` pinskia at gcc dot gnu dot org
2005-03-24 15:07 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-24 14:55 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|mips-linux |
GCC host triplet|mips-linux |
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (5 preceding siblings ...)
2005-03-24 14:55 ` pinskia at gcc dot gnu dot org
@ 2005-03-24 15:07 ` pinskia at gcc dot gnu dot org
2005-03-29 17:34 ` ldarby at mips dot com
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-24 15:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-24 15:07 -------
I cannot reproduce this with a cross compiler to mips-linux with the version of "3.4.4 20050202".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (6 preceding siblings ...)
2005-03-24 15:07 ` pinskia at gcc dot gnu dot org
@ 2005-03-29 17:34 ` ldarby at mips dot com
2005-03-29 19:32 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ldarby at mips dot com @ 2005-03-29 17:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ldarby at mips dot com 2005-03-29 17:34 -------
It still appears in the latest native mips compiler.
$ gcc --version
gcc (GCC) 3.4.4 20050314 (prerelease) (Debian 3.4.3-12)
Have you got binaries for the cross compiler you're using?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (7 preceding siblings ...)
2005-03-29 17:34 ` ldarby at mips dot com
@ 2005-03-29 19:32 ` pinskia at gcc dot gnu dot org
2005-07-04 9:23 ` [Bug target/20621] " rsandifo at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-29 19:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-29 19:32 -------
(In reply to comment #6)
> It still appears in the latest native mips compiler.
> Have you got binaries for the cross compiler you're using?
Well considering it is a cross from powerpc-darwin, I really doubt it would be useful to you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (8 preceding siblings ...)
2005-03-29 19:32 ` pinskia at gcc dot gnu dot org
@ 2005-07-04 9:23 ` rsandifo at gcc dot gnu dot org
2005-07-31 8:31 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-07-04 9:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rsandifo at gcc dot gnu dot org 2005-07-04 09:23 -------
Confirmed. This is a target-specific bug.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rsandifo at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Component|middle-end |target
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-07-04 09:23:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (9 preceding siblings ...)
2005-07-04 9:23 ` [Bug target/20621] " rsandifo at gcc dot gnu dot org
@ 2005-07-31 8:31 ` cvs-commit at gcc dot gnu dot org
2005-07-31 8:35 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-31 8:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-31 08:30 -------
Subject: Bug 20621
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rsandifo@gcc.gnu.org 2005-07-31 08:30:16
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: pr20621-1.c
Log message:
PR target/20621
* gcc.c-torture/execute/pr20621-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5859&r2=1.5860
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr20621-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (10 preceding siblings ...)
2005-07-31 8:31 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-31 8:35 ` cvs-commit at gcc dot gnu dot org
2005-07-31 8:45 ` cvs-commit at gcc dot gnu dot org
2005-07-31 8:52 ` rsandifo at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-31 8:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-31 08:31 -------
Subject: Bug 20621
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: rsandifo@gcc.gnu.org 2005-07-31 08:31:38
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: pr20621-1.c
Log message:
PR target/20621
* gcc.c-torture/execute/pr20621-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.312&r2=1.5084.2.313
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr20621-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=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (11 preceding siblings ...)
2005-07-31 8:35 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-31 8:45 ` cvs-commit at gcc dot gnu dot org
2005-07-31 8:52 ` rsandifo at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-31 8:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-31 08:35 -------
Subject: Bug 20621
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: rsandifo@gcc.gnu.org 2005-07-31 08:35:16
Modified files:
gcc : ChangeLog
gcc/testsuite : ChangeLog
gcc/config/mips: mips-protos.h mips.c mips.md
Added files:
gcc/testsuite/gcc.c-torture/execute: pr20621-1.c
Log message:
PR target/20621
Backport from mainline:
2004-08-01 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.md (cprestore): Provide two alternatives, one for
an in-range offset and one for an out-of-range offset. Wrap the latter
in .set macro/.set nomacro if it's inside a .set nomacro block.
2004-08-01 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips-protos.h (mips_gp_save_slot): Remove.
(mips_restore_gp): Declare.
* config/mips/mips.c (mips_add_offset): Add a scratch register
argument. Reimplement in rtl only, reusing MIPS16 logic from
mips_output_mi_thunk.
(mips_legitimize_address, mips_legitimize_const_move): Adjust calls
to mips_add_offset.
(mips_gp_save_slot): Delete.
(mips_restore_gp): New function.
(mips_set_return_address, mips_output_mi_thunk): Use mips_add_offset.
* config/mips/mips.md (exception_receiver): Turn into a
define_insn_and_split. Use mips_restore_gp to do the split.
(call_internal, call_value_internal, call_value_multiple_internal): Use
mips_restore_gp to restore $gp.
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.892&r2=2.2326.2.893
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.415&r2=1.3389.2.416
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr20621-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.59.4.4&r2=1.59.4.5
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.17&r2=1.362.4.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.211.4.11&r2=1.211.4.12
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/20621] ICE: in change_address_1, at emit-rtl.c:1886
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
` (12 preceding siblings ...)
2005-07-31 8:45 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-31 8:52 ` rsandifo at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-07-31 8:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rsandifo at gcc dot gnu dot org 2005-07-31 08:46 -------
Patch applied to 3.4 branch. Testcase also applied to 4.0 and mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to fail| |3.4.4
Known to work| |4.0.0 4.1.0
Resolution| |FIXED
Target Milestone|--- |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20621
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2005-07-31 8:47 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-24 12:47 [Bug c/20621] New: ICE: in change_address_1, at emit-rtl.c:1886 ldarby at mips dot com
2005-03-24 12:48 ` [Bug c/20621] " ldarby at mips dot com
2005-03-24 12:50 ` ldarby at mips dot com
2005-03-24 12:51 ` ldarby at mips dot com
2005-03-24 13:56 ` ldarby at mips dot com
2005-03-24 14:54 ` [Bug middle-end/20621] " pinskia at gcc dot gnu dot org
2005-03-24 14:55 ` pinskia at gcc dot gnu dot org
2005-03-24 15:07 ` pinskia at gcc dot gnu dot org
2005-03-29 17:34 ` ldarby at mips dot com
2005-03-29 19:32 ` pinskia at gcc dot gnu dot org
2005-07-04 9:23 ` [Bug target/20621] " rsandifo at gcc dot gnu dot org
2005-07-31 8:31 ` cvs-commit at gcc dot gnu dot org
2005-07-31 8:35 ` cvs-commit at gcc dot gnu dot org
2005-07-31 8:45 ` cvs-commit at gcc dot gnu dot org
2005-07-31 8:52 ` 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).