This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49948] ICE with -ftree-parallelize-loops: "address taken, but ADDRESSABLE bit not set"
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 8 Aug 2011 13:41:54 +0000
- Subject: [Bug tree-optimization/49948] ICE with -ftree-parallelize-loops: "address taken, but ADDRESSABLE bit not set"
- Auto-submitted: auto-generated
- References: <bug-49948-4@http.gcc.gnu.org/bugzilla/>
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