public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/57741] New: ICE in tree.c:build_int_cst_wide starting in revision 200394
@ 2013-06-27 21:16 pthaugen at gcc dot gnu.org
2013-06-27 21:59 ` [Bug tree-optimization/57741] " jakub at gcc dot gnu.org
2013-07-02 11:57 ` jakub at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: pthaugen at gcc dot gnu.org @ 2013-06-27 21:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57741
Bug ID: 57741
Summary: ICE in tree.c:build_int_cst_wide starting in revision
200394
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pthaugen at gcc dot gnu.org
CC: bergner at gcc dot gnu.org, jakub at gcc dot gnu.org
Host: powerpc64-linux
Target: powerpc64-linux
Build: powerpc64-linux
Created attachment 30399
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30399&action=edit
Reduced testcase
CPU2000 benchmarks mesa and apsi fail to build starting with r200394. Reduced
testcase from mesa attatched.
[pthaugen@igoo delta]$ ~/install/gcc/trunk/bin/gcc -c -O3 -mcpu=power7 -m64
-funroll-loops triangle.c
triangle.c: In function 'general_textured_triangle':
triangle.c:339:1: internal compiler error: in build_int_cst_wide, at
tree.c:1214
general_textured_triangle (GLcontext * ctx, GLuint v0, GLuint v1, GLuint v2,
^
0x1086129f build_int_cst_wide(tree_node*, unsigned long, long)
/home/pthaugen/src/gcc/trunk/gcc/gcc/tree.c:1214
0x10861837 double_int_to_tree(tree_node*, double_int)
/home/pthaugen/src/gcc/trunk/gcc/gcc/tree.c:1068
0x1081488b get_initial_def_for_induction
/home/pthaugen/src/gcc/trunk/gcc/gcc/tree-vect-loop.c:3279
0x1081488b vectorizable_induction(gimple_statement_d*, gimple_stmt_iterator_d*,
gimple_statement_d**)
/home/pthaugen/src/gcc/trunk/gcc/gcc/tree-vect-loop.c:5351
0x1080cb97 vect_transform_stmt(gimple_statement_d*, gimple_stmt_iterator_d*,
bool*, _slp_tree*, _slp_instance*)
/home/pthaugen/src/gcc/trunk/gcc/gcc/tree-vect-stmts.c:5784
0x10811c9f vect_transform_loop(_loop_vec_info*)
/home/pthaugen/src/gcc/trunk/gcc/gcc/tree-vect-loop.c:5602
0x108346d7 vectorize_loops()
/home/pthaugen/src/gcc/trunk/gcc/gcc/tree-vectorizer.c:123
0x10747443 tree_vectorize
/home/pthaugen/src/gcc/trunk/gcc/gcc/tree-ssa-loop.c:222
Please submit a full bug report,
with preprocessed source if appropriate.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/57741] ICE in tree.c:build_int_cst_wide starting in revision 200394
2013-06-27 21:16 [Bug tree-optimization/57741] New: ICE in tree.c:build_int_cst_wide starting in revision 200394 pthaugen at gcc dot gnu.org
@ 2013-06-27 21:59 ` jakub at gcc dot gnu.org
2013-07-02 11:57 ` jakub at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-06-27 21:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57741
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2013-06-27
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 30400
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30400&action=edit
gcc49-pr57741.patch
Untested fix.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/57741] ICE in tree.c:build_int_cst_wide starting in revision 200394
2013-06-27 21:16 [Bug tree-optimization/57741] New: ICE in tree.c:build_int_cst_wide starting in revision 200394 pthaugen at gcc dot gnu.org
2013-06-27 21:59 ` [Bug tree-optimization/57741] " jakub at gcc dot gnu.org
@ 2013-07-02 11:57 ` jakub at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-07-02 11:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57741
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jul 2 11:54:09 2013
New Revision: 200600
URL: http://gcc.gnu.org/viewcvs?rev=200600&root=gcc&view=rev
Log:
PR tree-optimization/57741
* tree-vect-loop.c (vect_is_simple_iv_evolution): Disallow
non-INTEGRAL_TYPE_P non-SCALAR_FLOAT_TYPE_P SSA_NAME step_exprs,
or SCALAR_FLOAT_TYPE_P SSA_NAMEs if !flag_associative_math.
Allow REAL_CST step_exprs if flag_associative_math.
(get_initial_def_for_induction): Handle SCALAR_FLOAT_TYPE_P step_expr.
* gcc.dg/vect/pr57741-1.c: New test.
* gcc.dg/vect/pr57741-2.c: New test.
* gcc.dg/vect/pr57741-3.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/vect/pr57741-1.c
trunk/gcc/testsuite/gcc.dg/vect/pr57741-2.c
trunk/gcc/testsuite/gcc.dg/vect/pr57741-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-loop.c
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-02 11:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27 21:16 [Bug tree-optimization/57741] New: ICE in tree.c:build_int_cst_wide starting in revision 200394 pthaugen at gcc dot gnu.org
2013-06-27 21:59 ` [Bug tree-optimization/57741] " jakub at gcc dot gnu.org
2013-07-02 11:57 ` jakub at gcc dot gnu.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).