1. 13 May, 2002 3 commits
    • emit-rtl.c (global_rtl): Update comment. · 5692c7bc
      	* emit-rtl.c (global_rtl): Update comment.
      	(const_double_htab, const_double_htab_hash,
      	const_double_htab_hash, lookup_const_double): New.
      	(const_int_htab_hash, const_int_htab_eq): Remove const
      	qualifiers, which cause tons of warnings with RTL checking on.
      	(gen_rtx_CONST_DOUBLE): Deleted.
      	(const_double_from_real_value): New function - bears some
      	resemblance to the former immed_real_const_1.
      	(immed_double_const): Moved here from varasm.c and
      	simplified.
      	(gen_rtx_REG): Make REGNO unsigned to squelch warnings.
      	(gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
      	(gen_rtx): Use immed_double_const.
      	(init_emit_once): Initialize the const_double_htab.  Use
      	REAL_VALUE_FROM_INT where possible.  Can now use
      	CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
      	* varasm.c (struct varasm_status): Remove x_const_double_chain.
      	(const_double_chain, immed_real_const, clear_const_double_mem): Delete.
      	(immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
      	(init_varasm_status, mark_varasm_status): Don't touch
      	x_const_double_chain.
      
      	* output.h: Delete prototype for clear_const_double_mem.
      	* real.h: Make REAL_VALUE_TYPE a macro again.  Remove leading
      	'0' slot from all CONST_DOUBLE_FORMAT definitions.  Prototype
      	const_double_from_real_value, not immed_real_const_1, and use
      	it to define CONST_DOUBLE_FROM_REAL_VALUE.  Define new macro
      	CONST_DOUBLE_ATOF.
      	* rtl.h (CONST_DOUBLE_CHAIN): Kill.
      	(CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
      	(gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
      	(gen_rtx_REG): Second arg is unsigned.
      
      	* gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
      	(excluded_rtx): New, return true for CONST_DOUBLE.
      	(genmacro): Write nothing for excluded codes.
      	* combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
      	* expr.c (expand_expr): Likewise.
      	* ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
      	CONST_DOUBLE_CHAIN.
      	* toplev.c (rest_of_compilation): Don't call
      	clear_const_double_mem.
      
      	* config/rs6000/rs6000.c (rs6000_float_const): Delete.
      	(rs6000_hash_constant): Remove CONST_DOUBLE special case.
      	(toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
      	* config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
      	* config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
      	* config/dsp16xx/dsp16xx.md, config/mips/mips.md,
      	config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
      	* config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
      
      From-SVN: r53409
      Zack Weinberg committed
    • os_defines.h: Revert 2002-05-06 change. · 31397a7b
      libstdc++-v3:
      	* config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
      	change.
      
      gcc:
      	* mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
      
      From-SVN: r53408
      Kaveh R. Ghazi committed
    • conversion.c (ldnear): Use long double types. · e2f75147
      2002-05-12  David S. Miller  <davem@redhat.com>
      
      	* gcc.c-torture/execute/conversion.c (ldnear): Use long double
      	types.
      
      From-SVN: r53407
      David S. Miller committed
  2. 12 May, 2002 12 commits
  3. 11 May, 2002 10 commits
    • cpplex.c (_cpp_lex_direct): When in a directive at EOF fake a newline. · 387f9e32
      	* cpplex.c (_cpp_lex_direct): When in a directive at EOF
      	fake a newline.
      
      From-SVN: r53386
      Neil Booth committed
    • Oops, this went with the previous commit · e1a0f69c
      From-SVN: r53385
      Zack Weinberg committed
    • * reorg.c (dbr_schedule): Remove unnecessary test. · 9c64026d
      From-SVN: r53384
      John David Anglin committed
    • i386.md (testsi to testqi spliters): New. · 6c81a490
      	* i386.md (testsi to testqi spliters): New.
      
      	2002-01-14  Josef Zlomek  <zlomek@matfyz.cz>
      
      	cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
      
      	Wed Jan  9 2002  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
      
      	* basic-block.h: New flag EDGE_CAN_FALLTHRU
      	* cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
      	that can be made fallthru.
      
      	Mon Nov 12 16:25:53 CET 2001  Jan Hubicka  <jh@suse.cz>
      
      	* cfglayout.c (cleanup_unconditional_jumps): New static function.
      	(cfg_layout_initialize): Use it.
      
      Co-Authored-By: Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
      
      From-SVN: r53383
      Jan Hubicka committed
    • rs6000.c (rs6000_default_long_calls, [...]): New. · a5c76ee6
      	* config/rs6000/rs6000.c (rs6000_default_long_calls,
      	rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
      	(TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
      	(rs6000_override_options): Handle -m(no-)longcall.
      	(init_cumulative_args, output_mi_thunk): Check for both
      	longcall and shortcall attributes on the function.
      	(rs6000_attribute_table): Add "shortcall".
      	(rs6000_handle_longcall_attribute): Update comment.
      	(altivec_expand_unop_builtin, altivec_expand_binop_builtin,
      	altivec_expand_ternop_builtin): Add default clauses to switches
      	to silence warnings.
      
      	* config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
      	rs6000_default_long_calls.  Define REGISTER_TARGET_PRAGMAS.
      	(TARGET_OPTIONS): Add longcall and no-longcall.
      
      	* config/rs6000/rs6000.md (call_nonlocal_sysv,
      	call_value_nonlocal_sysv): Split by alternatives.  One pair
      	accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
      	the call cookie.  The other pair accepts only LR/CTR and has
      	no restriction.
      
      	* config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
      	Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
      	tmake_file.
      	* config/rs6000/rs6000-c.c: New file.
      	* config/rs6000/t-rs6000-c-rule: New file.
      	* config/rs6000/rs6000-protos.c: Add multiple-include guard.
      	Prototype rs6000_pragma_longcall.
      
      	* doc/extend.texi: Document shortcall attribute.
      	* doc/invoke.texi: Document -mlongcall, -mno-longcall.
      
      From-SVN: r53382
      Zack Weinberg committed
    • avr.c (avr_mcu_types): Update supported devices. · 4c476cf3
      
      	* config/avr/avr.c (avr_mcu_types): Update supported devices.
      	* config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
      	* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
      
      From-SVN: r53381
      Marek Michalkiewicz committed
    • dbxout.c: Fix formatting. · 3a538a66
      	* dbxout.c: Fix formatting.
      	* dependence.c: Likewise.
      	* df.c: Likewise.
      	* diagnostic.c: Likewise.
      	* doloop.c: Likewise.
      	* dominance.c: Likewise.
      	* doschk.c: Likewise.
      	* dwarf2asm.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      
      From-SVN: r53380
      Kazu Hirata committed
    • Daily bump. · c9c2cb7c
      From-SVN: r53379
      GCC Administrator committed
    • final.c (end_final): Tidy whitespace. · 2292e8fc
              * final.c (end_final): Tidy whitespace.  Don't honor flag_pack_struct.
              Convert integers constants as needed.  Replace "nwords" field with
              "sizeof_bb".
              (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
              * function.h: Fix typo in comment.
              * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
      
      From-SVN: r53374
      Richard Henderson committed
  4. 10 May, 2002 14 commits
  5. 09 May, 2002 1 commit