Skip to content
Snippets Groups Projects
  • Jakub Jelinek's avatar
    956adfaf
    re PR c++/38348 (ICE from c_finish_omp_for) · 956adfaf
    Jakub Jelinek authored
    	PR c++/38348
    	* c-omp.c (c_finish_omp_for): Only transform pointer
    	++ or -- into MODIFY_EXPR if second argument is non-NULL.
    
    	* g++.dg/gomp/for-19.C: New test.
    
    	* testsuite/libgomp.c++/for-6.C: New test.
    
    From-SVN: r142318
    956adfaf
    History
    re PR c++/38348 (ICE from c_finish_omp_for)
    Jakub Jelinek authored
    	PR c++/38348
    	* c-omp.c (c_finish_omp_for): Only transform pointer
    	++ or -- into MODIFY_EXPR if second argument is non-NULL.
    
    	* g++.dg/gomp/for-19.C: New test.
    
    	* testsuite/libgomp.c++/for-6.C: New test.
    
    From-SVN: r142318