public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/17984] New: Recent peephole2:s may cause internal compiler errors (2)
@ 2004-10-13 23:14 hp at gcc dot gnu dot org
2004-10-13 23:32 ` [Bug target/17984] " cvs-commit at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-10-13 23:14 UTC (permalink / raw)
To: gcc-bugs
See also PR 17626. This is another bug in the peephole2 patterns; constants
aren't truncated/sign-extended when changing to a shorter mode. This causes
ICEs like the following:
x/gcc/testsuite/gcc.dg/cris-peep2-xsrand2.c: In function 'andwlsr':
x/gcc/testsuite/gcc.dg/cris-peep2-xsrand2.c:16: error: unrecognizable insn:
(insn 31 30 25 0 (set (reg:HI 10 r10)
(and:HI (reg:HI 10 r10)
(const_int 65399 [0xff77]))) -1 (nil)
(nil))
x/gcc/testsuite/gcc.dg/cris-peep2-xsrand2.c:16: internal compiler error: in
extract_insn, at recog.c:2034
--
Summary: Recent peephole2:s may cause internal compiler errors
(2)
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: hp at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: cris-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17984
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/17984] Recent peephole2:s may cause internal compiler errors (2)
2004-10-13 23:14 [Bug target/17984] New: Recent peephole2:s may cause internal compiler errors (2) hp at gcc dot gnu dot org
@ 2004-10-13 23:32 ` cvs-commit at gcc dot gnu dot org
2004-10-13 23:35 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-13 23:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-13 23:32 -------
Subject: Bug 17984
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hp@gcc.gnu.org 2004-10-13 23:32:15
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: cris-peep2-xsrand2.c
Log message:
PR target/17984
* gcc.dg/cris-peep2-xsrand2.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4443&r2=1.4444
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cris-peep2-xsrand2.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17984
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/17984] Recent peephole2:s may cause internal compiler errors (2)
2004-10-13 23:14 [Bug target/17984] New: Recent peephole2:s may cause internal compiler errors (2) hp at gcc dot gnu dot org
2004-10-13 23:32 ` [Bug target/17984] " cvs-commit at gcc dot gnu dot org
@ 2004-10-13 23:35 ` cvs-commit at gcc dot gnu dot org
2004-10-13 23:38 ` hp at gcc dot gnu dot org
2004-10-15 17:13 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-13 23:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-13 23:35 -------
Subject: Bug 17984
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hp@gcc.gnu.org 2004-10-13 23:35:04
Modified files:
gcc : ChangeLog
gcc/config/cris: cris.md
Log message:
PR target/17984
* config/cris/cris.md (asrandb, asrandw, lsrandb, lsrandw): Apply
trunc_int_for_mode for constants used in shortened mode.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5870&r2=2.5871
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/cris/cris.md.diff?cvsroot=gcc&r1=1.20&r2=1.21
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17984
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/17984] Recent peephole2:s may cause internal compiler errors (2)
2004-10-13 23:14 [Bug target/17984] New: Recent peephole2:s may cause internal compiler errors (2) hp at gcc dot gnu dot org
2004-10-13 23:32 ` [Bug target/17984] " cvs-commit at gcc dot gnu dot org
2004-10-13 23:35 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-13 23:38 ` hp at gcc dot gnu dot org
2004-10-15 17:13 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-10-13 23:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hp at gcc dot gnu dot org 2004-10-13 23:38 -------
<URL:http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01149.html>
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17984
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/17984] Recent peephole2:s may cause internal compiler errors (2)
2004-10-13 23:14 [Bug target/17984] New: Recent peephole2:s may cause internal compiler errors (2) hp at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-10-13 23:38 ` hp at gcc dot gnu dot org
@ 2004-10-15 17:13 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-15 17:13 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17984
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-10-15 17:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-13 23:14 [Bug target/17984] New: Recent peephole2:s may cause internal compiler errors (2) hp at gcc dot gnu dot org
2004-10-13 23:32 ` [Bug target/17984] " cvs-commit at gcc dot gnu dot org
2004-10-13 23:35 ` cvs-commit at gcc dot gnu dot org
2004-10-13 23:38 ` hp at gcc dot gnu dot org
2004-10-15 17:13 ` pinskia 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).