This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/49948] ICE with -ftree-parallelize-loops: "address taken, but ADDRESSABLE bit not set"


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49948

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gjl at gcc dot gnu.org

--- Comment #9 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-08-08 13:41:19 UTC ---
(In reply to comment #6)
> Author: jakub
> Date: Wed Aug  3 18:49:40 2011
> New Revision: 177291
> 
> Added:
>     trunk/gcc/testsuite/gcc.dg/pr49948.c

This causes the following test FAIL:

xgcc: error: unrecognized command line option '-pthread'

compiler exited with status 1
output is:
xgcc: error: unrecognized command line option '-pthread'


FAIL: gcc.dg/pr49948.c (test for excess errors)
Excess errors:
xgcc: error: unrecognized command line option '-pthread'

This is because of
gcc.c:#define GOMP_SELF_SPECS "%{fopenmp|ftree-parallelize-loops=*: -pthread}"

Please add
/* { dg-require-effective-target pthread_h } */

or a similar gate to respective test cases.

Thanks,

Johann


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]