diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-06-28 12:04:54 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@codesourcery.com> | 2010-06-28 12:04:54 +0000 |
commit | 2fc98dc105990f86e8cba001b0577568cd2e6449 (patch) | |
tree | bb1f1cf3fc571083de0db917a2eeeb95c8c15cb4 /gcc/vec.h | |
parent | a8d33d41d32ce2bb74ca82a5b66b40b99274f56c (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@161486 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/vec.h')
-rw-r--r-- | gcc/vec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/vec.h b/gcc/vec.h index c32bf8829e3..93a432df839 100644 --- a/gcc/vec.h +++ b/gcc/vec.h @@ -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 |