diff options
author | Kai Tietz <ktietz@redhat.com> | 2011-08-16 18:29:20 +0200 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2011-08-16 18:29:20 +0200 |
commit | c9c8f2e82792603bfc587b49841b2f43ee60d121 (patch) | |
tree | c8eede1fb59795615dd75cd7bee58f5d70c4560e /gcc | |
parent | e8dbf8b528a56294aa8e1026f9e4b3c935694312 (diff) | |
download | gcc-c9c8f2e82792603bfc587b49841b2f43ee60d121.zip gcc-c9c8f2e82792603bfc587b49841b2f43ee60d121.tar.gz gcc-c9c8f2e82792603bfc587b49841b2f43ee60d121.tar.bz2 |
* config/i386/mingw32.h (GOMP_SELF_SPEC): Add -pthread option.
From-SVN: r177789
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/mingw32.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d567a20..a38e913 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-08-16 Kai Tietz <ktietz@redhat.com> + + * config/i386/mingw32.h (GOMP_SELF_SPEC): Add -pthread option. + 2011-08-16 Richard GUenther <rguenther@suse.de> PR tree-optimization/50082 diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 3c835c6..7cb280e 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -189,7 +189,8 @@ do { \ /* mingw32 uses the -mthreads option to enable thread support. */ #undef GOMP_SELF_SPECS -#define GOMP_SELF_SPECS "%{fopenmp: -mthreads}" +#define GOMP_SELF_SPECS "%{fopenmp|ftree-parallelize-loops=*: " \ + "-mthreads -pthread}" /* mingw32 atexit function is safe to use in shared libraries. Use it to register C++ static destructors. */ |