public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/39349] New: cse_insn has out-of-bounds array access
@ 2009-03-02 17:31 amylaar at gcc dot gnu dot org
2009-03-02 17:39 ` [Bug rtl-optimization/39349] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2009-03-02 17:31 UTC (permalink / raw)
To: gcc-bugs
The loop in cse_insn below the comment:
/* See if we have a CONST_INT that is already in a
wider mode. */
fails to terminate when VOIDmode is reached.
--
Summary: cse_insn has out-of-bounds array access
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amylaar at gcc dot gnu dot org
BugsThisDependsOn: 39302
OtherBugsDependingO 39346
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39349
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/39349] cse_insn has out-of-bounds array access
2009-03-02 17:31 [Bug rtl-optimization/39349] New: cse_insn has out-of-bounds array access amylaar at gcc dot gnu dot org
@ 2009-03-02 17:39 ` pinskia at gcc dot gnu dot org
2009-03-02 18:30 ` amylaar at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-03-02 17:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-03-02 17:39 -------
I think this is by defined, you need to include one mode bigger than the
register size. This is done for spu the same way.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39349
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/39349] cse_insn has out-of-bounds array access
2009-03-02 17:31 [Bug rtl-optimization/39349] New: cse_insn has out-of-bounds array access amylaar at gcc dot gnu dot org
2009-03-02 17:39 ` [Bug rtl-optimization/39349] " pinskia at gcc dot gnu dot org
@ 2009-03-02 18:30 ` amylaar at gcc dot gnu dot org
2009-03-02 19:00 ` hjl dot tools at gmail dot com
2009-03-05 1:27 ` amylaar at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2009-03-02 18:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from amylaar at gcc dot gnu dot org 2009-03-02 18:29 -------
(In reply to comment #1)
> I think this is by defined, you need to include one mode bigger than the
> register size. This is done for spu the same way.
Where does it say that a port for a target with 128 bit registers
and 8*16 bit ALU width has to support 256 bit integers?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39349
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/39349] cse_insn has out-of-bounds array access
2009-03-02 17:31 [Bug rtl-optimization/39349] New: cse_insn has out-of-bounds array access amylaar at gcc dot gnu dot org
2009-03-02 17:39 ` [Bug rtl-optimization/39349] " pinskia at gcc dot gnu dot org
2009-03-02 18:30 ` amylaar at gcc dot gnu dot org
@ 2009-03-02 19:00 ` hjl dot tools at gmail dot com
2009-03-05 1:27 ` amylaar at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-03-02 19:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2009-03-02 19:00 -------
FWIW, I defined OImode (512bit) for AVX. It isn't strictly needed
by x86 backend. But I had to define it. Otherwise, middle-end isn't
happy.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl dot tools at gmail dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39349
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/39349] cse_insn has out-of-bounds array access
2009-03-02 17:31 [Bug rtl-optimization/39349] New: cse_insn has out-of-bounds array access amylaar at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-03-02 19:00 ` hjl dot tools at gmail dot com
@ 2009-03-05 1:27 ` amylaar at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2009-03-05 1:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from amylaar at gcc dot gnu dot org 2009-03-05 01:27 -------
http://gcc.gnu.org/ml/gcc-patches/2009-03/msg00262.html
--
amylaar at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn|39302 |
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39349
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-03-05 1:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-02 17:31 [Bug rtl-optimization/39349] New: cse_insn has out-of-bounds array access amylaar at gcc dot gnu dot org
2009-03-02 17:39 ` [Bug rtl-optimization/39349] " pinskia at gcc dot gnu dot org
2009-03-02 18:30 ` amylaar at gcc dot gnu dot org
2009-03-02 19:00 ` hjl dot tools at gmail dot com
2009-03-05 1:27 ` amylaar 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).