diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2003-03-09 19:47:54 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2003-03-09 19:47:54 +0000 |
commit | 4677862a0bfa291cf015559f78ee9cbf7d9f0734 (patch) | |
tree | 15f04fa68a22dbaa3b962124526e39ef880b4185 /gcc/c-common.c | |
parent | 2de12bc4884b12681c91d25385353b23afef6ecf (diff) | |
download | gcc-4677862a0bfa291cf015559f78ee9cbf7d9f0734.zip gcc-4677862a0bfa291cf015559f78ee9cbf7d9f0734.tar.gz gcc-4677862a0bfa291cf015559f78ee9cbf7d9f0734.tar.bz2 |
re PR middle-end/9986 ([HP-UX] [3.4 regression] Incorrect transformation of fputs_unlocked to fputc_unlocked)
PR middle-end/9986
* c-common.c (c_common_nodes_and_builtins): Initialize target builtins
after the common builtins.
* pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define.
* pa.c (TARGET_INIT_BUILTINS): Define.
(pa_init_builtins): New function.
* pa.md (call, call_value, sibcall, sibcall_value): When sufficient
space has been allocated for the outgoing arguments, set the arg
pointer for a call emitted after virtuals have been instantiated
using the stack pointer offset, otherwise abort.
From-SVN: r64043
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 65f9799..983cd29 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -3428,8 +3428,6 @@ c_common_nodes_and_builtins () = build_pointer_type (build_qualified_type (char_type_node, TYPE_QUAL_CONST)); - (*targetm.init_builtins) (); - /* This is special for C++ so functions can be overloaded. */ wchar_type_node = get_identifier (MODIFIED_WCHAR_TYPE); wchar_type_node = TREE_TYPE (identifier_global_value (wchar_type_node)); @@ -3618,6 +3616,8 @@ c_common_nodes_and_builtins () #include "builtins.def" #undef DEF_BUILTIN + (*targetm.init_builtins) (); + main_identifier_node = get_identifier ("main"); } |