public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize
2004-12-21 14:10 [Bug tree-optimization/19107] New: regclass.c miscompiled by -ftree-vectorize belyshev at lubercy dot com
@ 2004-12-21 14:10 ` belyshev at lubercy dot com
2004-12-21 14:12 ` belyshev at lubercy dot com
2004-12-21 14:13 ` belyshev at lubercy dot com
2 siblings, 0 replies; 10+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-21 14:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-12-21 14:10 -------
Created an attachment (id=7795)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7795&action=view)
patch to regclass.c (1840 bytes)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19107
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/19107] New: regclass.c miscompiled by -ftree-vectorize
@ 2004-12-21 14:10 belyshev at lubercy dot com
2004-12-21 14:10 ` [Bug tree-optimization/19107] " belyshev at lubercy dot com
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-21 14:10 UTC (permalink / raw)
To: gcc-bugs
Hope I didn't mess anything with my gcc tree :)
Steps to reproduce:
1. apply the patch to regclass.c
2. compile record_operand_costs.i with "-O1 -ftree-vectorize" and link into cc1
3. use testcase bug.i to see segmentation fault
--
Summary: regclass.c miscompiled by -ftree-vectorize
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: belyshev at lubercy dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19107
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize
2004-12-21 14:10 [Bug tree-optimization/19107] New: regclass.c miscompiled by -ftree-vectorize belyshev at lubercy dot com
2004-12-21 14:10 ` [Bug tree-optimization/19107] " belyshev at lubercy dot com
@ 2004-12-21 14:12 ` belyshev at lubercy dot com
2004-12-21 14:13 ` belyshev at lubercy dot com
2 siblings, 0 replies; 10+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-21 14:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-12-21 14:11 -------
Created an attachment (id=7796)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7796&action=view)
failing function (5644 bytes)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19107
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize
2004-12-21 14:10 [Bug tree-optimization/19107] New: regclass.c miscompiled by -ftree-vectorize belyshev at lubercy dot com
2004-12-21 14:10 ` [Bug tree-optimization/19107] " belyshev at lubercy dot com
2004-12-21 14:12 ` belyshev at lubercy dot com
@ 2004-12-21 14:13 ` belyshev at lubercy dot com
2 siblings, 0 replies; 10+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-21 14:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-12-21 14:12 -------
Created an attachment (id=7797)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7797&action=view)
testcase (349 bytes)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19107
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize
[not found] <20041221140931.19107.belyshev@depni.sinp.msu.ru>
` (4 preceding siblings ...)
2005-01-01 21:15 ` pinskia at gcc dot gnu dot org
@ 2005-01-01 22:40 ` belyshev at depni dot sinp dot msu dot ru
5 siblings, 0 replies; 10+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-01-01 22:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-01-01 22:40 -------
GCC generates movdqa instruction which is not in sse set.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|i686-*-* |i686-*-* -msse
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19107
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize
[not found] <20041221140931.19107.belyshev@depni.sinp.msu.ru>
` (3 preceding siblings ...)
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-01-01 21:15 ` pinskia at gcc dot gnu dot org
2005-01-01 22:40 ` belyshev at depni dot sinp dot msu dot ru
5 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-01 21:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-01 21:15 -------
Does this testcase works:
void abort (void);
int main1 (void)
{
int s[4], t[4], i;
s[0] = s[1] = s[2] = s[3] = 1;
for (i = 0; i < 4; i++)
t[i] = s[i];
if (!t [0])
abort ();
return 0;
}
int main(void)
{return main();}
If not then I think this is a dup of bug 16660.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19107
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize
[not found] <20041221140931.19107.belyshev@depni.sinp.msu.ru>
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
` (3 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-01-01 21:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-01-01 21:06 -------
// reduced testcase, use "-O1 -ftree-vectorize"
void abort (void);
int main ()
{
int s[4], t[4], i;
s[0] = s[1] = s[2] = s[3] = 1;
for (i = 0; i < 4; i++)
t[i] = s[i];
if (!t [0])
abort ();
return 0;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-01 21:06:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19107
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize
[not found] <20041221140931.19107.belyshev@depni.sinp.msu.ru>
` (2 preceding siblings ...)
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
2005-01-01 21:15 ` pinskia at gcc dot gnu dot org
2005-01-01 22:40 ` belyshev at depni dot sinp dot msu dot ru
5 siblings, 0 replies; 10+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-01-01 21:06 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #7795 is|0 |1
obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19107
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize
[not found] <20041221140931.19107.belyshev@depni.sinp.msu.ru>
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
` (2 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-01-01 21:06 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #7797 is|0 |1
obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19107
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize
[not found] <20041221140931.19107.belyshev@depni.sinp.msu.ru>
@ 2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
` (4 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-01-01 21:06 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #7796 is|0 |1
obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19107
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-01-01 22:40 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-21 14:10 [Bug tree-optimization/19107] New: regclass.c miscompiled by -ftree-vectorize belyshev at lubercy dot com
2004-12-21 14:10 ` [Bug tree-optimization/19107] " belyshev at lubercy dot com
2004-12-21 14:12 ` belyshev at lubercy dot com
2004-12-21 14:13 ` belyshev at lubercy dot com
[not found] <20041221140931.19107.belyshev@depni.sinp.msu.ru>
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
2005-01-01 21:06 ` belyshev at depni dot sinp dot msu dot ru
2005-01-01 21:15 ` pinskia at gcc dot gnu dot org
2005-01-01 22:40 ` belyshev at depni dot sinp dot msu dot ru
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).