diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 15885512ed314dde94b1389e7a0c51eea3d7a0cf..3803760fc68389fa522d407758dabb9182b35303 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-01-16 Sebastian Pop <sebastian.pop@amd.com> + + PR testsuite/34821 + * doc/invoke.texi: Document the dependence on pthread for fopenmp + and ftree-parallelize-loops. + 2008-01-17 Mircea Namolaru <namolaru@il.ibm.com> PR rtl-optimization/34826 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 5e41ec30f51b97f95b3a65dc0c4935afbd5b81c3..f864cb076da511916a458563ca580e19d6d38b34 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1519,7 +1519,9 @@ freestanding and hosted environments. Enable handling of OpenMP directives @code{#pragma omp} in C/C++ and @code{!$omp} in Fortran. When @option{-fopenmp} is specified, the compiler generates parallel code according to the OpenMP Application -Program Interface v2.5 @w{@uref{http://www.openmp.org/}}. +Program Interface v2.5 @w{@uref{http://www.openmp.org/}}. This option +implies @option{-pthread}, and thus is only supported on targets that +have support for @option{-pthread}. @item -fms-extensions @opindex fms-extensions @@ -5841,7 +5843,9 @@ Parallelize loops, i.e., split their iteration space to run in n threads. This is only possible for loops whose iterations are independent and can be arbitrarily reordered. The optimization is only profitable on multiprocessor machines, for loops that are CPU-intensive, -rather than constrained e.g. by memory bandwidth. +rather than constrained e.g. by memory bandwidth. This option +implies @option{-pthread}, and thus is only supported on targets +that have support for @option{-pthread}. @item -ftree-sra @opindex ftree-sra