1. 10 Jul, 2003 4 commits
    • mn10300.h (PREDICATE_CODES): Define. · 18e9d2f9
      * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
      2001-05-01  Alexandre Oliva  <aoliva@redhat.com>
      * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
      to flag_unsafe_math_optimizations.
      2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
      * config/mn10300/mn10300.c (expand_prologue): Mark
      FP-register-saving insns as frame-related.
      2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
      * config/mn10300/mn10300.c
      (mn10300_get_live_callee_saved_regs): Don't search past
      LAST_EXTENDED_REGNUM.
      (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
      * config/mn10300/mn10300.md: Remove excessive line breaks from
      `@' output patterns that were accounted as additional
      alternatives.
      * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
      Re-introduce changes accidentally removed in Richard Sandiford's
      2000-12-05's patch.
      * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
      Re-instate am33-2 lost in merge from net GCC.
      2000-08-26  Alexandre Oliva  <aoliva@redhat.com>
      * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
      floating-point registers.
      2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
      * config/mn10300/mn10300.md (movdf): Revert some am33-specific
      pessimizations that had gone in on 2000-05-08.
      2000-06-28  Graham Stott  <grahams@cygnus.co.uk>
      * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
      2000-06-22  Graham Stott  <grahams@cygnus.co.uk>
      * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
      operand 0.
      * (movhi): Likewise.
      * (movsi): Likewise.
      * (movsf): Likewise.
      * (movdi): Likewise.
      * (movdf): Likewise.
      Wed May 24 13:16:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.c (fp_regs_to_save): New function.
      (can_use_return_insn, initial_offset): Add fp_regs_to_save.
      (expand_prologue, expand_epilogue): Save and restore FP regs.
      2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
      2000-05-13  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
      subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
      Do not clobber cc0.
      2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
      Discourage the two-argument, longer opcodes.
      (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
      ones.
      * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
      (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
      * config/mn10300/mn10300.md (cmpsf): New pattern.
      (branch): Test mdep.fpCC and output fbCC.
      * config/mn10300/mn10300.c (print_operand): Output conditions.
      (notice_cc_update): Recognize fcmp and set mdep.fpCC.
      2000-05-10  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
      mulsf3, divsf3): Use the `F' constraint for FP values.
      * config/mn10300/mn10300.c (const_1f_operand): New function.
      * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
      * config/mn10300/mn10300.md (sqrtsf2): New expand.
      (rsqrtsf2): New insn.
      2000-05-09  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
      previous check-in.
      2000-05-08  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.md (abssf2, negdf2): On
      TARGET_AM33_2, expand to...
      (abssf2_am33_2, negdf2_am33_2): New insns.
      (addsf3, subsf3, mulsf3, divsf3): Likewise.
      (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
      * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
      movdi, movdf): Added FP regs.
      * invoke.texi (-mam33-2, -mno-am33-2): Document.
      2000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
      New macros.
      (REGNO_AM33_2_FP_P): Renamed to...
      (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
      (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
      2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
      regs from GENERAL_REGS.
      2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
      * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
      * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
      2000-04-23  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
      as FP_REGS.
      2000-04-21  Alexandre Oliva  <aoliva@cygnus.com>
      * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
      (EXTRA_CONSTRAINT): Added OK_FOR_Q.
      * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
      * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
      * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
      (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
      AM33/2.0 floating-point registers.
      (CONDITIONAL_REGISTER_USAGE): Adjust.
      (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
      (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
      (REG_CLASS_FROM_LETTER): Added `f' and `A'.
      (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
      * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
      (MULTILIB_DIRNAMES): Likewise.
      * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
      `__AM33_2__' when `-mam33-2' is given.
      (TARGET_AM33_2): Define.
      (TARGET_SWITCHES): Adjust.
      * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
      when appropriate.
      
      From-SVN: r69167
      Alexandre Oliva committed
    • * doc/install.texi: Add missing @. · 2ff16718
      From-SVN: r69166
      Matt Kraai committed
    • * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define. · a7bda3d5
      From-SVN: r69165
      Bob Wilson committed
    • Daily bump. · a1188b98
      From-SVN: r69163
      GCC Administrator committed
  2. 09 Jul, 2003 36 commits
    • typeck.c (build_x_unary_op): Take note of the fact that PREINCREMENT_EXPR and… · 6489f188
      typeck.c (build_x_unary_op): Take note of the fact that PREINCREMENT_EXPR and POSTINCREMENT_EXPR are binary...
      
      	* typeck.c (build_x_unary_op): Take note of the fact that
      	PREINCREMENT_EXPR and POSTINCREMENT_EXPR are binary operations on
      	trees.
      
      From-SVN: r69161
      Mark Mitchell committed
    • parser.c (cp_parser_primary_expression): Preserve the form of qualified expressions in templates... · 279b8466
      	* parser.c (cp_parser_primary_expression): Preserve the form of
      	qualified expressions in templates, even if they are not
      	dependent.
      	* pt.c (convert_nontype_argument): Handle non-dependent SCOPE_REFs.
      	(tsubst_qualified_id): Likewise.
      	* search.c (accessible_p): Treat everything in the body of a
      
      From-SVN: r69160
      Mark Mitchell committed
    • i386.c (ix86_function_arg_boundary): Remove abort. · bb498ea3
      2003-07-09  Aldy Hernandez  <aldyh@redhat.com>
      
      	PR/11144
      	* config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
      
      From-SVN: r69159
      Aldy Hernandez committed
    • re PR bootstrap/11043 ([arc-elf32] make fails due to missing rules) · 21f3dbfc
      	PR bootstrap/11043
      	* config/arc/t-arc: Replace bogus references to "x-crtinit.o",
      	"x-crtfini.o" with "crtinit.o", "crtfini.o".
      
      From-SVN: r69156
      Nathanael Nerode committed
    • re PR fortran/11301 (ICE with -fno-globals) · 64f970fe
      2003-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	PR Fortran/11301
      	* com.c (ffecom_sym_transform_): finish_decl should have
      	the same last argument as start_decl.
      
      From-SVN: r69155
      Toon Moene committed
    • inclhack.def (limits_ifndefs): Add select test. · 15e4ea18
      	* fixinc/inclhack.def (limits_ifndefs): Add select test.
      	* fixinc/fixincl.x: Rebuild.
      
      From-SVN: r69154
      Nathanael Nerode committed
    • SyncTest.java (run): Cache .class value. · cd61dacb
      2003-07-09  Jeff Sturm  <jsturm@one-point.com>
      
      	* libjava.lang/SyncTest.java (run): Cache .class value.
      
      From-SVN: r69153
      Jeff Sturm committed
    • Makefile.in: Rebuilt. · 4a2e2916
      	* Makefile.in: Rebuilt.
      	* Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
      
      From-SVN: r69152
      Tom Tromey committed
    • inclhack.def (math_exception): Improve bypass and comment. · a401fd60
      	* fixinc/inclhack.def (math_exception):  Improve bypass and comment.
      	* fixinc/fixincl.x: Rebuild.
      
      From-SVN: r69151
      Nathanael Nerode committed
    • stl_tree.h: Move larger member functions in _Rb_tree_base_iterator and _Rb_tree_node to... · ca1c7011
      
      2003-07-09  Gawain Bolton  <gp.bolton@computer.org>
      
      	* include/bits/stl_tree.h: Move larger member functions in
      	_Rb_tree_base_iterator and _Rb_tree_node to...
      	* src/stl_tree.cc: Here.
      	* src/Makefile.in: Add stl_tree.cc.
      	* src/Makefile.in: Regenerated.
      	* config/linker-map.gnu: Add symbols here.
      
      From-SVN: r69150
      Gawain Bolton committed
    • install.texi (Configuration): Document the valgrind option to --enable-checking. · c2f82a84
      	* doc/install.texi (Configuration): Document the valgrind option
      	to --enable-checking.
      
      From-SVN: r69146
      Hans-Peter Nilsson committed
    • bprob.exp (prof_ext): Update. · bda8c1ca
      	* g++.dg/bprob/bprob.exp (prof_ext): Update.
      	* g77.dg/bprob/bprob.exp (prof_ext): Update.
      	* gcc.misc-tests/bprob.exp (prof_ext): Update.
      	* gcc.misc-tests/gcov.exp: Update
      	* g++.dg/gcov/gcov.exp: Update
      	* lib/gcov.exp: Update.
      
      From-SVN: r69145
      Nathan Sidwell committed
    • gcc_release (announce_snapshot): Add substitution of @BRANCH for README and index.html. · c73aebc3
      	* gcc_release (announce_snapshot): Add substitution of @BRANCH
      	for README and index.html.  Remove substitution of @LONG_DATE.
      	Put index.html into the respective snapshot directory.
      	Adjust subject of the notification mail to the new naming scheme
      	for CVS tags.
      	Adjust name of the LATEST-IS-... files to the new naming scheme
      	for snapshot directories.
      	(FTP_PATH): Ditto.
      	(LAST_DIR): Ditto.
      	(LAST_LONG_DATE): Remove.
      
      	* snapshot-README: Adjust to the new naming schemes for directories
      	and snapshots per se.
      	Dynamically fill in the respective branch instead of hardcoding it.
      
      	* snapshot-index.html: Replace individual links to diffs with a
      	general link to the diff/ subdirectory.
      	Mention the concrete snapshot in <title> and <h1>.
      	Adjust links to the new location of index.html.
      
      From-SVN: r69143
      Gerald Pfeifer committed
    • * c-lex.c (cb_ident): Cast cstr.text to const char *. · d0974745
      From-SVN: r69138
      Rainer Orth committed
    • gcov-io.h: Update documentation. · 160e2e4f
      	* gcov-io.h: Update documentation.
      	(GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
      	GCOV_NOTE_MAGIC.
      	(GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
      	(GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
      	(struct gcov_var): Change buffer's type. Add endian flag.
      	(gcov_open): Remove mode in libgcov.
      	(gcov_magic): Prototype.
      	* gcov-io.c (from_file): New.
      	(gcov_open): Clear endian flag.
      	(gcov_magic): New.
      	(gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
      	pointers.
      	(gcov_write_unsigned, gcov_write_counter, gcov_write_string,
      	gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
      	(gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
      	* gcov-iov.c (main): Correct cast.
      	* coverage.c (read_counts_file): Use gcov_magic. Remove endianness
      	conversion.
      	(gcov_begin_output): Use GCOV_NOTE_MAGIC.
      	(coverage_init): Use GCOV_NOTE_SUFFIX.
      	* libgcov.c (gcov_version_mismatch): Remove endianness conversion.
      	Rename to gcov_version, and return flag.
      	(gcov_exit): Use gcov_version.
      	(__gcov_init): Use gcov_version.
      	* Makefile.in (coverageexts): Update.
      	* gcov.c (print_version): Remove endianness conversion.
      	(create_file_names): Use GCOV_NOTE_SUFFIX.
      	(read_graph_file): Use gcov_magic.
      	(read_count_file): Likewise.
      	* gcov-dump.c (dump_file): Remove endianness conversion, use
      	gcov_magic.
      
      From-SVN: r69137
      Nathan Sidwell committed
    • configure.in (BUILD_PREFIX, [...]): Set if enable coverage is on. · 83599948
      	* configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
      	coverage is on.
      	* configure: Regenerated.
      	* Makefile.in (ALL_CFLAGS): Correct its comment.
      
      From-SVN: r69136
      Nathan Sidwell committed
    • ObjectOutputStream.java (writeObject): break after calling writeClassDescriptor(). · 9ef68029
             * java/io/ObjectOutputStream.java (writeObject): break after
             calling writeClassDescriptor().
      
      From-SVN: r69135
      Mark Wielaard committed
    • fold-const.c (make_range): Do not access operand 1 for a zero-operand operator. · d17811fd
      	* fold-const.c (make_range): Do not access operand 1 for a
      	zero-operand operator.
      
      2003-07-08  Mark Mitchell  <mark@codesourcery.com>
      
      	* cp-tree.def (NON_DEPENDENT_EXPR): New node.
      	* cp-tree.h (build_call_from_tree): Remove.
      	(build_member_call): Likewise.
      	(dependent_template_arg_p): Remove.
      	(any_dependent_template_arguments_p): New function.
      	(dependent_template_id_p): Likewise.
      	(any_type_dependent_arguments_p): Likewise.
      	(build_non_dependent_expr): Likewise.
      	(build_non_dependent_args): Likewise.
      	(build_x_compound_expr): Adjust prototype.
      	* call.c (build_new_method_call): Handle non-dependent expressions
      	correctly.
      	* decl2.c (grok_array_decl): Likewise.
      	(build_offset_ref_call_from_tree): Likewise.
      	(build_call_from_tree): Remove.
      	* error.c (dump_decl): Handle NON_DEPENDENT_EXPR.
      	(dump_expr): Likewise.
      	* init.c (build_member_call): Remove.
      	* mangle.c (write_expression): Update handling for template-ids.
      	* parser.c (cp_parser_primary_expression): Use
      	any_dependent_template_arguments_p.  Update constant-expression
      	handling.
      	(cp_parser_postfix_expression): Use
      	any_type_dependent_arguments_p.  Simplify call processing.
      	(cp_parser_unary_expression): Simplify.
      	(cp_parser_expression): Adjust for changes to
      	build_x_compound_expr.
      	(cp_parser_template_argument): Implement standard-conforming
      	parsing of non-type template arguments.
      	(cp_parser_direct_declarator): Use
      	cp_parser_fold_non_dependent_expr.
      	(cp_parser_fold_non_dependent_expr): New function.
      	(cp_parser_next_token_ends_template_argument_p): Likewise.
      	* pt.c (convert_template_argument): Do not call
      	maybe_fold_nontype_arg.
      	(tsubst_baselink): Likewise.
      	(tsubst_copy_and_build): Share common code.  Make sizeof/alignof
      	processing work correctly for non-dependent expressions.  Adjust
      	handling of COMPOUND_EXPR.  Simplify call processing.
      	(value_dependent_expression_p): Deal with functional casts and
      	sizeof/alignof correctly.
      	(type_dependent_expression_p): Handle overloaded functions.
      	(any_type_dependent_arguments_p): New function.
      	(any_dependent_template_arguments_p): Likewise.
      	(dependent_template_p): Treat SCOPE_REFs as dependent.
      	(dependent_template_id_p): Simplify.
      	(build_non_dependent_expr): New function.
      	(build_non_dependent_args): Likewise.
      	* semantics.c (finish_stmt_expr): Don't make dependent
      	statement-expresions have void type.
      	(finish_call_expr): Handle non-dependent expressions
      	correctly.
      	* tree.c (lvalue_p_1): Treat NON_DEPENDENT_EXPRs as lvalues.
      	* typeck.c (cxx_sizeof_or_alignof_type): Give the expression
      	type size_t, even in templates.
      	(expr_sizeof): Likewise.
      	(finish_class_member_access_expr): Handle non-dependent expressions
      	correctly.
      	(build_x_indirect_ref): Likewise.
      	(build_x_binary_op): Likewise.
      	(build_x_unary_op): Likewise.
      	(build_x_conditional_expr): Likewise.
      	(build_x_compound_expr): Likewise.
      	* typeck2.c (build_x_arrow): Likewise.
      
      2003-07-08  Mark Mitchell  <mark@codesourcery.com>
      
      	* g++.dg/abi/mangle17.C: Make sure template expressions are
      	dependent.
      	* g++.dg/abi/mangle4.C: Mark erroneous casts.
      	* g++.dg/debug/debug7.C: Mark erronous new-declarator.
      	* g++.dg/opt/stack1.C: Remove erroneous code.
      	* g++.dg/parse/template7.C: New test.
      	* g++.dg/template/dependent-expr1.C: Mark erroneous code.
      	* g++.old-deja/g++.pt/crash4.C: Likewise.
      
      2003-07-09  Mark Mitchell  <mark@codesourcery.com>
      
      	* gcj/array.h (JvPrimClass): Don't parenthesize the output.
      
      From-SVN: r69130
      Mark Mitchell committed
    • GtkComponentPeer.java, [...]: Explicitly import used classes. · 844c00ed
      2003-07-09  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
      	gnu/java/awt/peer/gtk/GtkContainerPeer.java,
      	gnu/java/awt/peer/gtk/GtkDialogPeer.java,
      	gnu/java/awt/peer/gtk/GtkWindowPeer.java:
      	Explicitly import used classes.
      	* java/awt/Container.java: New version from classpath.
      
      From-SVN: r69129
      Michael Koch committed
    • 2003-07-09 Michael Koch <konqueror@gmx.de> · 7fbbd122
      	* libgcj.pc.in
      	* Makefile.am
      	* Makefile.in
      	* configure
      	* configure.in
      
      From-SVN: r69128
      Michael Koch committed
    • const-elim-1.c (dg-final): Change regexp to match labels with zero or one… · 76739f29
      const-elim-1.c (dg-final): Change regexp to match labels with zero or one occurence of `$' after the...
      
      	* gcc.dg/const-elim-1.c (dg-final): Change regexp to match labels
      	with zero or one occurence of `$' after the initial `L'.
      
      From-SVN: r69127
      John David Anglin committed
    • toplev.c (warn_dummy, W_options): Die. · 28786366
      	* toplev.c (warn_dummy, W_options): Die.
      	(display_help): Don't print W_options.
      	* common.opt: Add W_options help from toplev.c.
      
      From-SVN: r69125
      Neil Booth committed
    • opts.c (wrap_help): Only pass int arguments as arguments to printf's '*' modifier. · fbdb0453
      	* opts.c (wrap_help): Only pass int arguments as arguments to
      	printf's '*' modifier.  Change argument of function.
      
      From-SVN: r69124
      Andreas Jaeger committed
    • * doc/invoke.texi: Fix misspelling of "@item". · c80e4c17
      From-SVN: r69123
      Matt Kraai committed
    • * gcc.c-torture/compile/20030704-1.c: Add a comment. · 55c9de2d
      From-SVN: r69122
      Kazu Hirata committed
    • i386.md: Remove an old comment about NOTICE_UPDATE_CC. · 2c5a64c6
      	* config/i386/i386.md: Remove an old comment about
      	NOTICE_UPDATE_CC.
      
      From-SVN: r69121
      Kazu Hirata committed
    • cgraph.c (cgraph_node_name): New function. · a194aa56
      
      	* cgraph.c (cgraph_node_name): New function.
      	(dump_cgraph): Use it.
      	* cgraph.h (cgraph_dump_file): Declare.
      	(cgraph_node_name): Declare.
      	* cgraphunit.c: Include timevar.h
      	(cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
      	(cgraph_optimize_function): Use TV_INTEGRATION.
      	(cgraph_mark_local_functions): reorganize dumps.
      	(cgraph_mark_functions_to_inline_once): Likewise.
      	(cgraph_optimize): Likewise; use timevar.
      	* timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
      	* toplev.c (dump_file_index): Add DFI_cgraph.
      	(dump_file_info): Likewise.
      	(cgraph_dump_file): New global variable.
      	(do_compile): Open and close cgraph dump.
      	* invoke.texi (-d): Document new flag; renumber.
      
      From-SVN: r69120
      Jan Hubicka committed
    • re PR other/11370 (-Wunreachable-code gives false complaints) · 8af61113
      
      	PR c/11370
      	* calls.c (emit_call_1): Don't bother popping the arguments off of
      	the stack after a noreturn function call;  The adjustment is dead.
      	(expand_call): Likewise.
      
      	* gcc.dg/Wunreachable-6.c: New testcase.
      	* gcc.dg/Wunreachable-7.c: New testcase.
      
      From-SVN: r69119
      Roger Sayle committed
    • expr.c (MOVE_MAX_PIECES): Move from here... · 436bcda1
      	* expr.c (MOVE_MAX_PIECES): Move from here...
      	* defaults.h (MOVE_MAX_PIECES): ... to here.
      
      From-SVN: r69118
      Geoffrey Keating committed
    • * Makefile.in (stage1-start): Handle an empty SUBDIRS. · 6f3fcc0b
      From-SVN: r69117
      Matt Kraai committed
    • genattr.c (internal_dfa_insn_code): Don't prototype. · ec049fdb
      	* genattr.c (internal_dfa_insn_code): Don't prototype.
      	* genattrtab.c (attr_desc): Add `static_p' field.
      	(expand_units): Make blockage range and ready cost functions
      	static.
      	(write_attr_get): Don't add extern prototypes in C file.  Mark
      	static functions as appropriate.
      	(find_attr, make_internal_attr): Initialize static_p.
      	* genattrtab.h (ATTR_STATIC): New macro.
      	* genautomata.c (output_internal_reset_func): Mark output function
      	as inline.
      	(make_internal_dfa_insn_code_attr): Mark output function as static.
      
      From-SVN: r69116
      Kaveh R. Ghazi committed
    • pod_char_traits.cc: New. · 9e7facfd
      
      
      2003-07-08  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/ext/pod_char_traits.cc: New.
      	* include/ext/pod_char_traits.h: New.
      	* include/Makefile.am (ext_headers): Add pod_char_traits.h.
      	* include/Makefile.in: Regenerate.
      	* docs/html/21_strings/howto.html: Update.
      
      From-SVN: r69115
      Benjamin Kosnik committed
    • genattrtab.h: Add new macros for attr `special' flags. · 11597bc9
      	* genattrtab.h: Add new macros for attr `special' flags.
      	* genattrtab.c (attr_desc): Reorder/resize fields better.
      	Use attr `special' macros in all calls to make_internal_attr.
      	* genautomata.c: Likewise.
      
      From-SVN: r69114
      Kaveh R. Ghazi committed
    • java-tree.h (DECL_NUM_STMTS): Rename to... · 084c1779
      
      	* java-tree.h (DECL_NUM_STMTS): Rename to...
      	(DECL_ESTIMATED_INSNS): ... this.
      	* lang.c (java_estimate_num_insns, java_estimate_num_insns_1):
      	New static functions.
      	(LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): Define.
      	* parser.y (add_stmt_to_compound): Do not account statements.
      
      	* cp-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
      	* decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
      	(start_function): Use DECL_ESTIMATED_INSNS.
      	* optimize.c (maybe_clone_body): Use DECL_ESTIMATED_INSNS.
      
      	* decl2.c (maybe_emit_vtables): Fix marking vtables as needed in
      	unit-at-a-time
      
      	* c-common.c (c_estimate_num_insns_1): New static function.
      	(c_estimate_num_insns): New global function.
      	* c-common.h (DECL_NUM_STMTS): Rename to...
      	(DECL_ESTIMATED_INSNS): ... this.
      	(c_estimate_num_insns): Declare.
      	* c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
      	* c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
      	* c-semantics.c (add_stmt): Do not account statements.
      	* langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
      	New.
      	* langhooks.h (lang_hooks_for_tree_inlining): Add
      	estimate_num_insns
      	* params.def (max-inline-insns-auto, max-inline-insns-auto): set
      	to 100.
      	(max-inline-insns): set to 300.
      	(min-inline-insns): set to 10.
      	* tree-inline.c (struct inline_data): Rename inlined_stmts to
      	inlined-insns.
      	(INSNS_PER_STMT): Kill.
      	(inlinable_function_p): Compute and store body size.
      	(expand_call_inline): Likewise.
      	(optimize_inline_calls): Likewise.
      
      From-SVN: r69113
      Jan Hubicka committed
    • partial fix for PR target/10021 · 1b1838b6
      partial fix for PR target/10021
      * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
      loop over new variable t2 instead of t.
      
      From-SVN: r69111
      James E Wilson committed