- 29 Nov, 1999 18 commits
-
-
Fix for gcc.c-torture/noncompile/920824-1.c on SH (and mips?) * dwarfout.c (field_byte_offset): Size can be zero if there was an error. From-SVN: r30708
J"orn Rennecke committed -
* parse.y (resolve_qualified_expression_name): Handle PLUS_EXPR. (qualify_ambiguous_name): Likewise. (This patch fixes the gcj PR #55.) From-SVN: r30707
Alexandre Petit-Bianco committed -
From-SVN: r30706
Bernd Schmidt committed -
From-SVN: r30705
Bernd Schmidt committed -
From-SVN: r30704
Bruce Korb committed -
From-SVN: r30703
Bernd Schmidt committed -
From-SVN: r30702
Bernd Schmidt committed -
From-SVN: r30701
Bernd Schmidt committed -
From-SVN: r30700
Bernd Schmidt committed -
From-SVN: r30699
Bernd Schmidt committed -
From-SVN: r30698
Bernd Schmidt committed -
From-SVN: r30697
Mark Mitchell committed -
From-SVN: r30696
Jeff Law committed -
1999-11-29 David S. Miller <davem@redhat.com> * config/sparc/sparc.c (init_cumulative_args): Fix type of third arg. * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE. From-SVN: r30695
David S. Miller committed -
From-SVN: r30694
Jeff Law committed -
* com.c (ffecom_file_, ffecom_file, file_buf, ffecom_open_include_): Constify a char*. (ffecom_possible_partial_overlap_): Mark parameter `expr2' with ATTRIBUTE_UNUSED. (ffecom_init_0): Use a fully prototyped cast in call to bsearch. (lang_print_error_function): ANSI-fy. * com.h (ffecom_file): Constify a char*. * fini.c (main): Call return, not exit. * g77spec.c (lang_specific_driver): Use non-const *in_argv in assignment. * intrin.c (ffeintrin_cmp_name_): Don't needlessly cast away const-ness. From-SVN: r30693
Kaveh R. Ghazi committed -
* com.c (ffecom_get_invented_identifier): Rewrite to take an ellipses. (ffecom_char_enhance_arg_, ffecom_do_entry_, ffecom_f2c_make_type_, ffecom_gen_sfuncdef_, ffecom_start_progunit_, ffecom_start_progunit_, ffecom_start_progunit_, ffecom_sym_transform_assign_, ffecom_transform_equiv_, ffecom_transform_namelist_, ffecom_vardesc_, ffecom_vardesc_array_, ffecom_vardesc_dims_, ffecom_end_transition, ffecom_lookup_label, ffecom_temp_label): Adjust accordingly. * com.h (ffecom_get_invented_identifier): Likewise. * sts.c (ffests_printf): New function taking ellipses. (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s, ffests_printf_2Us): Delete. * sts.h: Likewise. * std.c (ffestd_R1001dump_, ffestd_R1001dump_1005_1_, ffestd_R1001dump_1005_2_, ffestd_R1001dump_1005_3_, ffestd_R1001dump_1005_4_, ffestd_R1001dump_1005_5_, ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_, ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_, ffestd_R1001rtexpr_): Call `ffests_printf', not `ffests_printf_*'. * ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_, ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_): Likewise. From-SVN: r30692
Kaveh R. Ghazi committed -
* libiberty.h: Include stdarg.h when ANSI_PROTOTYPES is defined. (asprintf, vasprintf): Provide declarations. From-SVN: r30691
Kaveh R. Ghazi committed
-
- 28 Nov, 1999 11 commits
-
-
* i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn table from .fini into .dtor. From-SVN: r30690
Robert Lipe committed -
* tree.h (struct tree_decl): Add malloc_flag. (DECL_IS_MALLOC): Define. * c-common.c (attrs): Add A_MALLOC attribute. (init_attributes): Add this attribute to the table. (decl_attributes): Handle malloc attribute. * calls.c (special_function_p): Check for the malloc attribute. * extend.texi (Function Attributes): Document malloc attribute. From-SVN: r30689
Anthony Green committed -
From-SVN: r30688
Jeffrey A Law committed -
problem when printing info when 3 delay slots are filled. From-SVN: r30687
Herman A.J. ten Brugge committed -
From-SVN: r30686
Jeff Law committed -
combine.c (setup_incoming_promotions): Pass an outgoing regno to FUNCTION_ARG_REGNO_P which it expects. * combine.c (setup_incoming_promotions): Pass an outgoing regno to FUNCTION_ARG_REGNO_P which it expects. From-SVN: r30685
Jakub Jelinek committed -
From-SVN: r30684
Andreas Jaeger committed -
From-SVN: r30683
Philippe De Muyter committed -
From-SVN: r30682
Philippe De Muyter committed -
* integrate.c (mark_stores): Function definition made void, to match previous declaration. * regclass.c (dump_regclass): Ditto. * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'. From-SVN: r30681
Philippe De Muyter committed -
From-SVN: r30680
William Bader committed
-
- 27 Nov, 1999 8 commits
-
-
From-SVN: r30679
Mark Mitchell committed -
decl2.c (finish_file): Call expand_body for inline functions that will be written out but that do not... * decl2.c (finish_file): Call expand_body for inline functions that will be written out but that do not yet have RTL. * semantics.c (expand_body): Do not generate RTL For inline functions that do not yet need to be written out. From-SVN: r30678
Mark Mitchell committed -
* expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is known to be multiple of divisor. From-SVN: r30677
Richard Kenner committed -
From-SVN: r30676
Richard Kenner committed -
From-SVN: r30675
Bernd Schmidt committed -
combine.c (try_combine): Add code to try to merge a set of a two-word pseudo to a constant with a... * combine.c (try_combine): Add code to try to merge a set of a two-word pseudo to a constant with a setting of one of those words to a constant. From-SVN: r30674
Richard Kenner committed -
* fold-const.c (negate_expr, associate_trees, extract_muldiv): New. (split_tree): Completely rework to make more general. (make_range, fold): Call negate_expr. (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math. (fold, associate): Call new split_tree and associate_trees. (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv. From-SVN: r30673
Richard Kenner committed -
From-SVN: r30672
Jeff Law committed
-
- 26 Nov, 1999 2 commits
-
-
From-SVN: r30671
Bernd Schmidt committed -
From-SVN: r30670
Jeff Law committed
-
- 25 Nov, 1999 1 commit
-
-
1999-11-25 Mark Mitchell <mark@codesourcery.com> * Make-lang.in (CXX_SRCS): Add optimize.c. * Makefile.in (CXX_OBJS): Add optimize.o. (CXX_TREE_H): Add splay-tree.h, system.h, and $(CONFIG_H). (spew.o, lex.o, decl.o, decl2.o, typeck2.o, typeck.o): Adjust. (class.o, call.o, friend.o, init.o, method.o, cvt.o): Likewise. (search.o, tree.o, ptree.o, rtti.o, except.o, expr.o): Likewise. (xref.o, pt.o, error.o, errfn.o, repo.o, semantics.o): Likewise. (dump.o): Likewise. (optimize.o): New target. * class.c: Don't include splay-tree.h. * cp-tree.def (CTOR_COMPLETE): Rename to CTOR_STMT. * cp-tree.h: Include splay-tree.h. (DECL_UNINLINABLE): New macro. (CTOR_BEGIN_P, CTOR_END_P): New macros. (flag_inline_trees): New variable. (local_variable_p): New function. (nonstatic_local_decl_p): Likewise. (optimize_function): Likewise. (cplus_unsave_expr_now): Remove. (copy_tree_r): Declare. (remap_save_expr): Likewise. * decl.c (local_variable_p): Don't make it static. (local_variable_p_walkfn): New function. (make_rtl_for_local_static): Remove code to try to avoid writing out static constants. (emit_local_var): Fix indentation. (nonstatic_local_decl_p): New function. (check_default_argument): Use local_variable_p_walkfn, not local_variable_p, when walking the tree. (start_function): Set the DECL_CONTEXT for automatically generated labels. (finish_constructor_body): Use CTOR_STMT to mark the end of a constructor. * decl2.c: Don't include splay-tree.h. (flag_inline_trees): Define. * dump.c: Don't include splay-tree.h. * except.c (expand_end_catch_block): Fix comment formatting. (expand_end_eh_spec): Set DECL_CONTEXT on temporary variables. (expand_throw): Tidy comment. * init.c (build_vec_delete_1): Use create_temporary_var. * lex.c (cplus_tree_code_type): Make it static. (cplus_tree_code_length): Likewise. (cplus_tree_code_name): Likewise. * optimize.c: New file. * semantics.c (finish_goto_stmt): Set DECL_UNLINABLE for functions with computed gotos. (setup_vtbl_ptr): Mark the beginnings of constructors with CTOR_STMT. (expand_stmt): Handle CTOR_STMT, not CTOR_COMPLETE. (expand_body): Call optimize_function. Save bodies if we're doing inlining on trees. * tree.c: Don't include splay-tree.h. Include insn-config.h and integrate.h. (copy_tree_r): Make it public. (statement_code_p): New function. (mark_local_for_remap_r): Likewise. (cp_usave_r): Likewise. (cp_unsave): Likewise. (build_cplus_new): Set DECL_CONTEXT for temporary variables. (walk_tree): Walk into `s' class nodes. Walk statement chains. (copy_tree_r): Handle 's' class nodes. Restore chains for statements. Nullify scopes. Don't copy types. (init_tree): Set lang_unsave to cp_unsave. (remap_save_expr): Define. * ir.texi: Document CTOR_STMT. From-SVN: r30669
Mark Mitchell committed
-