aboutsummaryrefslogtreecommitdiff
path: root/gcc/vec.h
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2010-06-28 12:04:54 +0000
committerNathan Froyd <froydnj@codesourcery.com>2010-06-28 12:04:54 +0000
commit2fc98dc105990f86e8cba001b0577568cd2e6449 (patch)
treebb1f1cf3fc571083de0db917a2eeeb95c8c15cb4 /gcc/vec.h
parenta8d33d41d32ce2bb74ca82a5b66b40b99274f56c (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.h3
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