public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45733] New: [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize
@ 2010-09-20 11:42 zsojka at seznam dot cz
2010-09-20 11:43 ` [Bug tree-optimization/45733] " zsojka at seznam dot cz
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2010-09-20 11:42 UTC (permalink / raw)
To: gcc-bugs
Compiler output:
$ gcc -O1 -fstrict-overflow -ftree-vectorize testcase.c
testcase.c: In function 'foo':
testcase.c:4:1: error: invalid conversion in gimple call
vector(2) void *
vector(2) long long unsigned int
vect_var_.19_89 = __builtin_ia32_vec_perm_v2di_u (vect_var_.18_88,
vect_var_.18_88, { 1B, 0B });
testcase.c:4:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
Tested revisions:
r164378 - crash
r164287 - OK
--
Summary: [4.6 Regression] ICE: verify_stmts failed: invalid
conversion in gimple call with -fstrict-overflow -ftree-
vectorize
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45733
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/45733] [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize
2010-09-20 11:42 [Bug tree-optimization/45733] New: [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize zsojka at seznam dot cz
@ 2010-09-20 11:43 ` zsojka at seznam dot cz
2010-09-20 12:17 ` irar at il dot ibm dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2010-09-20 11:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from zsojka at seznam dot cz 2010-09-20 11:43 -------
Created an attachment (id=21848)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21848&action=view)
reduced testcase
$ gcc -O -fstrict-overflow -ftree-vectorize pr45733.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45733
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/45733] [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize
2010-09-20 11:42 [Bug tree-optimization/45733] New: [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize zsojka at seznam dot cz
2010-09-20 11:43 ` [Bug tree-optimization/45733] " zsojka at seznam dot cz
@ 2010-09-20 12:17 ` irar at il dot ibm dot com
2010-09-20 13:08 ` irar at il dot ibm dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: irar at il dot ibm dot com @ 2010-09-20 12:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from irar at il dot ibm dot com 2010-09-20 12:17 -------
Looks like it is caused by revision 164367:
http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00661.html
--
irar at il dot ibm dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-09-20 12:17:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45733
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/45733] [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize
2010-09-20 11:42 [Bug tree-optimization/45733] New: [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize zsojka at seznam dot cz
2010-09-20 11:43 ` [Bug tree-optimization/45733] " zsojka at seznam dot cz
2010-09-20 12:17 ` irar at il dot ibm dot com
@ 2010-09-20 13:08 ` irar at il dot ibm dot com
2010-09-20 13:17 ` matz at gcc dot gnu dot org
2010-09-20 19:50 ` hjl dot tools at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: irar at il dot ibm dot com @ 2010-09-20 13:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from irar at il dot ibm dot com 2010-09-20 13:08 -------
For vector(2) void * we get vec_perm_v2di_u builtin declaration, because the
mode of vector(2) void * is unsigned V2DI.
I wonder if this can happen for every builtin call, and we should convert back
to the original type everywhere?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45733
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/45733] [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize
2010-09-20 11:42 [Bug tree-optimization/45733] New: [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-09-20 13:08 ` irar at il dot ibm dot com
@ 2010-09-20 13:17 ` matz at gcc dot gnu dot org
2010-09-20 19:50 ` hjl dot tools at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: matz at gcc dot gnu dot org @ 2010-09-20 13:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from matz at gcc dot gnu dot org 2010-09-20 13:17 -------
Yeah, probably some fold_convert is missing in reverse_vec_elements() in case
the type of the args or the return type of the chosen builtin decl don't
exactly match.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45733
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/45733] [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize
2010-09-20 11:42 [Bug tree-optimization/45733] New: [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-09-20 13:17 ` matz at gcc dot gnu dot org
@ 2010-09-20 19:50 ` hjl dot tools at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-20 19:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hjl dot tools at gmail dot com 2010-09-20 19:50 -------
(In reply to comment #2)
> Looks like it is caused by revision 164367:
>
> http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00661.html
>
Revision 164367 is the cause. Revision 164367 also caused PR 45720.
Don't know if they are related.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45733
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-09-20 19:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-20 11:42 [Bug tree-optimization/45733] New: [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize zsojka at seznam dot cz
2010-09-20 11:43 ` [Bug tree-optimization/45733] " zsojka at seznam dot cz
2010-09-20 12:17 ` irar at il dot ibm dot com
2010-09-20 13:08 ` irar at il dot ibm dot com
2010-09-20 13:17 ` matz at gcc dot gnu dot org
2010-09-20 19:50 ` hjl dot tools at gmail dot com
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).