aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2004-08-03 18:23:35 +0000
committerDale Johannesen <dalej@gcc.gnu.org>2004-08-03 18:23:35 +0000
commitd974312d077aeccd53b6a042d40f6e1789b6efb7 (patch)
tree264e60950e1d973eccc0c1f4c8b76eb09c4d8306 /gcc/c-common.c
parent8e9031ec4da9923e18540f5b902e50fad27af977 (diff)
downloadgcc-d974312d077aeccd53b6a042d40f6e1789b6efb7.zip
gcc-d974312d077aeccd53b6a042d40f6e1789b6efb7.tar.gz
gcc-d974312d077aeccd53b6a042d40f6e1789b6efb7.tar.bz2
rs6000.c (machopic_output_stub): Align Darwin stubs.
2004-08-03 Dale Johannesen <dalej@apple.com> * config/rs6000/rs6000.c (machopic_output_stub): Align Darwin stubs. * c-common.c: Include opts.h. (c_common_get_alias_set): Fix check for a single input file. * toplev.c: Remove current_file_decl. * tree.h: Ditto. From-SVN: r85492
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 31b8dd9..30d96e6 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -45,6 +45,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "tree-iterator.h"
#include "hashtab.h"
#include "tree-mudflap.h"
+#include "opts.h"
cpp_reader *parse_in; /* Declared in c-pragma.h. */
@@ -2672,7 +2673,7 @@ c_common_get_alias_set (tree t)
return -1;
/* Save time if there's only one input file. */
- if (!current_file_decl || TREE_CHAIN (current_file_decl) == NULL_TREE)
+ if (num_in_fnames == 1)
return -1;
/* Pointers need special handling if they point to any type that