1. 04 Jun, 2002 1 commit
  2. 28 May, 2002 1 commit
    • tree.h: Forward-declare struct realvaluetype. · 11ad4784
      	* tree.h: Forward-declare struct realvaluetype.
      	(struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not
      	contain it.
      	(TREE_REAL_CST_PTR): New accessor.
      	(TREE_REAL_CST): Update.
      	* real.h: Include machmode.h.
      	(realvaluetype): Make it struct realvaluetype, not a typedef.
      	(build_real): Prototype here.
      
      	* tree.c: Include real.h.
      	(build_real): Allocate the REAL_VALUE_TYPE as a separate
      	object in GC memory, set TREE_REAL_CST_PTR to point to it.
      	(build_real_from_int_cst): Use build_real.
      	* ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a
      	REAL_CST.
      
      	* builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c,
      	fold-const.c, print-tree.c, real.c, cp/mangle.c, cp/tree.c,
      	f/bld.c, f/com.c, f/expr.c, f/target.c, java/decl.c,
      	java/jcf-parse.c, java/parse.y, java/typeck.c: Include real.h.
      	* Makefile.in, cp/Make-lang.in, f/Make-lang.in,
      	java/Make-lang.in: Update dependency lists.
      
      From-SVN: r53959
      Zack Weinberg committed
  3. 19 May, 2002 1 commit
  4. 13 May, 2002 1 commit
    • 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
  5. 19 Apr, 2002 1 commit
    • real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as appropriate. · 46468cd9
      	* real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
      	appropriate.  Document need for extended precision even when
      	MAX_LONG_DOUBLE_TYPE_SIZE is smaller.  Define REAL_WIDTH here,
      	based on REAL_VALUE_TYPE_SIZE.  Use REAL_WIDTH to size
      	REAL_VALUE_TYPE.  Define CONST_DOUBLE_FORMAT here.  Use #error
      	instead of relying on later syntax error when REAL_WIDTH > 5.
      	* real.c: Define NE based only on whether or not we have a
      	full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
      	Require sizeof(REAL_VALUE_TYPE) == 2*NE.  Unconditionally
      	define GET_REAL and PUT_REAL as simple memcpy operations; no
      	need to byteswap or round.
      	Use #error instead of #ifdef-ing out the entire file, for
      	prompt error detection.
      
      	* rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
      
      From-SVN: r52502
      Zack Weinberg committed
  6. 25 Mar, 2002 1 commit
    • toplev.c: Don't include setjmp.h. · 15e5ad76
      	* toplev.c: Don't include setjmp.h.  Kill float_handler_set,
      	float_handled, float_handler, float_signal, set_float_handler,
      	and do_float_handler.  Set handler for SIGFPE to crash_signal.
      	* toplev.h: Don't prototype do_float_handler.
      
      	* c-lex.c: Fold parse_float into lex_number.  Make warning
      	about portability of hex float constants more informative, and
      	don't issue it on top of a syntax error.
      	* fold-const.c: Fold const_binop_1 and fold_convert_1 into
      	their callers.
      	* real.h: Define REAL_VALUE_ABS here...
      	* simplify-rtx.c: ... not here.  Fold check_fold_consts,
      	simplify_unary_real, simplify_binary_real, and
      	simplify_binary_is2orm1 into their callers.
      	* tree.c: Fold build_real_from_int_cst_1 into caller.
      
      	* doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
      
      	* tsystem.h: Include float.h here...
      	* libgcc2.c: ... not here.
      
      java:
      	* lex.c: Change java_perform_atof to take normal parameters
      	instead of a pointer to a parameter block.  Call it directly
      	from java_lex.
      
      testsuite:
      	* gcc.dg/c90-hexfloat-1.c: Adjust error regexps.
      
      From-SVN: r51336
      Zack Weinberg committed
  7. 23 Mar, 2002 2 commits
    • * real.h (N): Special case 128 bit doubles. · bbaa9790
      From-SVN: r51229
      Alan Modra committed
    • real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE. · b216cd4a
      	* real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
      	Always make REAL_VALUE_TYPE a struct containing an array of
      	HOST_WIDE_INT, not a double.  Tidy up the code deciding how
      	big it is.  Don't declare or use union real_extract.
      
      	* emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
      	decode_rtx_const, output_constant_pool), config/a29k/a29k.c
      	(print_operand), config/arm/arm.c (output_move_double),
      	config/arm/arm.md (consttable_4, consttable_8),
      	config/romp/romp.c (output_fpops), config/s390/s390.h
      	(ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
      	(xtensa_output_literal): Don't use union real_extract.
      
      	* config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
      	(sfmode_constant_to_ulong), config/ns32k/merlin.h
      	(PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
      	config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
      	(PRINT_OPERAND): Don't use local version of union
      	real_extract.
      
      	* config/convex/convex.c (check_float_value), config/vax/vax.c
      	(vax_float_literal), config/m88k/m88k.md (divdf3),
      	config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
      	config/pdp11/pdp11.c (output_move_quad): Don't do host
      	arithmetic on target floating point quantities.
      
      	* config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
      	(output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
      
      	* fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
      	Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
      
      	* real.c (earith): Test INFINITY rather than REAL_INFINITY;
      	NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
      	INFINITY.
      	* print-rtl.c (print_rtx): Disable code which needs
      	floating-point emulator.
      	* libgcc2.c: Include float.h and use DBL_MANT_DIG,
      	FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
      	depending on HOST_FLOAT_FORMAT to be defined properly.
      
      	* ch/grant.c, cp/error.c: Always use REAL_VALUE_TO_DECIMAL;
      	don't test REAL_IS_NOT_DOUBLE.
      
      	* config/1750a/1750a.c (get_double, float_label): Delete.
      	(print_operand): Delete huge commented-out chunk.  Use
      	REAL_VALUE_TO_DECIMAL.
      	* config/1750a/1750a-protos.h: Delete prototypes of deleted
      	functions.
      	* config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
      	IEEE_FLOAT_FORMAT.
      	* config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
      	Use REAL_VALUE_TO_DECIMAL as ELF version does.
      	* config/m88k/m88k.c (real_power_of_2_operand,
      	legitimize_operand): Take the REAL_VALUE_TYPE and/or union
      	real_extract out of the union; run the input through
      	REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
      	from that into the union.
      	* config/pdp11/pdp11.c (output_move_double): Rearrange
      	parentheses to make automatic indenter happy.
      
      	* doc/tm.texi (Cross-compilation): Rename node to "Floating
      	Point" and rewrite to describe current situation.  Also adjust
      	documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
      	match code.
      	* doc/rtl.texi: Adjust cross reference.
      
      From-SVN: r51210
      Zack Weinberg committed
  8. 03 Mar, 2002 1 commit
    • emit-rtl.c, [...]: Remove all #ifndef REAL_ARITHMETIC blocks... · ba31d94e
      	* emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
      	print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
      	tree.c, config/m68k/m68k.c, f/com.c, f/target.h, java/expr.c,
      	java/jcf-parse.c, java/lex.c:
      	Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
      	REAL_ARITHMETIC blocks unconditional.  Delete some further
      	#ifdef blocks predicated on REAL_ARITHMETIC.
      	* flags.h, toplev.c: Delete remaining references to
      	flag_pretend_float.
      
      	* doc/invoke.texi: Remove documentation of -fpretend-float.
      	* doc/tm.texi: Describe the various REAL_* macros as provided by
      	real.h, not by the target configuration files.
      
      	* config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
      	config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
      	config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
      	config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
      	config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
      	config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
      	config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
      	config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
      	config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
      	config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
      	config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
      	config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
      	config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
      	config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
      	config/xtensa/xtensa.h:
      	Do not define, undefine, or mention in comments any of
      	REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
      	REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
      	REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
      	REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
      	REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
      	REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
      	REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
      	REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
      	REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
      
      From-SVN: r50263
      Zack Weinberg committed
  9. 22 Jan, 2002 1 commit
    • predict.c: Fix formatting. · cf403648
      	* predict.c: Fix formatting.
      	* print-tree.c: Likewise.
      	* protoize.c: Likewise.
      	* real.h: Likewise.
      	* rtl.h: Likewise.
      	* sbitmap.h: Likewise.
      	* scan.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-vis.c: Likewise.
      	* sdbout.c: Likewise.
      	* sibcall.c: Likewise.
      	* ssa.c: Likewise.
      	* ssa-ccp.c: Likewise.
      	* ssa-dce.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* system.h: Likewise.
      
      From-SVN: r49074
      Kazu Hirata committed
  10. 28 Dec, 2001 1 commit
  11. 11 Oct, 2001 1 commit
    • calls.c: Fix formatting. · eebedaa5
      	* calls.c: Fix formatting.
      	* c-decl.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* combine.c: Likewise.
      	* cppfiles.c: Likewise.
      	* cpplib.c: Likewise.
      	* cppmacro.c: Likewise.
      	* crtstuff.c: Likewise.
      	* cse.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.c: Likewise.
      	* ggc-page.c: Likewise.
      	* integrate.c: Likewise.
      	* libgcc2.c: Likewise.
      	* loop.c: Likewise.
      	* optabs.c: Likewise.
      	* profile.c: Likewise.
      	* protoize.c: Likewise.
      	* real.c: Likewise.
      	* recog.c: Likewise.
      	* reload1.c: Likewise.
      	* reload.c: Likewise.
      	* reorg.c: Likewise.
      	* resource.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* sdbout.c: Likewise.
      	* stmt.c: Likewise.
      	* toplev.c: Likewise.
      	* varasm.c: Likewise.
      
      From-SVN: r46182
      Kazu Hirata committed
  12. 22 Aug, 2001 1 commit
    • Makefile.in, [...]: replace "GNU CC" with "GCC". · 1322177d
      	* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
      	bitmap.h, builtin-types.def, builtins.c, builtins.def,
      	c-aux-info.c, c-common.c, c-common.def, c-common.h,
      	c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
      	c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
      	c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
      	caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
      	conditions.h, config.gcc, configure.frag, configure.in,
      	conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
      	cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
      	dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
      	doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
      	dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
      	emit-rtl.c, errors.c, errors.h, except.c, except.h,
      	exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
      	fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
      	function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
      	gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
      	gencheck.c, gencodes.c, genconfig.c, genemit.c,
      	genextract.c, genflags.c, gengenrtl.c, genmultilib,
      	genopinit.c, genoutput.c, genpeep.c, genrecog.c,
      	gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
      	ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
      	graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
      	gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
      	gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
      	hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
      	integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
      	libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
      	machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
      	mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
      	mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
      	params.h, predict.c, predict.def, predict.h, prefix.c,
      	prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
      	read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
      	regclass.c, regmove.c, regrename.c, regs.h, reload.c,
      	reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
      	rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
      	sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
      	sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
      	ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
      	stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
      	tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
      	tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
      	unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
      	unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
      	xcoffout.h: replace "GNU CC" with "GCC".
      
      From-SVN: r45105
      Lars Brinkhoff committed
  13. 06 Jul, 2001 1 commit
    • Makefile.in (final.o): Depend on target.h. · 08c148a8
      	* Makefile.in (final.o): Depend on target.h.
      	* final.c: Include target.h.
      	(default_function_pro_epilogue): New.
      	(final_start_function): Use target structure for function prologues.
      	(final_end_function): Use target structure for function epilogues.
      	* fold-const.c (real_hex_to_f): Constify s and p.
      	* output.h (default_function_pro_epilogue): New.
      	* real.h (real_hex_to_f): Update prototype.
      	* target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
      	TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
      	(TARGET_INITIALIZER): Update.
      	* target.h (gcc_target): Add struct asm_out.
      	* doc/tm.texi: Update.
      
      config:
      	Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
      	TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
      	in cpu/cpu.c, or rename old functions consistently.  Take
      	a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
      	redundant macros and prototypes.  Make new functions static.
      
      	* 1750a/1750a.c: Similarly.
      	* 1750a/1750a.h: Similarly.
      	* a29k/a29k-protos.h: Similarly.
      	* a29k/a29k.c: Similarly.
      	* a29k/a29k.h: Similarly.
      	* arc/arc-protos.h: Similarly.
      	* arc/arc.c: Similarly.
      	* arc/arc.h: Similarly.
      	* arm/arm-protos.h: Similarly.
      	* arm/arm.c: Similarly.
      	* arm/arm.h: Similarly.
      	* avr/avr-protos.h: Similarly.
      	* avr/avr.c: Similarly.
      	* avr/avr.h: Similarly.
      	* clipper/clipper-protos.h: Similarly.
      	* clipper/clipper.c: Similarly.
      	* clipper/clipper.h: Similarly.
      	* convex/convex.c: Similarly.
      	* convex/convex.h: Similarly.
      	* d30v/d30v-protos.h: Similarly.
      	* d30v/d30v.c: Similarly.
      	* d30v/d30v.h: Similarly.
      	* d30v/d30v.md: Similarly.
      	* dsp16xx/dsp16xx-protos.h: Similarly.
      	* dsp16xx/dsp16xx.c: Similarly.
      	* dsp16xx/dsp16xx.h: Similarly.
      	* elxsi/elxsi.c: Similarly.
      	* elxsi/elxsi.h: Similarly.
      	* fr30/fr30.c: Similarly.
      	* fr30/fr30.md: Similarly.
      	* h8300/h8300-protos.h: Similarly.
      	* h8300/h8300.c: Similarly.
      	* h8300/h8300.h: Similarly.
      	* i370/i370-protos.h: Similarly.
      	* i370/i370.c: Similarly.
      	* i370/i370.h: Similarly.
      	* i386/i386.c: Similarly.
      	* i386/osf1elf.h: Similarly.
      	* i386/osfrose.h: Similarly.
      	* i860/i860-protos.h: Similarly.
      	* i860/i860.c: Similarly.
      	* i860/i860.h: Similarly.
      	* i960/i960-protos.h: Similarly.
      	* i960/i960.c: Similarly.
      	* i960/i960.h: Similarly.
      	* ia64/ia64-protos.h: Similarly.
      	* ia64/ia64.c: Similarly.
      	* ia64/ia64.h: Similarly.
      	* m32r/m32r-protos.h: Similarly.
      	* m32r/m32r.c: Similarly.
      	* m32r/m32r.h: Similarly.
      	* m68hc11/m68hc11-protos.h: Similarly.
      	* m68hc11/m68hc11.c: Similarly.
      	* m68hc11/m68hc11.h: Similarly.
      	* m68k/crds.h: Similarly.
      	* m68k/dpx2.h: Similarly.
      	* m68k/m68k-protos.h: Similarly.
      	* m68k/m68k.c: Similarly.
      	* m68k/m68k.h: Similarly.
      	* m68k/news.h: Similarly.
      	* m88k/m88k-protos.h: Similarly.
      	* m88k/m88k.c: Similarly.
      	* m88k/m88k.h: Similarly.
      	* mips/mips-protos.h: Similarly.
      	* mips/mips.c: Similarly.
      	* mips/mips.h: Similarly.
      	* ns32k/merlin.h: Similarly.
      	* ns32k/ns32k.c: Similarly.
      	* ns32k/ns32k.h: Similarly.
      	* ns32k/tek6000.h: Similarly.
      	* pa/pa-protos.h: Similarly.
      	* pa/pa.c: Similarly.
      	* pa/pa.h: Similarly.
      	* pdp11/2bsd.h: Similarly.
      	* pdp11/pdp11-protos.h: Similarly.
      	* pdp11/pdp11.c: Similarly.
      	* pdp11/pdp11.h: Similarly.
      	* romp/romp-protos.h: Similarly.
      	* romp/romp.c: Similarly.
      	* romp/romp.h: Similarly.
      	* rs6000/rs6000-protos.h: Similarly.
      	* rs6000/rs6000.c: Similarly.
      	* rs6000/rs6000.h: Similarly.
      	* rs6000/sysv4.h: Similarly.
      	* sh/sh-protos.h: Similarly.
      	* sh/sh.c: Similarly.
      	* sh/sh.h: Similarly.
      	* sparc/sparc-protos.h: Similarly.
      	* sparc/sparc.c: Similarly.
      	* sparc/sparc.h: Similarly.
      	* vax/vax.c: Similarly.
      	* vax/vax.h: Similarly.
      	* vax/vms.h: Similarly.
      	* we32k/we32k.c: Similarly.
      	* we32k/we32k.h: Similarly.
      
      From-SVN: r43817
      Neil Booth committed
  14. 26 Jun, 2001 1 commit
  15. 26 May, 2001 1 commit
  16. 11 Apr, 2001 1 commit
  17. 10 Nov, 2000 1 commit
    • alpha.c (check_float_value): Use memcpy, not bcopy. · 4e135bdd
      	* alpha.c (check_float_value): Use memcpy, not bcopy.
      	* arm.c (output_move_double): Likewise.
      	* arm.md: Likewise.
      	* m88k.c (legitimize_operand): Likewise.
      	* m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
      	* m88k.md: Likewise.
      	* mips.c (override_options): Likewise.
      	* mips.md: Likewise.
      	* romp.c (output_fpops): Likewise.
      	* rs6000.c (rs6000_override_options): Likewise.
      	* sh.md: Likewise.
      	* vax.c (check_float_value): Likewise.
      
      	* emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
      	* expmed.c (synth_mult): Likewise.
      	* final.c (add_bb_string): Likewise.
      	* genattr.c (main): Likewise.
      	* genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
      	Likewise.
      	* jump.c (thread_jumps): Likewise.
      	* prefix.c (save_string): Likewise.
      	* real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
      	* regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
      	* reload1.c (reload, eliminate_regs): Likewise.
      
      cp:
      	* decl.c (grokdeclarator, save_function_data): Use memcpy, not bcopy.
      	* lex.c (copy_lang_decl): Likewise.
      
      java:
      	* decl.c (copy_lang_decl): Use memcpy, not bcopy.
      	* jcf-parse.c (jcf_figure_file_type): Likewise.
      
      From-SVN: r37367
      Kaveh R. Ghazi committed
  18. 09 Nov, 2000 1 commit
    • calls.c (expand_call, [...]): Use memcpy () instead of bcopy (). · 2e09e75a
      	* calls.c (expand_call, emit_library_call_value_1), collect2.c
      	(scan_prog_file), config/a29k/a29k.c (print_operand),
      	config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
      	instead of bcopy ().
      	* real.h: Use memcmp () instead of bcmp ().
      	* config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
      	(split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
      	ultrasparc_sched_init, ultrasparc_sched_reorder),
      	config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
      	instead of bzero ().
      	* config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
      	instead of rindex ().
      	* configure.in: Don't check for bzero, bcmp, index or rindex.
      	* configure, config.in: Regenerate.
      	* system.h: Don't include declarations for bzero, bcmp, index or
      	rindex.
      	* config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
      	bzero, bcmp, index or rindex.
      
      java:
      	* parse.y (create_new_parser_context): Use memset () instead of
      	bzero ().
      
      From-SVN: r37334
      Joseph Myers committed
  19. 14 Aug, 2000 1 commit
    • configure.in (ia64-*): Set float_format for i386 long double. · 3f622353
      	* configure.in (ia64-*): Set float_format for i386 long double.
      
      	* real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
      	as we would for i386 XFmode.
      	(PUT_REAL): Likewise.
      	(endian, ereal_atof, real_value_truncate): Likewise.
      	(ereal_isneg, toe64, etens, make_nan): Likewise.
      	* real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
      
      	* config/ia64/ia64-protos.h: Update.
      	* config/ia64/ia64.c (general_tfmode_operand): New.
      	(destination_tfmode_operand): New.
      	(tfreg_or_fp01_operand): New.
      	(ia64_split_timode): New.
      	(spill_tfmode_operand): New.
      	(ia64_expand_prologue): Use TFmode not XFmode.
      	(ia64_expand_epilogue): Likewise.
      	(ia64_function_arg): Likewise.
      	(ia64_function_arg_advance): Likewise.
      	(ia64_return_in_memory): Likewise.
      	(ia64_function_value): Likewise.
      	(ia64_print_operand): Likewise.
      	(ia64_register_move_cost): Set GR<->FR to 5.
      	(ia64_secondary_reload_class): Get GR for TImode memory op.
      	* config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
      	(ROUND_TYPE_ALIGN): Remove.
      	(LONG_DOUBLE_TYPE_SIZE): Set to 128.
      	(INTEL_EXTENDED_IEEE_FORMAT): Define.
      	(HARD_REGNO_NREGS): Use TFmode, not XFmode.
      	(HARD_REGNO_MODE_OK): Likewise.  Disallow TImode in FRs.
      	(MODES_TIEABLE_P): Use TFmode, not XFmode.
      	(CLASS_MAX_NREGS): Likewise.
      	(ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
      	(PREDICATE_CODES): Update.
      	* config/ia64/ia64.md (movti): New.
      	(movti_internal): Use a clobber for memory alternatives.
      	(reload_inti, reload_outti): New.
      	(movsfcc_astep): Predicate properly.
      	(movdfcc_astep): Likewise.
      	(movxf): Remove.
      	(movtf): New.
      	(extendsftf2, extenddftf2): New.
      	(trunctfsf2, trunctfdf2): New.
      	(floatditf2, fix_trunctfdi2): New.
      	(floatunsditf2, fixuns_trunctfdi2): New.
      	(addtf3, subtf3, multf3, abstf2): New.
      	(negtf2, nabstf2, mintf3, maxtf3): New.
      	(maddtf3, msubtf3, nmultf3, nmaddtf3): New.
      	(cmptf): New.
      	(fr_spill): Use TFmode, not XFmode.
      	(fr_restore): Likewise.
      	* config/ia64/lib1funcs.asm (__divtf3): New.
      	* config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
      
      From-SVN: r35689
      Richard Henderson committed
  20. 05 Aug, 2000 1 commit
    • [multiple changes] · a36556a8
      2000-08-04  Andreas Schwab  <schwab@suse.de>
      
      	* cppmain.c (cb_def_pragma): Skip the first two tokens from the
      	token list, which are always `#' and `pragma'.
      
      2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
      
      	* tree.c (tree_expr_nonnegative_p): Move to...
      	* fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
      	(rtl_expr_nonnegative_p): New.
      	* tree.h: Add prototype for rtl_expr_nonnegative_p.
      
      	* real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
      	CONST_DOUBLE_CHAIN: Move to...
      	* rtl.h: ...here.  Use XCINT/XCEXP.
      
      	* Makefile.in: Remove toplev.o from OBJS.  Add rule to make
      	libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
      	variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
      	to VOL_FILES.
      
      	* objc/Make-lang.in (cc1obj): Link with $(BACKEND).
      
      ch:
      	* Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist.
      	* Makefile.in (cc1chill): Link with $(BACKEND).  Define BACKEND,
      	eliminate C_OBJS (was commented out), OBJS, OBJDEPS.
      cp:
              * Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist.
              * Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS.
              (cc1plus): Link with $(BACKEND) and $(C_OBJS).
      f:
      	* Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist.
      	* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
      	(f771): Link with $(BACKEND).
      java:
      	* Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist.
      	* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
      	(jc1): Link with $(BACKEND).
      	(jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND).
      
      From-SVN: r35501
      Zack Weinberg committed
  21. 17 Jul, 2000 1 commit
  22. 11 Jun, 2000 1 commit
    • [multiple changes] · cbd3488b
      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
  23. 12 Apr, 2000 1 commit
  24. 25 Mar, 2000 1 commit
    • * Rework fields used to describe positions of bitfields and · 770ae6cc
      	modify sizes to be unsigned and use HOST_WIDE_INT.
      	* alias.c (reg_known_value_size): Now unsigned.
      	* c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
      	(really_start_incremental_init): Use bitsize_zero_node.
      	(push_init_level, pop_init_level, output_init_element): Likewise.
      	Use bitsize_unit_node and bitsize_one_node.
      	(output_pending_init_elements, process_init_element): Likewise.
      	* combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
      	(make_extraction): Position and length HOST_WIDE_INT and unsigned
      	HOST_WIDE_INT, respectively.
      	(get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
      	(num_sign_bit_copies): Returns unsigned.
      	BITWIDTH now unsigned; rework arithmetic.
      	Remove recursive call from arg to MAX.
      	(combine_instructions, init_reg_last_arrays): NREGS now unsigned.
      	(setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
      	REGNO now unsigned.
      	(set_nonzero_bit_and_sign_copies): NUM now unsigned.
      	(find_split_point, expand_compound_operation, make_extraction): LEN
      	now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
      	(make_field_assignment): Likewise.
      	(combine_simplify_rtx): Add cast.
      	(expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
      	(force_to_mode): WIDTH now unsigned; add cast.
      	(if_then_else_cond): SIZE now unsigned.
      	(nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
      	(extended_count): Now returns unsigned.
      	(simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
      	Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
      	(simplify_comparison): MODE_WIDTH now unsigned.
      	(update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
      	(mark_used_regs_combine): Likewise; rework arithmetic.
      	(record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
      	(record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
      	(record_promoted_value): REGNO now unsigned.
      	(get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
      	(get_last_value): REGNO now unsigned.
      	(use_crosses_set_p): REGNO and ENDREGNO now unsigned.
      	(reg_dead_regno, reg_dead_endregno): Now unsigned.
      	(remove_death): Arg REGNO now unsigned.
      	(move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
      	(reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
      	now unsigned.
      	* convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
      	* cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
      	(struct cse_reg_info): REGNO now unsigned.
      	(cached_regno): Now unsigned.
      	(REGNO_QTY_VALID_P): Add cast.
      	(make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
      	(remove_invalid_regs): Likewise.
      	(remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
      	as are variables END and I.
      	(get_cse_reg_info, insert): Likewise.
      	(mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
      	(canon_hash): Likewise.
      	(insert_regs, lookup_for_remove): REGNO now unsigned.
      	(invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
      	New variable RN.
      	* dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
      	* dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
      	* emit-rtl.c (subreg_realpart_p): Add cast.
      	(operand_subword): Arg I is now unsigned as is var PARTWORDS.
      	(operand_subword_force): Arg I is now unsigned.
      	* except.c (eh_regs): Variable I is now unsigned.
      	* explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
      	* expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
      	length is unsigned HOST_WIDE_INT; likewise for internal variables.
      	(store_split_bit_field, extract_fixed_bit_field): Likewise.
      	(extract_split_bit_field, store_bit_field, extract_bit_field):
      	Likewise.
      	* expr.c (store_constructor_fields, store_constructor, store_field):
      	Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
      	(expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
      	(do_jump): Likewise.
      	(move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
      	MAX_SIZE is now unsigned.
      	(emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
      	(emit_group_store): Likewise.
      	(emit_move_insn): I now unsigned.
      	(store_constructor): Use host_integerp, tree_low_cst, and
      	bitsize_unit_node.
      	(get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
      	Rework all calculations to use trees and new fields.
      	* expr.h (promoted_input_arg): Regno now unsigned.
      	(store_bit_field, extract_bit_field): Adjust types of pos and size.
      	(mark_seen_cases): Arg is HOST_WIDE_INT.
      	* flow.c (verify_wide_reg_1): REGNO now unsigned.
      	* fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
      	precisions and alignments are unsigned.
      	(optimize_bit_field_compare, fold_truthop): Likewise.
      	(int_const_binop): Adjust threshold for size_int_type_wide call.
      	(fold_convert): Likewise.
      	(size_int_type_wide): Make table larger and fix thinko that only
      	had half of table used.
      	(all_ones_mask_p, fold): Precisions are unsigned.
      	* function.c (put_reg_info_stack): REGNO is unsigned.
      	(instantiate_decl): Size is HOST_WIDE_INT.
      	(instantiate_virtual_regs): I is unsigned.
      	(assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
      	(promoted_input_arg): REGNO is unsigned.
      	* function.h (struct function): x_max_parm_reg is now unsigned.
      	* gcse.c (max_gcse_regno): Now unsigned.
      	(struct null_pointer_info): min_reg and max_reg now unsigned.
      	(lookup_set, next_set): REGNO arg now unsigned.
      	(compute_hash_table): REGNO and I now unsigned.
      	(handle_avail_expr): regnum_for_replacing now unsigned.
      	(cprop_insn): REGNO now unsigned.
      	(delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
      	* ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
      	* global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
      	* hard-reg-set.h (reg_class_size): Now unsigned.
      	* integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
      	* jump.c (mark_modified_reg): I now unsigned; add cast.
      	(rtx_equal_for_thread_p): Add cast.
      	* loop.c (max_reg_before_loop): Now unsigned.
      	(struct_movable): REGNO now unsigned.
      	(try_copy_prop): REGNO arg unsigned.
      	(regs_match_p): XN and YN now unsigned.
      	(consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
      	(strength_reduce): Likewise; NREGS also unsigned.
      	(first_increment_giv, last_increment_giv unsigned): Now unsigned.
      	* loop.h (struct iv_class): REGNO now unsigned.
      	(max_reg_before_loop, first_increment_giv, last_increment_giv):
      	Now unsigned.
      	* machmode.h (mode_size, mode_unit_size): Now unsigned.
      	(mode_for_size, smallest_mode_for_size): Pass size as unsigned.
      	* optabs.c (expand_binop): I and NWORDS now unsigned.
      	(expand_unop): I now unsigned.
      	* print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
      	print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
      	* real.c (significand_size): Now returns unsigned.
      	* real.h (significand_size): Likewise.
      	* regclass.c (reg_class_size): Now unsigned.
      	(choose_hard_reg_mode): Both operands now unsigned.
      	(record_reg_classes): REGNO and NR now unsigned.
      	(reg_scan): NREGS now unsigned.
      	(reg_scan_update): old_max_regno now unsigned.
      	(reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
      	* reload.c (find_valid_class): BEST_SIZE now unsigned.
      	(find_dummy_reload): REGNO, NWORDS, and	I now unsigned.
      	(hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
      	Likewise for variable R.
      	(refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
      	as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
      	(find_equiv_reg): Add casts.
      	(regno_clobbered_p): Arg REGNO now unsigned.
      	* reload.h (struct reload): NREGS now unsigned.
      	(refers_to_regno_for_reload_p): Regno args are unsigned.
      	(regno_clobbered_p): Likewise.
      	* reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
      	(compute_use_by_pseudos): REGNO now unsigned.
      	(find_reg): I and J now unsigned, new variable K, and change loop
      	variables accordingly; THIS_NREGS now unsigned.
      	(alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
      	(spill_hard_reg): REGNO arg now unsigned; add casts.
      	(forget_old_reloads_1): REGNO, NR, and I now unsigned.
      	(mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
      	(clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
      	END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
      	(reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
      	(choose_reload_regs): MAX_GROUP_SIZE now unsigned.
      	(emit_reload_insns): REGNO now unsigned.
      	(reload_cse_move2add): Add cast.
      	(move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
      	and rework loop.
      	* resource.c (mark_referenced_resources, mark_set_resources): New
      	variable R; REGNO and LAST_REGNO now unsigned.
      	(mark_target_live_regs): J and REGNO now unsigned.
      	* rtl.c (mode_size, mode_unit_size): Now unsigned.
      	* rtl.h (union rtunion_def): New field rtuint.
      	(XCUINT): New macro.
      	(ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
      	(operand_subword, operand_subword_force): Word number is unsigned.
      	(choose_hard_reg_mode): Operands are unsigned.
      	(refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
      	(find_regno_note, find_regno_fusage, replace_regs): Likewise.
      	(regno_use_in, combine_instructions, remove_death): Likewise.
      	(reg_scan, reg_scan_update): Likewise.
      	(extended_count): Return is unsigned.
      	* rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
      	INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
      	(reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
      	(reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
      	(reg_reg_last_1): FIRS and LAST now unsigned.
      	(dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
      	(dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
      	now unsigned.
      	(find_regno_note, regno_use_in): Arg REGNO now unsigned.
      	(find_regno_fusage): Likewise; also var REGNOTE now unsigned.
      	(find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
      	(replace_regs): Arg NREGS now unsigned.
      	* sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
      	* simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
      	(simplify_binary_operation): Likewise.
      	(cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
      	THIS_LAST now unsigned.
      	(cselib_record_set): Add cast.
      	* ssa.c (ssa_max_reg_num): Now unsigned.
      	(rename_block): REGNO now unsigned.
      	* stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
      	sizes now unsigned.
      	(all_cases_count): Just return -1 not -2.
      	COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
      	Rework tests to use trees whenever possible.
      	Use host_integerp and tree_low_cst.
      	(mark_seen_cases): COUNT arg now HOST_WIDE_INT;
      	Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
      	(check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
      	* stor-layout.c (mode_for_size): SIZE arg now unsigned.
      	(smallest_mode_for_size): Likewise.
      	(layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
      	KNOWN_ALIGN is now an alignment, so simplify code.
      	Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
      	(start_record_layout): Renamed from new_record_layout_info.
      	Update to new fields.
      	(debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
      	New functions.
      	(place_union_field): Renamed from layout_union_field.
      	Update to use new fields in rli.
      	(place_field): Renamed from layout_field.
      	Major rewrite to use new fields in rli; pass alignment to layout_decl.
      	(finalize_record_size): Rework to use new fields in rli and handle
      	union.
      	(compute_record_mode): Rework to simplify and to use new DECL fields.
      	(finalize_type_size): Make rounding more consistent.
      	(finish_union_layout): Deleted.
      	(layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
      	(layout_type, case RECORD_TYPE): Call new function names.
      	(initialize_sizetypes): Set TYPE_IS_SIZETYPE.
      	(set_sizetype): Set TYPE_IS_SIZETYPE earlier.
      	(get_best_mode): UNIT is now unsigned; remove casts.
      	* tree.c (bit_position): Compute from new fields.
      	(byte_position, int_byte_position): New functions.
      	(print_type_hash_statistics): Cast to remove warning.
      	(build_range_type): Use host_integerp and tree_low_cst to try to hash.
      	(build_index_type): Likewise; make subtype of sizetype.
      	(build_index_2_type): Pass sizetype to build_range_type.
      	(build_common_tree_nodes): Use size_int and bitsize_int to
      	initialize nodes; add bitsize_{zero,one,unit}_node.
      	* tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
      	(DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
      	(DECL_PACKED, DECL_BIT_FIELD): Likewise.
      	(DECL_FIELD_BITPOS): Deleted.
      	(DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
      	(DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
      	(DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
      	(DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
      	(DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
      	(DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
      	(DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
      	(DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
      	(DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
      	(DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
      	(DECL_ALIGN): Adjust to new field in union.
      	(DECL_OFFSET_ALIGN): New field.
      	(DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
      	(DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
      	(union tree_decl): Add struct for both aligns.
      	(enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
      	(bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
      	(struct record_layout_info): Rework fields to have offset
      	alignment and byte and bit position.
      	(start_record_layout, place_field): Renamed from old names.
      	(rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
      	(byte_position, int_byte_position): Likewise.
      	(get_inner_reference): Change types of position and length.
      	* unroll.c (unroll_loop): New variable R; use for some loops.
      	MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
      	(calculate_giv_inc): Arg REGNO now unsigned.
      	(copy_loop_body): REGNO and SRC_REGNO now unsigned.
      	* varasm.c (assemble_variable): Clean up handling of size using
      	host_integerp and tree_low_cst.
      	(decode_addr_const): Use byte, not bit, position.
      	(output_constructor): bitpos and offsets are HOST_WIDE_INT;
      	use tree_low_cst and int_bit_position.
      	* objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
      	* ch/actions.c (check_missing_cases): BYTES_NEEDED is HOST_WIDE_INT.
      	* ch/typeck.c (expand_constant_to_buffer): Use int_byte_position.
      	(extract_constant_from_buffer): Likewise.
      	* cp/class.c (build_vbase_pointer_fields): layout_field now
      	place_field.
      	(get_vfield_offset): Use byte_position.
      	(set_rtti_entry): Set OFFSET to ssizetype zero.
      	(get_binfo_offset_as_int): Deleted.
      	(dfs_record_base_offsets): Use tree_low_cst.
      	(dfs_search_base_offsets): Likewise.
      	(layout_nonempty_base_or_field): Reflect changes in RLI format
      	and call byte_position.
      	(layout_empty_base): Convert offset to ssizetype.
      	(build_base_field): use rli_size_unit_so_far.
      	(dfs_propagate_binfo_offsets): Do computation in proper type.
      	(layout_virtual_bases): Pass ssizetype to propagate_binfo_offsets.
      	(layout_class_type): Reflect changes in RLI names and fields.
      	(finish_struct_1): Set DECL_FIELD_OFFSET.
      	* cp/dump.c (dequeue_and_dump): Call bit_position.
      	* cp/expr.c (cplus_expand_constant): Use byte_position.
      	* cp/rtti.c (expand_class_desc): Use bitsize_one_node.
      	* cp/typeck.c (build_component_addr): Use byte_position and don't
      	special case for zero offset.
      	* f/com.c (ffecom_tree_canonize_ptr_): Use bitsize_zero_node.
      	(ffecom_tree_canonize_ref_): Likewise.
      	* java/class.c (make_field_value): Use byte_position.
      	* java/expr.c (JAVA_ARRAY_LENGTH_OFFSET): Use byte_position.
      	(java_array_data_offset): Likewise.
      	* java/java-tree.h (MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Add case to
      	bzero call.
      
      From-SVN: r32742
      Richard Kenner committed
  25. 06 Mar, 2000 1 commit
    • real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE if not defined. · 4710d3eb
      	* real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
      	LONG_DOUBLE_TYPE_SIZE if not defined.
      	Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
      	LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
      	* real.c: Likewise.
      	* gengenrtl.c: Likewise.
      	* print-rtl.c: Likewise.
      	* rtl.c: Likewise.
      	* config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
      	MASK_LONG_DOUBLE_128.
      	* config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
      	* config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
      	* config/sparc/linux64 (TARGET_DEFAULT): Likewise.
      	(SUBTARGET_SWITCHES): Define.
      	(CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
      	with -mlong-double-128.
      	(LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
      	(MAX_LONG_DOUBLE_TYPE_SIZE): Define.
      	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
      	(CC1_SPEC): Include -mlong-double-{64,128} as needed.
      	* config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
      	(CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
      	with -mlong-double-128.
      	(LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
      	(MAX_LONG_DOUBLE_TYPE_SIZE): Define.
      	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
      	* config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
      	TARGET_LONG_DOUBLE_128): Define.
      	* config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
      	* config/sparc/sparc.c (sparc_override_options): Disallow 64bit
      	long double on TARGET_ARCH64.
      
      From-SVN: r32367
      Jakub Jelinek committed
  26. 26 Feb, 2000 1 commit
  27. 17 Jan, 2000 1 commit
    • machmode.h: PROTO -> PARAMS. · 13536812
              * machmode.h: PROTO -> PARAMS.
              * mbchar.h: Likewise.
              * mips-tdump.c: Likewise.
              * mips-tfile.c: Likewise.
              * optabs.c: Likewise.
              * output.h: Likewise.
              * prefix.c: Likewise.
              * profile.c: Likewise.
              * protoize.c: Likewise.
              * real.h: Likewise.
              * recog.c: Likewise.
              * recog.h: Likewise.
              * regclass.c: Likewise.
              * regmove.c: Likewise.
              * regs.h: Likewise.
      
      From-SVN: r31459
      Kaveh R. Ghazi committed
  28. 11 Jan, 2000 1 commit
  29. 10 Jan, 2000 1 commit
    • Makefile.in (optabs.o): Depend on real.h · 7bdb32b9
      	* Makefile.in (optabs.o): Depend on real.h
      	(resource.o): Depend on insn-attr.h
      
      	* builtins.c (result_vector): Wrap prototype in macro conditions
      	governing definition and use.
      
      	* c-common.c: Include tm_p.h.
      
      	* c-lex.c: Likewise.
      
      	* elfos.h: Constify a char*.
      
      	* final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
      	(get_attr_length, shorten_branches, profile_after_prologue): Mark
      	parameter with ATTRIBUTE_UNUSED.
      
      	* fold-const.c (exact_real_inverse): Wrap variable `i' in
      	CHECK_FLOAT_VALUE.
      
      	* haifa-sched.c (schedule_insns): Mark parameter with
      	ATTRIBUTE_UNUSED.
      
      	* optabs.c: Include real.h.
      
      	* real.h (ereal_atof): Add prototype arguments.
      
      	* resource.c: Include insn-attr.h.
      
      	* sdbout.c (sdbout_queue_anonymous_type,
      	sdbout_dequeue_anonymous_types): Wrap in macro
      	SDB_ALLOW_FORWARD_REFERENCES.
      	(sdbout_init, sdbout_start_new_source_file): Mark parameter with
      	ATTRIBUTE_UNUSED.
      
      	* stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
      
      	* stupid.c: Include tm_p.h.
      
      	* tree.c (real_value_from_int_cst): Mark parameter with
      	ATTRIBUTE_UNUSED.
      
      cp:
      	* lex.c: Include tm_p.h.
      
      ch:
      	* lex.c: Include tm_p.h.
      
      From-SVN: r31308
      Kaveh R. Ghazi committed
  30. 07 Sep, 1999 1 commit
  31. 31 Aug, 1999 1 commit
    • rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and bounds- check RTL… · ef178af3
      rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and bounds- check RTL accesses if --enable-checking.
      
      1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
      
      	* rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
      	bounds- check RTL accesses if --enable-checking.
      	(RTVEC_ELT): Bounds check if --enable-checking.
      	(XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
      	XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
      	(XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
      	GET_NUM_ELEM.
      	(X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
      	X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
      
      	(ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
      	(NOTE_SOURCE_FILE): Use X0STR.
      	(NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
      	MEM_ALIAS_SET): Use X0INT.
      	(NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
      	JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
      	Use X0EXP.
      	* real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
      	* rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
      	(rtl_check_failed_bounds, rtl_check_failed_type1,
      	rtl_check_failed_type2, rtvec_check_failed_bounds): New
      	functions.
      	(fancy_abort): Fix comment.
      
      	* cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
      	(cse_insn): Decrement LABEL_NUSES for jump target before
      	deleting jump insn.
      	* emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
      	* final.c (alter_subreg): Compute regno before changing x to
      	REG; set REGNO(x) after changing it.
      	* flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
      	notes containing CONST_INTs.
      	(delete_eh_regions): Use NOTE_EH_HANDLER.
      	* function.c (put_reg_into_stack): Make reg a MEM before
      	initializing it.
      	(fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
      	delete insn.
      	(gen_mem_addressof): Make reg a MEM before initializing it.
      	* integrate.c (copy_rtx_and_substitute): Copy '0' slots with
      	X0WINT.
      	* local-alloc.c (update_equiv_regs): Zap REG_NOTES before
      	deleting an insn, not after.
      	(block_alloc): Only look at PATTERN(insn) if we have to, and
      	only if it's format class 'i'.
      	* loop.c (check_dbra_loop): Check bl->biv->add_val is a
      	CONST_INT before using its INTVAL.
      	* print-rtl.c (print_rtx): Use X0STR.
      	* regmove.c (fixup_match_1): Don't look at PATTERN of
      	non-class-'i' insn chain elements.
      	* reload.c (loc_mentioned_in_p): Take address of
      	in->fld[1].rtx directly.
      	* reload1.c (reload): Change reg to a MEM before initializing
      	it.
      	* varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
      	have no names.
      	* config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
      
      From-SVN: r29008
      Zack Weinberg committed
  32. 06 Mar, 1999 1 commit
    • c-aux-info.c (data_type, [...]): Qualify a char* with the `const' keyword. · dff01034
              * c-aux-info.c (data_type, affix_data_type, gen_decl,
              gen_formal_list_for_type, gen_formal_list_for_func_def, gen_type):
              Qualify a char* with the `const' keyword.
              * c-common.c (declare_hidden_char_array, add_attribute, if_elt,
              declare_function_name, decl_attributes, format_char_info,
              check_format_info, binary_op_error): Likewise.
              * cexp.y (yyerror, error, pedwarn, warning, token): Likewise.
              * gcse.c (dump_hash_table): Likewise.
              * integrate.c (function_cannot_inline_p): Likewise
              * optabs.c: Include insn-config.h earlier.
              (init_libfuncs, init_integral_libfuncs, init_floating_libfuncs):
              Qualify a char* with the `const' keyword.
              * real.c (asctoe24, asctoe53, asctoe64, asctoe113, asctoe,
              asctoeg, mtherr, ereal_atof): Likewise.
              * real.h (ereal_atof): Likewise.
              * sbitmap.c (dump_sbitmap_vector): Likewise.
              * sbitmap.h (dump_sbitmap_vector): Likewise.
              * stmt.c (nesting, n_occurrences, expand_start_case): Likewise.
              * toplev.c (rest_of_compilation): Likewise.
              * tree.h (function_cannot_inline_p, expand_start_case): Likewise.
      
      From-SVN: r25614
      Kaveh R. Ghazi committed
  33. 06 Jan, 1999 1 commit
  34. 01 Dec, 1998 1 commit
    • c-common.c (declare_function_name): Declare predefinied variable `__func__'. · 6f4d7222
              * c-common.c (declare_function_name): Declare predefinied variable
              `__func__'.
              * c-decl.c (flag_isoc9x): Set to 1 by default.
              (c_decode_option): Handle -std= option.  Remove -flang-isoc9x.
              (grokdeclarator): Always emit warning about implicit int for ISO C 9x.
              * c-parse.in: Allow constructors in ISO C 9x.
              Rewrite designator list handling.
              Allow [*] parameters.
              Don't warn about comma at end of enum definition for ISO C 9x.
              * cccp.c (c9x): New variable.
              (rest_extension): New variable.
              (print_help): Document new -std= option.
              (main): Recognize -std= option.  Set c9x appropriately.
              (create_definition): Recognize ISO C 9x vararg macros.
              * gcc.c (default_compilers): Adjust specs for -std options.
              (option_map): Add --std.
              (display_help): Document -std.
              * toplev.c (documented_lang_options): Add -std and remove
              -flang-isoc9x.
              * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF
              or REAL_VALUE_HTOF based on base of the constants.
              * fold-const.c (real_hex_to_f): New function.  Replacement function
              for hex FP conversion if REAL_ARITHMETIC is not defined.
              * real.c (asctoeg): Add handling of hex FP constants.
              * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or
              real_hex_to_f.
      
      Co-Authored-By: Richard Henderson <rth@cygnus.com>
      Co-Authored-By: Stephen L Moshier <moshier@world.std.com>
      
      From-SVN: r24049
      Ulrich Drepper committed
  35. 06 Jul, 1998 1 commit
  36. 05 May, 1998 1 commit
  37. 14 Nov, 1997 1 commit
    • patch from paul eggert to fix -0.0/0.0 confusion that breaks glibc · 41c9120b
      	* real.h (REAL_VALUES_IDENTICAL): New macro.
      	* expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
      	* fold-const.c (operand_equal_p): Don't consider -0.0 to be
      	identical to 0.0.
      	* tree.c (simple_cst_equal): Don't consider -0.0 to have the
      	same tree structure as 0.0.
      	* varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
      	macro instead of doing it by hand.
      
      From-SVN: r16472
      Paul Eggert committed
  38. 02 Nov, 1997 1 commit
  39. 19 Aug, 1997 1 commit