diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-06-28 12:04:54 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-06-28 12:04:54 +0000 |
commit | 04924d6a8881c2f4d4461e0e7a169846f2a34a05 (patch) | |
tree | bb1f1cf3fc571083de0db917a2eeeb95c8c15cb4 /gcc/vec.h | |
parent | 3b06d379028526625f4b9e0cf5d5f5137de950d4 (diff) | |
download | gcc-04924d6a8881c2f4d4461e0e7a169846f2a34a05.zip gcc-04924d6a8881c2f4d4461e0e7a169846f2a34a05.tar.gz gcc-04924d6a8881c2f4d4461e0e7a169846f2a34a05.tar.bz2 |
vec.h (vec_heap_free): Add parentheses around free.
gcc/
* vec.h (vec_heap_free): Add parentheses around free.
gcc/fortran/
* trans-openmp.c (dovar_init): Define. Define VECs containing it.
(gfc_trans_omp_do): Use a VEC to accumulate variables and their
initializers.
From-SVN: r161486
Diffstat (limited to 'gcc/vec.h')
-rw-r--r-- | gcc/vec.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -436,7 +436,8 @@ extern void dump_vec_loc_statistics (void); #ifdef GATHER_STATISTICS void vec_heap_free (void *); #else -#define vec_heap_free(V) free (V) +/* Avoid problems with frontends that #define free(x). */ +#define vec_heap_free(V) (free) (V) #endif #if ENABLE_CHECKING |