Compiling "libgomp.c++/task-4.C" with "g++" is successful, but compiling it with "g++ -fopenmp" gives: libgomp.c++/task-4.C: In function 'void foo(int, int)': libgomp.c++/task-4.C:37: error: type mismatch in indirect reference int[0:D.2193] int[0:<<< error >>>] D.2218 = &(*q.1)[0]; libgomp.c++/task-4.C:37: error: type mismatch in indirect reference int[0:D.2173] int[0:<<< error >>>] D.2219 = &(*p.0)[0]; libgomp.c++/task-4.C:37: internal compiler error: verify_stmts failed (It might be not a true regression but a side effect of stricter type checking in 4.5.)
*** This bug has been marked as a duplicate of 39958 ***