This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/69264] [4.9/5 regression] ICE building spidermonkey -mcpu=970 -maltivec -O3: rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.c:4350
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Jan 2016 19:24:12 +0000
- Subject: [Bug target/69264] [4.9/5 regression] ICE building spidermonkey -mcpu=970 -maltivec -O3: rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.c:4350
- Auto-submitted: auto-generated
- References: <bug-69264-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69264
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc64-linux-gnu |powerpc64*-linux-gnu
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-01-21
CC| |msebor at gcc dot gnu.org
Summary|[4.9/5 regression] ICE when |[4.9/5 regression] ICE
|building spidermonkey |building spidermonkey
|w/-maltivec -O3: |-mcpu=970 -maltivec -O3:
|rs6000_builtin_vectorizatio |rs6000_builtin_vectorizatio
|n_cost, at |n_cost, at
|config/rs6000/rs6000.c:4350 |config/rs6000/rs6000.c:4350
Ever confirmed|0 |1
Known to fail| |6.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with yesterday's trunk on both powerpc64 and powerpc64le. The
-mcpu=970 option is also important.
$ /build/gcc-trunk/gcc/xgcc -B /build/gcc-trunk/gcc -Wall -maltivec -mcpu=970
-O3 -xc++ t.c
t.c: In function âjsval_layout STRING_TO_JSVAL_IMPL()â:
t.c:4:45: warning: no return statement in function returning non-void
[-Wreturn-type]
static jsval_layout STRING_TO_JSVAL_IMPL() {}
^
t.c: In function âValue IdToValue(int)â:
t.c:39:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
t.c: In function âvoid PutProperty(JSContext*, int, jsval*)â:
t.c:71:30: warning: ânameobjâ is used uninitialized in this function
[-Wuninitialized]
nameobj->getQNameLocalName();
^
t.c: In function âvoid xml_defineProperty(JSContext*, int, const Value*)â:
t.c:74:6: internal compiler error: in rs6000_builtin_vectorization_cost, at
config/rs6000/rs6000.c:5105
void xml_defineProperty(JSContext *cx, int id, const Value *v)
^~~~~~~~~~~~~~~~~~
0x115a776f rs6000_builtin_vectorization_cost
/src/gcc/trunk/gcc/config/rs6000/rs6000.c:5105
0x1142e5b7 builtin_vectorization_cost
/src/gcc/trunk/gcc/tree-vectorizer.h:835
0x1142e8bb record_stmt_cost(vec<stmt_info_for_cost, va_heap, vl_ptr>*, int,
vect_cost_for_stmt, _stmt_vec_info*, int, vect_cost_model_location)
/src/gcc/trunk/gcc/tree-vect-stmts.c:98
0x114310eb vect_get_store_cost(data_reference*, int, unsigned int*,
vec<stmt_info_for_cost, va_heap, vl_ptr>*)
/src/gcc/trunk/gcc/tree-vect-stmts.c:1023
0x11430eaf vect_model_store_cost(_stmt_vec_info*, int, bool, vect_def_type,
_slp_tree*, vec<stmt_info_for_cost, va_heap, vl_ptr>*, vec<stmt_info_for_cost,
va_heap, vl_ptr>*)
/src/gcc/trunk/gcc/tree-vect-stmts.c:980
0x1147ecab vect_analyze_slp_cost_1
/src/gcc/trunk/gcc/tree-vect-slp.c:1493
0x1147f46f vect_analyze_slp_cost
/src/gcc/trunk/gcc/tree-vect-slp.c:1619
0x11481ca3 vect_slp_analyze_operations(vec<_slp_instance*, va_heap, vl_ptr>,
void*)
/src/gcc/trunk/gcc/tree-vect-slp.c:2355
0x114828ef vect_slp_analyze_bb_1
/src/gcc/trunk/gcc/tree-vect-slp.c:2627
0x11482ce3 vect_slp_bb(basic_block_def*)
/src/gcc/trunk/gcc/tree-vect-slp.c:2713
0x1148dd5b execute
/src/gcc/trunk/gcc/tree-vectorizer.c:759
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.