https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36281

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=36181,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=34501

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Sebastian Pop from comment #0)
> The testcase of PR36181 should be parallelized after being vectorized.
> 
> /* { dg-do compile } */
> /* { dg-options "-O3 -ftree-parallelize-loops=2" } */
> 
> int foo ()
> {
>   int i, sum = 0, data[1024];
> 
>   for(i = 0; i<1024; i++)
>     sum += data[i];
> 
>   return sum;
> }
> 
> The fix for PR36181 was to disable the parallelization of a loop when
> one of the phi nodes had a vector type.  This testcase should also be
> parallelized.  See also the comments from the fix for PR36181:
> http://gcc.gnu.org/ml/gcc-patches/2008-05/msg01217.html

Are you still working on this?

Reply via email to