public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/30064] New: ICE in reload_cse_simplify_operands, at postreload.c:393
@ 2006-12-04 16:39 ssoe at kirktelecom dot com
2006-12-04 16:42 ` [Bug target/30064] " ssoe at kirktelecom dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ssoe at kirktelecom dot com @ 2006-12-04 16:39 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2586 bytes --]
$ m68k-linux-gcc -v -m5307 -msep-data -O1 -c gcc-m68k-ice.c
Using built-in specs.
Target: m68k-linux
Configured with: ../gcc-4.3-20061202/configure --prefix=/home/ssoe/tmp/m68k
--target m68k-linux --disable-shared --disable-threads --enable-languages=c
--with-headers=/home/ssoe/tmp/m68k/m68k-linux/include
Thread model: single
gcc version 4.3.0 20061202 (experimental)
/home/ssoe/tmp/m68k/libexec/gcc/m68k-linux/4.3.0/cc1 -quiet -v
-D__HAVE_68881__ gcc-m68k-ice.c -quiet -dumpbase gcc-m68k-ice.c -m5307
-msep-data -auxbase gcc-m68k-ice -O1 -version -o /tmp/cchI2eF1.s
#include "..." search starts here:
#include <...> search starts here:
/home/ssoe/tmp/m68k/lib/gcc/m68k-linux/4.3.0/include
/home/ssoe/tmp/m68k/lib/gcc/m68k-linux/4.3.0/../../../../m68k-linux/sys-include
/home/ssoe/tmp/m68k/lib/gcc/m68k-linux/4.3.0/../../../../m68k-linux/include
End of search list.
GNU C version 4.3.0 20061202 (experimental) (m68k-linux)
compiled by GNU C version 4.1.1 20061011 (Red Hat 4.1.1-30).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: c0f3be0098cca37cfe39087e559a1e7c
gcc-m68k-ice.c: In function f:
gcc-m68k-ice.c:28: error: insn does not satisfy its constraints:
(insn 81 205 207 9 (parallel [
(set (reg:SI 2 %d2)
(div:SI (reg:SI 2 %d2)
(mem/c:SI (plus:SI (reg/f:SI 14 %a6)
(reg:SI 9 %a1)) [0 column_width+0 S4 A8])))
(set (reg:SI 0 %d0 [80])
(mod:SI (reg:SI 2 %d2)
(mem/c:SI (plus:SI (reg/f:SI 14 %a6)
(reg:SI 9 %a1)) [0 column_width+0 S4 A8])))
]) 228 {*m68k.md:3000} (nil)
(nil))
gcc-m68k-ice.c:28: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:393
If any of the options -m5307, -msep-data, or -O1 is removed, the problem goes
away.
Reproduced on 4.1.1, 4.1-20061124, 4.2-20061128, 4.3-20061202. Couldn't
reproduce ICE on 3.4.6, but it could be generating incorrect code (no solid
evidence of that though).
--
Summary: ICE in reload_cse_simplify_operands, at postreload.c:393
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ssoe at kirktelecom dot com
GCC build triplet: i686-redhat-linux-gnu
GCC host triplet: i686-redhat-linux-gnu
GCC target triplet: m68k-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30064
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/30064] ICE in reload_cse_simplify_operands, at postreload.c:393
2006-12-04 16:39 [Bug target/30064] New: ICE in reload_cse_simplify_operands, at postreload.c:393 ssoe at kirktelecom dot com
@ 2006-12-04 16:42 ` ssoe at kirktelecom dot com
2009-06-16 15:18 ` mikpe at it dot uu dot se
2009-08-23 18:45 ` schwab at linux-m68k dot org
2 siblings, 0 replies; 4+ messages in thread
From: ssoe at kirktelecom dot com @ 2006-12-04 16:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ssoe at kirktelecom dot com 2006-12-04 16:42 -------
Created an attachment (id=12741)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12741&action=view)
Testcase
Reduced version of shell/cmdedit.c from busybox-1.2.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30064
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/30064] ICE in reload_cse_simplify_operands, at postreload.c:393
2006-12-04 16:39 [Bug target/30064] New: ICE in reload_cse_simplify_operands, at postreload.c:393 ssoe at kirktelecom dot com
2006-12-04 16:42 ` [Bug target/30064] " ssoe at kirktelecom dot com
@ 2009-06-16 15:18 ` mikpe at it dot uu dot se
2009-08-23 18:45 ` schwab at linux-m68k dot org
2 siblings, 0 replies; 4+ messages in thread
From: mikpe at it dot uu dot se @ 2009-06-16 15:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from mikpe at it dot uu dot se 2009-06-16 15:17 -------
(In reply to comment #0)
> gcc-m68k-ice.c:28: internal compiler error: in reload_cse_simplify_operands, at
> postreload.c:393
>
> If any of the options -m5307, -msep-data, or -O1 is removed, the problem goes
> away.
>
> Reproduced on 4.1.1, 4.1-20061124, 4.2-20061128, 4.3-20061202. Couldn't
> reproduce ICE on 3.4.6, but it could be generating incorrect code (no solid
> evidence of that though).
Using my m68k-unknown-linux cross environment I can reproduce the ICE with
gcc-4.2.[0-4], but not with gcc-4.3.[0-3] or with the latest weekly gcc-4.3 and
gcc-4.4 snapshots. Since 4.3.0 and above work I didn't bother trying to
identify the exact revision that fixed it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30064
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/30064] ICE in reload_cse_simplify_operands, at postreload.c:393
2006-12-04 16:39 [Bug target/30064] New: ICE in reload_cse_simplify_operands, at postreload.c:393 ssoe at kirktelecom dot com
2006-12-04 16:42 ` [Bug target/30064] " ssoe at kirktelecom dot com
2009-06-16 15:18 ` mikpe at it dot uu dot se
@ 2009-08-23 18:45 ` schwab at linux-m68k dot org
2 siblings, 0 replies; 4+ messages in thread
From: schwab at linux-m68k dot org @ 2009-08-23 18:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from schwab at linux-m68k dot org 2009-08-23 18:45 -------
No longer reproducible with 4.3.0, assuming fixed.
--
schwab at linux-m68k dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30064
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-23 18:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-04 16:39 [Bug target/30064] New: ICE in reload_cse_simplify_operands, at postreload.c:393 ssoe at kirktelecom dot com
2006-12-04 16:42 ` [Bug target/30064] " ssoe at kirktelecom dot com
2009-06-16 15:18 ` mikpe at it dot uu dot se
2009-08-23 18:45 ` schwab at linux-m68k 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).