Commit a89e95f9 by Richard Earnshaw Committed by Richard Earnshaw

c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): Correctly build…

c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): Correctly build argument list to constructor and destructor functions.

* c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
Correctly build argument list to constructor and destructor functions.

From-SVN: r29728
parent c61d8a8f
Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
* c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
Correctly build argument list to constructor and destructor functions.
Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com> Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
* c-tree.h (warn_float_equal): Declare. * c-tree.h (warn_float_equal): Declare.
......
...@@ -183,7 +183,9 @@ finish_file () ...@@ -183,7 +183,9 @@ finish_file ()
{ {
tree fnname = get_file_function_name ('I'); tree fnname = get_file_function_name ('I');
start_function (void_list_node_1, start_function (void_list_node_1,
build_parse_node (CALL_EXPR, fnname, void_list_node_1, build_parse_node (CALL_EXPR, fnname,
tree_cons (NULL_TREE, NULL_TREE,
void_list_node_1),
NULL_TREE), NULL_TREE),
NULL_TREE, NULL_TREE, 0); NULL_TREE, NULL_TREE, 0);
fnname = DECL_ASSEMBLER_NAME (current_function_decl); fnname = DECL_ASSEMBLER_NAME (current_function_decl);
...@@ -203,7 +205,9 @@ finish_file () ...@@ -203,7 +205,9 @@ finish_file ()
{ {
tree fnname = get_file_function_name ('D'); tree fnname = get_file_function_name ('D');
start_function (void_list_node_1, start_function (void_list_node_1,
build_parse_node (CALL_EXPR, fnname, void_list_node_1, build_parse_node (CALL_EXPR, fnname,
tree_cons (NULL_TREE, NULL_TREE,
void_list_node_1),
NULL_TREE), NULL_TREE),
NULL_TREE, NULL_TREE, 0); NULL_TREE, NULL_TREE, 0);
fnname = DECL_ASSEMBLER_NAME (current_function_decl); fnname = DECL_ASSEMBLER_NAME (current_function_decl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment