https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66835
Bug ID: 66835 Summary: C++ openMP test failed after switching to C++14 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: evstupac at gmail dot com Target Milestone: --- The following test: #define max(a, b) ( (a) > (b) ? (a) : (b) ) float a[4] = {0, -1.2, 7, 0.1}; int main() { #pragma omp simd for (int j = 0; j < 4; j++) { float t1 = 0.1; a[j] = max(t1, a[j]); } return (int)(a[1] - a[3]); } fails with ICE after recent switch to std=c++14 Compiled with "-O2 -flto -fopenmp -std=c++14" The test began to fail after: commit 23a92fc764dc04a0248a570bba74db0a7f7d843d Author: tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue Nov 11 02:31:00 2014 +0000