Skip to content
Snippets Groups Projects
Forked from redox-os / gcc
Source project has a limited visibility.
  • jakub's avatar
    497f2858
    PR libgomp/29947 · 497f2858
    jakub authored
    	* omp-low.c (expand_omp_for_static_nochunk,
    	expand_omp_for_static_chunk): Do all arithmetics in signed rather than
    	unsigned type.
    
    	* loop.c (gomp_loop_init): Make parameters signed.  Set ws->end to
    	start if there shouldn't be any loop iterations.
    	(gomp_loop_ordered_static_start): Remove start == end test.
    	* testsuite/libgomp.c/pr29947-1.c: New test.
    	* testsuite/libgomp.c/pr29947-2.c: New test.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119485 138bc75d-0d04-0410-961f-82ee72b054a4
    497f2858
    History
    PR libgomp/29947
    jakub authored
    	* omp-low.c (expand_omp_for_static_nochunk,
    	expand_omp_for_static_chunk): Do all arithmetics in signed rather than
    	unsigned type.
    
    	* loop.c (gomp_loop_init): Make parameters signed.  Set ws->end to
    	start if there shouldn't be any loop iterations.
    	(gomp_loop_ordered_static_start): Remove start == end test.
    	* testsuite/libgomp.c/pr29947-1.c: New test.
    	* testsuite/libgomp.c/pr29947-2.c: New test.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119485 138bc75d-0d04-0410-961f-82ee72b054a4