public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
@ 2008-10-29 20:24 alon dot barlev at gmail dot com
2008-10-29 20:29 ` [Bug c/37955] " alon dot barlev at gmail dot com
` (14 more replies)
0 siblings, 15 replies; 16+ messages in thread
From: alon dot barlev at gmail dot com @ 2008-10-29 20:24 UTC (permalink / raw)
To: gcc-bugs
Attached is a sample from OpenSSL.
When compiled with -O3 the error comes up.
I tried to remove as much code as I could, but it looks like every line I
remove also avoid the error.
I use rev141361
--
Summary: internal compiler error: in vectorizable_store, at tree-
vect-transform.c:5447
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: alon dot barlev at gmail dot com
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: x86_64-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/37955] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
@ 2008-10-29 20:29 ` alon dot barlev at gmail dot com
2008-10-29 21:12 ` rguenth at gcc dot gnu dot org
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: alon dot barlev at gmail dot com @ 2008-10-29 20:29 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 531 bytes --]
------- Comment #1 from alon dot barlev at gmail dot com 2008-10-29 20:28 -------
Created an attachment (id=16584)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16584&action=view)
sample1.c
sample1.c: In function âaep_rsa_mod_expâ:
sample1.c:619: internal compiler error: in vectorizable_store, at
tree-vect-transform.c:5447
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/37955] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
2008-10-29 20:29 ` [Bug c/37955] " alon dot barlev at gmail dot com
@ 2008-10-29 21:12 ` rguenth at gcc dot gnu dot org
2008-10-30 6:46 ` alon dot barlev at gmail dot com
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-10-29 21:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-10-29 21:12 -------
works for me on x86_64-linux.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/37955] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
2008-10-29 20:29 ` [Bug c/37955] " alon dot barlev at gmail dot com
2008-10-29 21:12 ` rguenth at gcc dot gnu dot org
@ 2008-10-30 6:46 ` alon dot barlev at gmail dot com
2008-11-06 8:52 ` irar at il dot ibm dot com
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: alon dot barlev at gmail dot com @ 2008-10-30 6:46 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 616 bytes --]
------- Comment #3 from alon dot barlev at gmail dot com 2008-10-30 06:45 -------
Created an attachment (id=16587)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16587&action=view)
sample2.c
Maybe the complete source will be better...
$ x86_64-pc-mingw32-gcc -O3 -c sample2.c
e_aep.c: In function âaep_get_connectionâ:
e_aep.c:862: internal compiler error: in vectorizable_store, at
tree-vect-transform.c:5447
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/37955] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (2 preceding siblings ...)
2008-10-30 6:46 ` alon dot barlev at gmail dot com
@ 2008-11-06 8:52 ` irar at il dot ibm dot com
2008-11-06 19:55 ` alon dot barlev at gmail dot com
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: irar at il dot ibm dot com @ 2008-11-06 8:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from irar at il dot ibm dot com 2008-11-06 08:50 -------
> Maybe the complete source will be better...
I don't see any failure with r141636 on x86_64-linux.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/37955] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (3 preceding siblings ...)
2008-11-06 8:52 ` irar at il dot ibm dot com
@ 2008-11-06 19:55 ` alon dot barlev at gmail dot com
2008-11-06 21:39 ` [Bug tree-optimization/37955] [4.4 Regression] " ubizjak at gmail dot com
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: alon dot barlev at gmail dot com @ 2008-11-06 19:55 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 599 bytes --]
------- Comment #5 from alon dot barlev at gmail dot com 2008-11-06 19:53 -------
Still:
$ x86_64-pc-mingw32-gcc -O3 sample2.c
e_aep.c: In function âaep_get_connectionâ:
e_aep.c:862: internal compiler error: in vectorizable_store, at
tree-vect-transform.c:5447
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Using binutils CVS head and gcc head (rev#141655).
How can I help more than this?
Can you send a patch to provide some more information?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (4 preceding siblings ...)
2008-11-06 19:55 ` alon dot barlev at gmail dot com
@ 2008-11-06 21:39 ` ubizjak at gmail dot com
2008-11-06 22:12 ` ubizjak at gmail dot com
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ubizjak at gmail dot com @ 2008-11-06 21:39 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]
------- Comment #6 from ubizjak at gmail dot com 2008-11-06 21:38 -------
It fails on x86_64-pc-linux-gnu host with a cross to x86_64-pc-mingw32:
../gcc-svn/trunk/configure --target=x86_64-pc-mingw32 --enable-languages=c
--disable-bootstrap
Compiling sample2.c:
~/gcc-build-cyg/gcc/cc1 -O3 -quiet pr37955.i
e_aep.c: In function aep_get_connection:
e_aep.c:862: internal compiler error: in vectorizable_store, at
tree-vect-transform.c:5447
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Confirmed.
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |tree-optimization
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-11-06 21:38:00
date| |
Summary|internal compiler error: in |[4.4 Regression] internal
|vectorizable_store, at tree-|compiler error: in
|vect-transform.c:5447 |vectorizable_store, at tree-
| |vect-transform.c:5447
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (5 preceding siblings ...)
2008-11-06 21:39 ` [Bug tree-optimization/37955] [4.4 Regression] " ubizjak at gmail dot com
@ 2008-11-06 22:12 ` ubizjak at gmail dot com
2008-11-07 10:44 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ubizjak at gmail dot com @ 2008-11-06 22:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from ubizjak at gmail dot com 2008-11-06 22:11 -------
Reduced testcase, fails also on x86_64-pc-linux-gnu and i686-pc-linux-gnu/sse2,
gcc version 4.4.0 20081106 (experimental) [trunk revision 141649] (GCC)
--cut here--
typedef struct
{
enum { NotConnected = 0 } conn_state;
unsigned int conn_hndl;
} AEP_CONNECTION_ENTRY;
static AEP_CONNECTION_ENTRY aep_app_conn_table[256];
void aep_mod_exp (void)
{
int count;
for (count = 0; count < 256; count++)
{
aep_app_conn_table[count].conn_state = NotConnected;
aep_app_conn_table[count].conn_hndl = 0;
}
}
--cut here--
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|x86_64-pc-mingw32 |x86-pc-linux-gnu
Known to work| |4.3.2
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (6 preceding siblings ...)
2008-11-06 22:12 ` ubizjak at gmail dot com
@ 2008-11-07 10:44 ` rguenth at gcc dot gnu dot org
2008-11-07 10:48 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-11-07 10:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2008-11-07 10:43 -------
This is because the enum gets a different alias set than unsigned int. We can
do two things:
- reject the vectype. This is difficult because we see different vectypes
for both stores.
- massage the access pointer to be a ref-all pointer. This requires
re-computing aliasing after the vectorizer.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2008-11-06 21:38:00 |2008-11-07 10:43:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (7 preceding siblings ...)
2008-11-07 10:44 ` rguenth at gcc dot gnu dot org
@ 2008-11-07 10:48 ` rguenth at gcc dot gnu dot org
2008-11-11 1:01 ` hp at gcc dot gnu dot org
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-11-07 10:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rguenth at gcc dot gnu dot org 2008-11-07 10:47 -------
I am testing option 2.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code, wrong-
| |code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (8 preceding siblings ...)
2008-11-07 10:48 ` rguenth at gcc dot gnu dot org
@ 2008-11-11 1:01 ` hp at gcc dot gnu dot org
2008-11-12 9:06 ` alon dot barlev at gmail dot com
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: hp at gcc dot gnu dot org @ 2008-11-11 1:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from hp at gcc dot gnu dot org 2008-11-11 01:00 -------
Is this now a duplicate of PR37742, which according to the reporter still fails
for the original test-case?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (9 preceding siblings ...)
2008-11-11 1:01 ` hp at gcc dot gnu dot org
@ 2008-11-12 9:06 ` alon dot barlev at gmail dot com
2008-11-12 21:33 ` ubizjak at gmail dot com
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: alon dot barlev at gmail dot com @ 2008-11-12 9:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from alon dot barlev at gmail dot com 2008-11-12 09:04 -------
I get the error only if I use -O3.
But the two bugs are related.
Last checked rev#141779
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (10 preceding siblings ...)
2008-11-12 9:06 ` alon dot barlev at gmail dot com
@ 2008-11-12 21:33 ` ubizjak at gmail dot com
2008-11-15 13:50 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ubizjak at gmail dot com @ 2008-11-12 21:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from ubizjak at gmail dot com 2008-11-12 21:31 -------
*** Bug 38096 has been marked as a duplicate of this bug. ***
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mariah dot lenox at gmail
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (11 preceding siblings ...)
2008-11-12 21:33 ` ubizjak at gmail dot com
@ 2008-11-15 13:50 ` jakub at gcc dot gnu dot org
2008-11-28 11:32 ` rguenth at gcc dot gnu dot org
2008-11-28 11:33 ` rguenth at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-11-15 13:50 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (12 preceding siblings ...)
2008-11-15 13:50 ` jakub at gcc dot gnu dot org
@ 2008-11-28 11:32 ` rguenth at gcc dot gnu dot org
2008-11-28 11:33 ` rguenth at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-11-28 11:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from rguenth at gcc dot gnu dot org 2008-11-28 11:31 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
` (13 preceding siblings ...)
2008-11-28 11:32 ` rguenth at gcc dot gnu dot org
@ 2008-11-28 11:33 ` rguenth at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-11-28 11:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from rguenth at gcc dot gnu dot org 2008-11-28 11:32 -------
Subject: Bug 37955
Author: rguenth
Date: Fri Nov 28 11:30:45 2008
New Revision: 142257
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142257
Log:
2008-11-28 Richard Guenther <rguenther@suse.de>
PR tree-optimization/37955
PR tree-optimization/37742
* tree-vect-transform.c (vectorizable_store): Remove assert for
compatible aliases.
(vectorizable_load): Likewise.
* gcc.c-torture/compile/pr37955.c: New testcase.
* gcc.c-torture/compile/pr37742-3.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr37742-3.c
trunk/gcc/testsuite/gcc.c-torture/compile/pr37955.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-transform.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37955
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2008-11-28 11:33 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-29 20:24 [Bug c/37955] New: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447 alon dot barlev at gmail dot com
2008-10-29 20:29 ` [Bug c/37955] " alon dot barlev at gmail dot com
2008-10-29 21:12 ` rguenth at gcc dot gnu dot org
2008-10-30 6:46 ` alon dot barlev at gmail dot com
2008-11-06 8:52 ` irar at il dot ibm dot com
2008-11-06 19:55 ` alon dot barlev at gmail dot com
2008-11-06 21:39 ` [Bug tree-optimization/37955] [4.4 Regression] " ubizjak at gmail dot com
2008-11-06 22:12 ` ubizjak at gmail dot com
2008-11-07 10:44 ` rguenth at gcc dot gnu dot org
2008-11-07 10:48 ` rguenth at gcc dot gnu dot org
2008-11-11 1:01 ` hp at gcc dot gnu dot org
2008-11-12 9:06 ` alon dot barlev at gmail dot com
2008-11-12 21:33 ` ubizjak at gmail dot com
2008-11-15 13:50 ` jakub at gcc dot gnu dot org
2008-11-28 11:32 ` rguenth at gcc dot gnu dot org
2008-11-28 11:33 ` rguenth 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).