[Bug tree-optimization/38153] ICE in testcase when compiled with -ftree-parallelize-loops
reichelt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 26 18:41:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38153
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jakub at redhat dot com
Known to work| |5.5.0, 6.4.1, 7.2.1, 8.0
Resolution|--- |FIXED
Target Milestone|--- |5.5
Known to fail|6.0 |5.4.0, 6.1.0, 6.4.0, 7.1.0,
| |7.2.0
--- Comment #6 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
This was fixed with Jakub's patch for PR81867 which was applied to trunk and
the GCC 7, GCC 6, and GCC 5 branches:
https://gcc.gnu.org/ml/gcc-cvs/2017-08/msg00266.html
Author: jakub
Date: Thu Aug 10 00:33:20 2017
New Revision: 251019
URL: https://gcc.gnu.org/viewcvs?rev=251019&root=gcc&view=rev
Log:
PR c/81687
* omp-low.c (omp_copy_decl): Don't remap FORCED_LABEL or DECL_NONLOCAL
LABEL_DECLs.
* tree-cfg.c (move_stmt_op): Don't adjust DECL_CONTEXT of FORCED_LABEL
or DECL_NONLOCAL labels.
(move_stmt_r) <case GIMPLE_LABEL>: Adjust DECL_CONTEXT of FORCED_LABEL
or DECL_NONLOCAL labels here.
* testsuite/libgomp.c/pr81687-1.c: New test.
* testsuite/libgomp.c/pr81687-2.c: New test.
Added:
trunk/libgomp/testsuite/libgomp.c/pr81687-1.c
trunk/libgomp/testsuite/libgomp.c/pr81687-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
trunk/gcc/tree-cfg.c
trunk/libgomp/ChangeLog
Jakub, do you want to add the testcase from comment #1 to the testsuite (which
fails more reliably than the original testcase or the testcase from comment #4
at least on x86_64-pc-linux-gnu). Or do you think the testcases you added are
sufficient?
More information about the Gcc-bugs
mailing list