[Bug tree-optimization/46193] ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46193 vries at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #9 from vries at gcc dot gnu.org --- patch and test-case committed, marking resolved-fixed
[Bug tree-optimization/46193] ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46193 --- Comment #8 from vries at gcc dot gnu.org --- Author: vries Date: Sat Aug 29 07:07:51 2015 New Revision: 227315 URL: https://gcc.gnu.org/viewcvs?rev=227315&root=gcc&view=rev Log: Handle mix/max pointer reductions in parloops 2015-08-29 Tom de Vries PR tree-optimization/46193 * omp-low.c (omp_reduction_init): Handle pointer type for min or max clause. * gcc.dg/autopar/pr46193.c: New test. * testsuite/libgomp.c/pr46193.c: New test. Added: trunk/gcc/testsuite/gcc.dg/autopar/pr46193.c trunk/libgomp/testsuite/libgomp.c/pr46193.c Modified: trunk/gcc/ChangeLog trunk/gcc/omp-low.c trunk/gcc/testsuite/ChangeLog trunk/libgomp/ChangeLog
[Bug tree-optimization/46193] ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46193 --- Comment #7 from vries at gcc dot gnu.org --- ping^2: https://gcc.gnu.org/ml/gcc-patches/2015-08/msg01423.html
[Bug tree-optimization/46193] ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46193 --- Comment #6 from vries at gcc dot gnu.org --- Author: vries Date: Mon Jul 27 23:46:16 2015 New Revision: 226289 URL: https://gcc.gnu.org/viewcvs?rev=226289&root=gcc&view=rev Log: Handle mix/max pointer reductions in parloops 2015-07-28 Tom de Vries PR tree-optimization/46193 * omp-low.c (omp_reduction_init): Handle pointer type for min or max clause. * gcc.dg/autopar/pr46193.c: New test. * testsuite/libgomp.c/pr46193.c: New test. Added: branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/autopar/pr46193.c branches/gomp-4_0-branch/libgomp/testsuite/libgomp.c/pr46193.c Modified: branches/gomp-4_0-branch/gcc/ChangeLog.gomp branches/gomp-4_0-branch/gcc/omp-low.c branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
[Bug tree-optimization/46193] ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46193 --- Comment #5 from vries at gcc dot gnu.org --- pinged patch 2015-07-22: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01883.html
[Bug tree-optimization/46193] ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46193 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||patch --- Comment #4 from vries at gcc dot gnu.org --- https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01018.html
[Bug tree-optimization/46193] ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46193 vries at gcc dot gnu.org changed: What|Removed |Added CC||vries at gcc dot gnu.org --- Comment #3 from vries at gcc dot gnu.org --- Created attachment 35962 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35962&action=edit Tentative patch
[Bug tree-optimization/46193] ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46193 --- Comment #2 from Uros Bizjak 2010-10-30 21:18:05 UTC --- We have pointer type that triggers assert: #1 0x00708873 in omp_reduction_init (clause=, type=0x72054930) at ../../gcc-svn/trunk/gcc/omp-low.c:2212 2212 gcc_assert (INTEGRAL_TYPE_P (type)); (gdb) p debug_generic_expr (type) char * $1 = void
[Bug tree-optimization/46193] ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46193 Uros Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2010.10.30 21:15:40 Ever Confirmed|0 |1 --- Comment #1 from Uros Bizjak 2010-10-30 21:15:40 UTC --- Confirmed with 4.6.0, backtrace: (gdb) bt #0 fancy_abort (file=0xd11c58 "../../gcc-svn/trunk/gcc/omp-low.c", line=2212, function=0xd138e0 "omp_reduction_init") at ../../gcc-svn/trunk/gcc/diagnostic.c:880 #1 0x00708873 in omp_reduction_init (clause=, type=0x72054930) at ../../gcc-svn/trunk/gcc/omp-low.c:2212 #2 0x0082a13a in initialize_reductions (slot=, data=0x72036b28) at ../../gcc-svn/trunk/gcc/tree-parloops.c:415 #3 0x00c9c1d8 in htab_traverse_noresize (htab=, callback=0x82a070 , info=0x72036b28) at ../../gcc-svn/trunk/libiberty/hashtab.c:784 #4 0x0082c09e in gen_parallel_loop (loop=, reduction_list=0x1389f00, n_threads=2, niter=) at ../../gcc-svn/trunk/gcc/tree-parloops.c:1640 #5 0x0082d58b in parallelize_loops () at ../../gcc-svn/trunk/gcc/tree-parloops.c:1976 #6 0x008ae469 in tree_parallelize_loops () at ../../gcc-svn/trunk/gcc/tree-ssa-loop.c:589