[Bug c++/67504] ICE with type dependent collapse argument
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 9 07:33:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67504
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep 9 07:32:28 2015
New Revision: 227583
URL: https://gcc.gnu.org/viewcvs?rev=227583&root=gcc&view=rev
Log:
PR c++/67504
* parser.c (cp_parser_omp_clause_collapse): Test tree_fits_shwi_p
before INTEGRAL_TYPE_P test.
* g++.dg/gomp/pr67504.C: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/gomp/pr67504.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/parser.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list