- 12 Jun, 2000 5 commits
-
-
optimize.c (expand_call_inline): Don't recurse into the code used to initialize the parameters more than once. * optimize.c (expand_call_inline): Don't recurse into the code used to initialize the parameters more than once. From-SVN: r34501
Mark Mitchell committed -
From-SVN: r34500
Mark Mitchell committed -
* flow.c (mark_used_regs): Revert last change. (life_analysis): Remove PROP_AUTOINC if running after reload. (propagate_one_insn): PROP_AUTOINC is always off after reload. From-SVN: r34499
Richard Earnshaw committed -
From-SVN: r34498
Jeff Law committed -
* mangle.c (NESTED_TEMPLATE_MATCH): Fix typo in comment. (is_std_substitution): Don't check CLASSTYPE_USE_TEMPLATE here. (find_substitution): Only use the `Sa' substitution for std::allocator, not instantiations of it. (write_template_prefix): Move comment. Only use a TREE_LIST to represent substitutions for a member template. (write_array_type): Mangle array dimensions correctly. * optimize.c (maybe_clone_body): Copy more information from the cloned function. * pt.c (regenerate_decl_from_template): Preserve DECL_USE_TEMPLATE on the regenerated declaration. From-SVN: r34497
Mark Mitchell committed
-
- 11 Jun, 2000 13 commits
-
-
2000-06-09 Rodney Brown <RodneyBrown@mynd.com> * mcore-protos.h: discards const warning removal. * mcore.c: discards const warning removal. 2000-06-09 Kazu Hirata <kazu@hxi.com> * config/h8300/lib1funcs.asm: Declare the machine architecture at the beginning of the file. 2000-06-09 J. David Anglin <dave@hiauly1.hia.nrc.ca> * real.h: Add prototype for ldexp. From-SVN: r34496
Jeff Law committed -
From-SVN: r34495
Jeffrey A Law committed -
2000-06-11 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * rdfmt.c (rd_L): Use if-then-else instead of case statement to solve problems when sizeof(char) == sizeof(short). From-SVN: r34494
Herman A.J. ten Brugge committed -
Sun Jun 11 17:20:00 MET 2000 Toon Moene <toon@moene.indiv.nluug.nl> * MAINTAINERS: Add self as Fortran maintainer, remove Craig Burley. From-SVN: r34493
Toon Moene committed -
* flow.c (mark_used_regs): Don't call find_auto_inc after reload has run. From-SVN: r34492
Richard Earnshaw committed -
From-SVN: r34491
Jeff Law committed -
* bb-reorder.c (build_scope_forest): Initialize variable `curr_scope'. * calls.c (expand_call): Likewise for variables `save_pending_stack_adjust' and `save_stack_pointer_delta'. * i386.c (function_arg_advance, function_arg): Cast to avoid signed/unsigned warnings. * i386.h (MEMORY_MOVE_COST): Likewise. * ifcvt.c (cond_exec_process_if_block): Initialize variables `else_start' and `else_end'. * libgcc2.h (__eh_alloc, __eh_free): Prototype. * regrename.c (rr_replace_reg): Initialize variable `dest_subregno'. ch: * Makefile.in (EXPR_H): New dependency variable. (actions.o, expr.o): Use EXPR_H. (lang.o): Depend on RTL_H and EXPR_H. * lang.c: Include rtl.h and expr.h. (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED. cp: * decl2.c (compare_options): Don't needlessly cast away const-ness. f: * com.c (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED. java: * decl.c (create_primitive_vtable): Prototype. * jcf-write.c (generate_bytecode_insns): Initialize variable `saved_context'. * lang.c (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED. From-SVN: r34490
Kaveh R. Ghazi committed -
* decl.c (add_binding): Handle duplicate declarations of external variables. From-SVN: r34489
Mark Mitchell committed -
* mangle.c (write_number): Take an unsigned HOST_WIDE_INT as an argument. (write_signed_number): New macro. (write_unsigned_number): Likewise. (write_source_name): Use them. (write_number): Handle signed and unsigned values. (write_integer_cst): Use tree_int_cst_sgn, and use write_unsigned_number or write_signed_number as appropriate. (write_discriminator): Use write_unsigned_number or write_signed_number as appropriate. (write_template_arg_literal): Likewise. (write_array_type): Use tree_low_cst. (write_template_parm): Use write_unsigned_number or write_signed_number as appropriate. (write_substitution): Adjust call to write_number. (write_type): Get the TYPE_MAIN_VARIANT before mangling it. (write_expression): Handle non-type template arguments of reference type correctly. (mangle_thunk): Use write_signed_number. * mangle.c (find_substition): Don't mangle objects with typename substitutions (e.g. "cin" as "Si"). Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r34488
Chip Salzenberg committed -
From-SVN: r34487
Mark Mitchell committed -
From-SVN: r34486
Mark Mitchell committed -
From-SVN: r34485
Mark Mitchell committed -
From-SVN: r34484
Mark Mitchell committed
-
- 10 Jun, 2000 4 commits
-
-
From-SVN: r34483
Jeff Law committed -
From-SVN: r34482
Mark Mitchell committed -
From-SVN: r34481
Clinton Popetz committed -
From-SVN: r34480
H.J. Lu committed
-
- 09 Jun, 2000 15 commits
-
-
ggc-none.c, [...] (ggc_alloc_obj): Rename it ggc_alloc, drop second argument, never clear returned memory. toplevel: * ggc-none.c, ggc-simple.c, ggc-page.c (ggc_alloc_obj): Rename it ggc_alloc, drop second argument, never clear returned memory. * ggc-common.c (ggc_alloc_string): Use ggc_alloc. (ggc_alloc_cleared): New. * ggc.h: Prototype ggc_alloc and ggc_alloc_cleared, not ggc_alloc_obj. Remove ggc_alloc macro. (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Use ggc_alloc. * rtl.c (rtvec_alloc): Clear the vector always. (rtx_alloc): Clear the first word always. Remove dirty obstack tricks (this routine is no longer a bottleneck). * tree.c (make_node): Clear the new node always. (make_tree_vec): Likewise. (tree_cons): Clear the common structure always. (build1): Likewise; also, clear TREE_COMPLEXITY. * gengenrtl.c: Use puts wherever possible. Remove extra newlines. (gendef): Clear the first word of an RTX in the generator function, irrespective of ggc_p. Initialize '0' slots to NULL. (genlegend): Don't generate obstack_alloc_rtx routine, just a thin wrapper macro around obstack_alloc. * stmt.c (expand_fixup): Use ggc_alloc. * c-typeck.c (add_pending_init): Use ggc_alloc. * emit-rtl.c (init_emit_once): Clear CONST_DOUBLE_CHAIN(tem). * varasm.c (immed_double_const): Set CONST_DOUBLE_MEM(r) to const0_rtx when it is created. (immed_real_const_1): Set CONST_DOUBLE_CHAIN(r) to NULL_RTX if we are not in a function. * tree.c (tree_class_check_failed): Make second arg an int. * tree.h: Update prototype. cp: * call.c (add_candidate): Use ggc_alloc_cleared. * decl.c (lookup_label): Likewise. * lex.c (retrofit_lang_decl): Likewise. From-SVN: r34478
Zack Weinberg committed -
* cp-demangle.c (demangle_operator_name): Add spaces before names beginning with a letter: delete, delete[], new, new[], sizeof. (demangle_special_name): Handle TF <type> and TJ <type>. From-SVN: r34477
Zack Weinberg committed -
From-SVN: r34476
Mark Mitchell committed -
* tree.h (VOID_TYPE_P): Don't look at the TYPE_MAIN_VARIANT of an error_type_node. From-SVN: r34475
Geoffrey Keating committed -
From-SVN: r34474
Mark Mitchell committed -
From-SVN: r34473
Denis Chertykov committed -
* cp-tree.h (cp_tree_index): Remove Java types. (java_fundamental_type_kind): New enumeration type. (java_fundamental_types): New array. * class.c (push_lang_context): Use java_fundamental_types. * decl.c (java_fundamental_types): Define it. (initialize_java_fundamental_types): New function. (init_decl_processing): Call it * mangle.c (integer_type_codes): Make it const. (java_fundamental_type_codes): New variable. (write_source_name_from_string): New function. (write_identifier): Constify. (write_builtin_type): Handle Java types. Use same_type_p for type comparison. From-SVN: r34472
Mark Mitchell committed -
From-SVN: r34471
Jason Merrill committed -
* timevar.def: Add TV_EXPAND. * timevar.c (timevar_print): Update timing information. * calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining. * stmt.c (expand_return): Check for error_mark_node. cp/: * semantics.c (expand_body): Push to TV_EXPAND. * optimize.c (optimize_function): Push to TV_INTEGRATION. * decl.c (start_function): Always call announce_function. * tinfo2.cc: Just declare abort. From-SVN: r34470
Jason Merrill committed -
From-SVN: r34469
Kaveh R. Ghazi committed -
variable against filename expansion when it contains "char *". From-SVN: r34468
Kaveh R. Ghazi committed -
* system.h (SSIZE_MAX): Delete backup definition. * cppfiles.c (read_include_file): Use INTTYPE_MAXIMUM(ssize_t) instead of SSIZE_MAX. From-SVN: r34467
Kaveh R. Ghazi committed -
* configure.in: Check whether gas supports -relax. * configure, config.in: Rebuilt. * config/sparc/sparc.h (ASM_RELAX_SPEC): Define. (EXTRA_SPECS): Add asm_relax. (ASM_SPEC): Add %(asm_relax). (TARGET_SWITCHES): Add -mrelax and -mno-relax. * config/sparc/linux64.h (LINK_ARCH_SPEC): Rename to LINK_SPEC. (LINK_SPEC): Pass -relax to linker unless -mno-relax or -r. (ASM_SPEC): Add %(asm_relax). * config/sparc/linux.h (LINK_SPEC, ASM_SPEC): Likewise. * config/sparc/sparc.c (output_sibcall): If HAVE_AS_RELAX_OPTION, never use sethi/jmpl for leaf tail calls. Use or with rs2 %g0 instead of mov, so that gas can further optimize it. From-SVN: r34466
Jakub Jelinek committed -
2000-06-09 Gabriel Dos Reis <gdr@codesourcery.com> * lex.c (DEF_OPERATOR): Say `operator@' -not- `operator @' whenever @ is a symbolic name. From-SVN: r34465
Gabriel Dos Reis committed -
From-SVN: r34464
Jeff Law committed
-
- 08 Jun, 2000 3 commits
-
-
* gcc.c-torture/noncompile/noncompile.exp: Remove poison-1 block. * gcc.c-torture/noncompile/poison-1.c: Move... * gcc.dg/poison-1.c: ...here, and adapt to dg framework. * gcc.dg/cpp-li1.c: Add a token after the #line. From-SVN: r34463
Zack Weinberg committed -
* dwarf2out.c (size_of_die, case dw_val_class_const): Use size_of_sleb128. (value_format, case dw_val_class_const): Use sdata format. (output_die): Call output_sleb128. From-SVN: r34462
James E. Wilson committed -
acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing. 2000-06-08 Branko Cibej <branko.cibej@hermes.si> * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing. * aclocal.m4: Regenerate. * configure: Regenerate. * math/cosf.c: New file. * math/fabsf.c: Likewise. * math/sinf.c: Likewise. * math/sqrtf.c: Likewise. * math/Makefile.am (EXTRA_DIST): Add those four files. * math/Makefile.in: Regenerate. From-SVN: r34461
Branko Cibej committed
-