1. 04 Jan, 2002 5 commits
  2. 03 Jan, 2002 30 commits
    • cpperror.c: Update comments and copyright. · 5d8ebbd8
      	* cpperror.c: Update comments and copyright.
      	* cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
      	cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
      
      From-SVN: r48522
      Neil Booth committed
    • stl_numeric.h (power + helpers, iota): Move to... · 01b0d4b8
      2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/stl_numeric.h (power + helpers, iota):  Move to...
      	* include/ext/numeric:  ...here, new file.
              * include/bits/stl_function.h (identity_element, unary_compose,
      	binary_compose, compose1, compose2, identity, select1st,
      	select2nd, project1st + helper, project2nd + helper,
      	constant_void_fun + helper, constant_unary_fun + helper,
      	costant_binary_fun + helper, constant0, constant1, constant2,
      	subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
              * include/ext/functional:  ...here, new file.
              * include/Makefile.am (ext_headers):  Add new files.
              * include/Makefile.in:  Regenerate.
              * testsuite/ext/headers.cc:  Include <ext/numeric> and
      	<ext/functional>.
      	* include/backward/algo.h:  Include <ext/numeric>, tweak.
      	* include/backward/function.h:  Include <ext/functional>, tweak.
              * include/ext/ropeimpl.h:  Include <ext/numeric>.
      
      From-SVN: r48519
      Paolo Carlini committed
    • cppmacro.c: Don't include intl.h. · d15a58c0
      	* cppmacro.c: Don't include intl.h.  Update comments.
      	(new_number_token): Allocate enough buffer for 64-bit unsigned
      	integers; update prototype.
      	* cppmain.c: Update comments.
      
      From-SVN: r48518
      Neil Booth committed
    • Correct ChangeLog entry: toc_section -> ASM_FILE_START. · 2fd17409
      From-SVN: r48517
      David Edelsohn committed
    • os_defines.h: Prefix __strtoll and __strtoull declarations with __extension__. · 0487b51c
              * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
              __strtoull declarations with __extension__.
      
      From-SVN: r48516
      Jeff Law committed
    • function.h (struct function): Add profile. · 70f4f91c
      	* function.h (struct function): Add profile.
      	(current_function_profile): New.
      	doc/extend.texi: Update documentation.
      	* final.c (final_start_function): Use current_function_profile
      	instead of profile_flag.
      	(profile_after_prologue): Likewise.
      	* function.c (expand_function_start): Likewise.
      	(expand_function_start): Likewise.
      	* config/alpha/alpha.c (direct_call_operand):
      	(alpha_does_function_need_gp): Likewise.
      	(alpha_expand_prologue): Likewise.
      	* config/arm/arm.c (arm_expand_prologue): Likewise.
      	thumb_expand_prologue: Likewise.
      	* config/d30v/d30v.c (d30v_stack_info): Likewise.
      	* config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
      	(fr30_expand_prologue): Likewise.
      	* config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
      	* config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
      	* config/i386/i386.h (FINALIZE_PIC): Likewise.
      	* config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
      	* config/i960/i960.c (i960_output_function_prologue): Likewise.
      	* config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
      	* config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
      	(m32r_expand_prologue): Likewise.
      	* config/m88k/m88k.c (m88k_layout_frame): Likewise.
      	(m88k_expand_prologue): Likewise.
      	* config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
      	* config/mips/mips.c (compute_frame_size): Likewise.
      	(mips_expand_prologue): Likewise.
      	(mips_can_use_return_insn): Likewise.
      	* config/pa/elf.h (ASM_FILE_START): Likewise.
      	* config/pa/pa-linux.h (ASM_FILE_START): Likewise.
      	* config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
      	* config/pa/som.h (ASM_FILE_START): Likewise.
      	* config/romp/romp.c (romp_using_r14): Likewise.
      	* config/rs6000/rs6000.c (first_reg_to_save): Likewise.
      	(rs6000_stack_info): Likewise.
      	* config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
      	* config/rs6000/xcoff.h (toc_section): Likewise.
      	* config/v850/v850.c (compute_register_save_size): Likewise.
      
      From-SVN: r48515
      William Cohen committed
    • simplify-rtx.c (simplify_binary_operation): If gen_lowpart_common fails, use gen_lowpart_SUBREG. · cb1ac742
      	* simplify-rtx.c (simplify_binary_operation) [DIV]: If
      	gen_lowpart_common fails, use gen_lowpart_SUBREG.
      
      	* gcc.c-torture/compile/20020103-1.c: New test.
      
      From-SVN: r48514
      Jakub Jelinek committed
    • darwin.c (machopic_output_possible_stub_label): Don't generate stub routines for… · 61d951df
      darwin.c (machopic_output_possible_stub_label): Don't generate stub routines for pseudo-stubs which we've just defined.
      
      	* darwin.c (machopic_output_possible_stub_label): Don't generate
      	stub routines for pseudo-stubs which we've just defined.
      
      From-SVN: r48513
      Turly O'Connor committed
    • builtins.c: Fix formatting. · 505ddab6
      	* builtins.c: Fix formatting.
      	* c-typeck.c: Likewise.
      	* combine.c: Likewise.
      	* expr.c: Likewise.
      	* loop.c: Likewise.
      
      From-SVN: r48512
      Kazu Hirata committed
    • prune.exp: Correct regular expression for -ffunction-sections · dd37368c
      2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
      
      	* testsuite/lib/prune.exp: Correct regular expression for
      	-ffunction-sections
      
      From-SVN: r48511
      David Billinghurst committed
    • * g++.dg/other/debug2.C: New test. · 5e55c6a2
      From-SVN: r48508
      Jakub Jelinek committed
    • cppfiles.c (_cpp_pop_file_buffer): Change return type to bool and return true if... · b7e30d8a
      	* cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
      	and return true if _cpp_push_next_buffer pushed a new include
      	file.
      	* cpplib.c (_cpp_pop_buffer): Only call obstack_free if
      	_cpp_pop_file_buffer did not push a new file.
      	* cpphash.h (_cpp_pop_file_buffer): Update declaration.
      
      From-SVN: r48507
      Andreas Schwab committed
    • final.c (final_scan_insn): Change 0 -> NULL_RTX in FIND_REG_INC_NOTE call. · ff81832f
      2002-01-02  Eric Christopher  <echristo@redhat.com>
      
      	* final.c (final_scan_insn): Change 0 -> NULL_RTX in
      	FIND_REG_INC_NOTE call. Update copyright.
      	* loop.c (canonicalize_condition): Ditto.
      	* reorg.c (delete_scheduled_jump): Ditto.
      
      From-SVN: r48506
      Eric Christopher committed
    • Daily bump. · 6518547f
      From-SVN: r48504
      GCC Administrator committed
    • class.c (compile_resource_file): Update copyright date. · 37b31012
      
              * class.c (compile_resource_file): Update copyright date.
              Constify filename parameter.
              java-tree.h: Update copyright date.
              (compile_resource_file): Constify filename parameter.
      
      From-SVN: r48503
      Graham Stott committed
    • * gcse.c: Fix formatting. · 8e42ace1
      From-SVN: r48502
      Kazu Hirata committed
    • jcf-parse.c: Update copyright date. · 22e85ed4
      
              * gcc/jcf-parse.c: Update copyright date.
              (yyparse): Constify resource_filename.
      
      From-SVN: r48500
      Graham Stott committed
    • mkconfig.sh: Output to config.h... · fb2bf631
      
      	* mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
       	forward defs for struct tags rtx_def, union_tree, rtvec_def
       	also output corresponding typedefs for rtxm, tree, and rtvcec.
      
       	* system.h: Move forward defs for struct tags rtx_def, union_tree,
       	rtvec_def along with corresponding typedefs for rtx, tree, and
       	rtvcec to config.h, hconfig.h, tconfig.h
      
      From-SVN: r48499
      Graham Stott committed
    • tree.h: Update copyright date. · b9daac31
      
              * tree.h: Update copyright date.
              (IS_EXPR_CODE_CLASS): Add parenthesis.
              (TREE_SET_CODE): Add whitespace.
              (TREE_CHECK): Add parenthesis.
              (TREE_CLASS_CODE): Add parenthesis and wrap long line.
              (CST_OR_CONSTRUCTOR_CHECK):
              (EXPR_CHECK): Add parenthis, whitespace and wrap line.
              (TREE_SYMBOL_REFERENCED): Whitespace.
              (INT_CST_LT): Likewise.
              (INT_CST_LT_UNSIGNED): Likewise.
              (tree_real_cst): Unwrap comment.
              (tree_string): Likewise.
              (tree_complex): Likewise.
              (IDENTIFIER_POINTER): correct cast.
              (SAVE_EXPR_CONTEXT): Whitespace.
              (EXPR_WFL_FILENAME_NODE): Likewise.
              (EXPR_WFL_FILENAME): Remove parenthesis.
              (DECL_ORIGIN): Add parenthesis.
              (DECL_FROM_INLINE): Use NULL_TREE.
              (build_int_2): Whitespace.
              (build_type_variant): Add parenthesis.
      
              * gcc/jcf-parse.c: Update copyright date.
              (yyparse): Constify resource_filename.
      
      From-SVN: r48498
      Graham Stott committed
    • rtl.h: Update copyright date. · f52eda29
      
              * rtl.h: Update copyright date.
              (RTL_CHECK1): Wrap long line.
              (RTL_CHECK2): Likewise.
              (RTL_CHECKC1): Wrap long line and whitespace.
              (RTL_CHECKC2): Likewise.
              (XWINT): Whitespace.
              (XINT): Likewise.
              (XSTR): Likewise.
              (XEXP): Likewise.
              (XVEC): Likewise.
              (XMODE): Likewise.
              (XBITMAP): Likewise.
              (XTREE): Likewise.
              (XBBDEF): Likewise.
              (XTMPL): Likewise.
              (X0WINT): Likewise.
              (X0INT):Likewise.
              (X0UINT): Likewise.
              (X0STR): Likewise.
              (X0EXP): Likewise.
              (X0VEC): Likewise.
              (X0MODE): Likewise.
              (X0BITMAP): Likewise.
              (X0TREE): Likewise.
              (X0BBDEF): Likewise.
              (X0ADVFLAGS): Likewise.
              (X0CSELIB): Likewise.
              (X0MEMATTR): Likewise.
              (XCWINT): Likewise.
              (XCINT): Likewise.
              (XCUINT): Likewise.
              (XCSTR): Likewise.
              (XCEXP): Likewise.
              (XCVEC): Likewise.
              (XCMODE): Likewise.
              (XCBITMAP): Likewise.
              (XCTREE): Likewise.
              (XCBBDEF): Likewise.
              (XCADVFLAGS): Likewise.
              (XCCSELIB): Likewise.
              (XC2EXP): Likewise.
              (INSN_UID): Likewise.
              (PREV_INSN): Likewise.
              (PATTERN): Likewise.
              (INSN_CODE): Likewise.
              (PUT_REG_NOTE_KIND): Likewise.
              (CODE_LABEL_NUMBER): Likewise.
              (NOTE_SOURCE_FILE): Likewise.
              (NOTE_BLOCK): Likewise.
              (NOTE_EH_HANDLER): Likewise.
              (NOTE_RANGE_INFO): Likewise.
              (NOTE_LIVE_INFO): Likewise.
              (NOTE_BASIC_BLOCK): Likewise.
              (NOTE_EXPECTED_VALUE): Likewise.
              (NOTE_LINE_NUMBER): Likewise.
              (LABEL_NAME): Likewise.
              (LABEL_NUSES): Likewise.
              (LABEL_ALTERNATE_NAME): Likewise.
              (ADDRESSOF_DECL): Likewise.
              (JUMP_LABEL): Likewise.
              (LABEL_NEXTREF): Likewise.
              (REGNO): Likewise.
              (ORIGINAL_REGNO: Likewise.
              (HARD_REGISTER_NUM_P): Add parenthesis.
              (SUBREG_REG): Whitespace.
              (SUBREG_BYTE): Likewise.
              (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
              (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
              (ASM_OPERANDS_OUTPUT_IDX): Likewise.
              (ASM_OPERANDS_INPUT_VEC): Likewise.
              (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
              (ASM_OPERANDS_INPUT): Likewise.
              (ASM_OPERANDS_INPUT_LENGTH): Likewise.
              (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
              (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
              (ASM_OPERANDS_INPUT_MODE): Likewise.
              (ASM_OPERANDS_SOURCE_FILE): Likewise.
              (ASM_OPERANDS_SOURCE_LINE): Likewise.
              (MEM_SET_IN_STRUCT_P): Minor reformat.
              (TRAP_CONDITION): Whitespace.
              (TRAP_CODE): Likewise.
              (COND_EXEC_TEST): Likewise.
              (COND_EXEC_CODE): Likewise.
              (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
              (PHI_NODE_P): Add parenthesis.
              (plus_constant): Whitespace and add paraenthese.
      
      From-SVN: r48497
      Graham Stott committed
    • avr.c: Fix comment typos. · e03f5d43
      	* config/avr/avr.c: Fix comment typos.
      	* config/c4x/c4x.md: Likewise.
      	* config/dsp16xx/dsp16xx.h: Likewise.
      	* config/dsp16xx/dsp16xx.md: Likewise.
      	* config/i386/i386.md: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/m32r/m32r.h: Likewise.
      	* config/m68hc11/m68hc11.md: Likewise.
      	* config/mmix/mmix.c: Likewise.
      	* config/mn10200/mn10200.c: Likewise.
      	* config/romp/romp.c: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/stormy16/stormy16.c: Likewise.
      	* config/stormy16/stormy16.h: Likewise.
      	* config/stormy16/stormy16.md: Likewise.
      
      From-SVN: r48496
      Kazu Hirata committed
    • re PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler) · fa4723ba
      2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
      
              PR bootstrap/5117
              * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
              * Makefile.am: Move grepjar to bin_PROGRAMS.
              * config.h.in: Regenerated.
              * Makefile.in: Regenerated.
              * aclocal.m4: Regenerated.
              * stamp-h.in: Regenerated.
              * jargrep.c: Eliminate some signed/unsigned and default
              uninitialized warnings. Use HAVE_STDLIB_H instead of
              STDC_HEADERS macro.
              * jartool.c: Likewise.
              * compress.c: Likewise.
      
      From-SVN: r48495
      Craig Rodrigues committed
    • rtl.h: Update copyright date. · 97e300e9
      
              * rtl.h: Update copyright date.
              (LOOP_MOVABLES): Fix typo.
              (LOOP_REGS): Likewise.
              (LOOP_IVS): Likewise.
      
      From-SVN: r48494
      Graham Stott committed
    • re PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler) · 79801091
      2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
      
              PR bootstrap/5117
              * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
              * Makefile.am: Move grepjar to bin_PROGRAMS.
              * config.h.in: Regenerated.
              * Makefile.in: Regenerated.
              * aclocal.m4: Regenerated.
              * jargrep.c: Eliminate some signed/unsigned and default
              uninitialized warnings. Use HAVE_STDLIB_H instead of
              STDC_HEADERS macro.
              * jartool.c: Likewise.
              * compress.c: Likewise.
      
      From-SVN: r48493
      Craig Rodrigues committed
    • re PR libstdc++/2054 (g++-3 rejects legal code, accepted by g++-2.95.2 (functors)) · bf7edb60
      2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
      
      	* include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
      	Change concept checks, as with lower_bound and PR 2054.
      	* testsuite/ext/concept_checks.cc:  Expand test to include those.
      
      From-SVN: r48492
      Phil Edwards committed
    • re PR c/5226 (-mthreads not available in gcc 3.0.3 but still in doc) · 0a379b7a
      2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
      
              PR c/5226
              * invoke.texi (-mthreads): Remove from documented RS/6000 options.
              (-pthread) Add to RS/6000 options.
      
      From-SVN: r48491
      Craig Rodrigues committed
    • cppinit.c: Update copyright date. · 745b26b3
      
              * cppinit.c: Update copyright date.
              Don't include output.h
              * Makefile.in: Update copyright date.
              Update dependency.
      
      From-SVN: r48490
      Graham Stott committed
    • boost_concept_check.h: Import some changes from upsteam (Boost) version. · 361bf10c
      2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
      
      	* include/bits/boost_concept_check.h:  Import some changes from
      	upsteam (Boost) version.
      
      From-SVN: r48489
      Phil Edwards committed
    • except.c: Fix comment typos. · a8154559
      	* except.c: Fix comment typos.
      	* loop.c: Likewise.
      	* varasm.c: Likewise.
      	* doc/tm.texi: Fix a typo.
      
      From-SVN: r48488
      Kazu Hirata committed
  3. 02 Jan, 2002 5 commits
    • c-typeck.c (output_init_element): Allow initializing static storage duration… · e6ecc89b
      c-typeck.c (output_init_element): Allow initializing static storage duration objects with compound literals.
      
      	* c-typeck.c (output_init_element): Allow initializing static storage
      	duration objects with compound literals.
      
      	* gcc.dg/gnu89-init-1.c: Added new tests.
      
      From-SVN: r48487
      Jakub Jelinek committed
    • objc-act.c (hack_method_prototype): Clear current_function_decl after abusing it. · d1094b40
              * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
              after abusing it.
      
      From-SVN: r48486
      Richard Henderson committed
    • gcc.c (default_compilers): Const-ify. · 5e65297b
      	* gcc.c (default_compilers): Const-ify.
      	* mips-tdump.c (stab_names): Likewise.
      	* mips-tfile.c (map_coff_types, map_coff_storage,
      	map_coff_sym_type, map_coff_derived_type, stabs_symbol,
      	pseudo_ops_t, pseudo_ops): Likewise.
      	* protoize.c (default_include): Likewise
      
      f:
      	* com.c (clear_binding_level): Const-ify.
      	(ffecom_arglist_expr_): Likewise.
      	* info.c (ffeinfo_types_): Don't needlessly zero init.
      	* lex.c (ffelex_hash_kludge): Const-ify.
      
      java:
      	* parse.y (src_parse_roots): Don't needlessly zero init.
      
      libiberty:
      	* cp-demangle.c (long_options): Const-ify.
      	* cplus-dem.c (long_options): Likewise.
      
      From-SVN: r48485
      Kaveh R. Ghazi committed
    • real.c (GET_REAL, PUT_REAL): Don't cast away const-ness. · 0c5d8c82
      	* real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
      	(ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
      	Add array size in declaration.
      	(endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
      	emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
      	esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
      	etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
      	eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
      	efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
      	c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
      	emtens, make_nan): Const-ify.
      	(TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
      	DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
      
      From-SVN: r48484
      Kaveh R. Ghazi committed
    • config.gcc (ia64-*-*): Set extra_headers. · 817e13c4
      	* config.gcc (ia64-*-*): Set extra_headers.
      	(alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
      	* config/alpha/t-osf: Remove.
      	* config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
      
      From-SVN: r48483
      Joseph Myers committed