1. 20 Nov, 2002 1 commit
  2. 19 Nov, 2002 2 commits
    • re PR fortran/8587 ((double complex zero)**(double prec number) = NAN instead of zero) · 27dcc451
      2002-11-19  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	PR fortran/8587
      	* libF77/pow_zz.c: Handle (0.0, 0.0) ** power.
      
      2002-11-19  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	PR fortran/8587
      	* news.texi: Show PR fortran/8587 fixed.
      
      From-SVN: r59280
      Toon Moene committed
    • gcc.c (The Specs Language): Document spec functions. · f3226a90
      * gcc.c (The Specs Language): Document spec functions.
      (static_spec_functions, lookup_spec_function)
      (eval_spec_function, handle_spec_function)
      (if_exists_spec_function, alloc_args): New.
      (execute): Abort if processing_spec_function is true.
      (do_spec_1): Hand off spec to handle_spec_function if %:
      is encountered.  If processing_spec_function is true,
      end any pending argument when the end of the string is reached.
      (main): Use alloc_args to allocate the initial argument vector.
      * gcc.h (struct spec_function): New.
      (lang_specific_spec_functions): New extern.
      
      * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
      (ENDFILE_SPEC): Add if-exists(crtn%O%s).
      * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
      
      * doc/invoke.texi: Document spec functions.
      
      * cppspec.c (lang_specific_spec_functions): New.
      * gccspec.c: Likewise.
      
      * g++spec.c (lang_specific_spec_functions): New.
      
      * g77spec.c (lang_specific_spec_functions): New.
      
      * jvspec.c (lang_specific_spec_functions): New.
      
      From-SVN: r59241
      Jason Thorpe committed
  3. 02 Nov, 2002 3 commits
  4. 30 Oct, 2002 1 commit
    • fold-const.c (fold_binary_op_with_conditional_arg): Improve handling of cases… · 9402f6fb
      fold-const.c (fold_binary_op_with_conditional_arg): Improve handling of cases where one or both branches of the conditional have...
      
      
      	* fold-const.c (fold_binary_op_with_conditional_arg):  Improve
      	handling of cases where one or both branches of the conditional
      	have void type, i.e. throw an exception or don't return.
      	(fold): Only apply (and undo) type conversion to the non-void
      	branches of a COND_EXPR.
      
      	* f/com.c (ffecom_subscript_check_): Cast the failure branch
      	of the bounds check COND_EXPR to void, to indicate noreturn.
      	(ffe_truthvalue_conversion): Only apply truth value conversion
      	to the non-void branches of a COND_EXPR.
      
      From-SVN: r58661
      Roger Sayle committed
  5. 26 Oct, 2002 1 commit
  6. 16 Oct, 2002 1 commit
    • real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS as arguments. · da6eec72
      gcc/
              * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
              as arguments.  Bound DIGITS by the available buffer size.
              (real_to_hexadecimal): Likewise.
              * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
              (REAL_VALUE_TO_DECIMAL): Remove.
              * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
              sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
              config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
              config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
              config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
              config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
              config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
              use real_to_decimal directly, and with the proper arguments.
              * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
      
      gcc/cp/
              * error.c (dump_expr): Use real_to_decimal directly, and with
              the new arguments.
      
      gcc/f/
              * target.h (ffetarget_print_real1, ffetarget_print_real2): Use
              real_to_decimal directly, and with the new arguments.
      
      From-SVN: r58187
      Richard Henderson committed
  7. 24 Sep, 2002 1 commit
    • update_version: Do not check in files which are unchanged. · b4f94ac1
      maintainer-scripts:
      	* update_version: Do not check in files which are unchanged.
      	* gcc_release: Only update the version in gcc/version.c.
      gcc:
      	* version.c (version_string): Now const char[].
      	* version.h: Update to match.
      gcc/ada:
      	* Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
      	* Makefile.in (TOOLS_LIBS): Add ../../version.o.
      	* gnatvsn.ads: Gnat_Version_String is now a function.
      	* gnatvsn.adb: New file.  When asked for Gnat_Version_String,
      	copy the C version_string into a String and return it.
      	* gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
      	gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
      	Remove pragma Ident (Gnat_Version_String).  If this was the
      	sole use of package Gnatvsn, remove the with statement too.
      	* gnat1drv.adb: Tweak -gnatv output.
      gcc/f:
      	* Make-lang.in (g77spec.o): Don't depend on f/version.h.
      	(f/parse.o): Depend on version.h not f/version.h.
      	(g77version.o, f/version.o): Delete all references.
      
      	* com.c (ffecom_init_0): Fix transposed array indices in bsearch test.
      	* g77spec.c: Don't include f/version.h or refer to ffe_version_string.
      	* parse.c: Use version_string, not ffe_version_string.
      	* version.c, version.h: Delete files.
      libf2c:
      	* libF77/Version.c: Rename junk to __LIBF77_VERSION__.  Add
      	external decls for __LIBI77_VERSION__ and __LIBU77_VERSION__.
      	Delete __G77_LIBF77_VERSION__
      	(g77__fvers__): Print all three __LIB*77_VERSION__ strings,
      	and __VERSION__ if we have it; nothing else.
      
      	* libI77/Version.c: Provide only __LIBI77_VERSION__ (formerly junk).
      	* libU77/Version.c: Provide only __LIBU77_VERSION__ (formerly junk).
      
      From-SVN: r57461
      Zack Weinberg committed
  8. 23 Sep, 2002 2 commits
  9. 22 Sep, 2002 1 commit
  10. 21 Sep, 2002 1 commit
  11. 20 Sep, 2002 1 commit
  12. 19 Sep, 2002 1 commit
  13. 18 Sep, 2002 1 commit
  14. 17 Sep, 2002 1 commit
  15. 16 Sep, 2002 3 commits
    • Index: gcc/ChangeLog · 36a5eadd
      2002-09-12  Geoffrey Keating  <geoffk@apple.com>
      
      	* ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
      	mangling.
      
      	The following changes are merged from pch-branch:
      
      	* doc/gty.texi (GTY Options): Document %a.
      	* gengtype.c (do_scalar_typedef): New function.
      	(process_gc_options): Handle `length' option.
      	(set_gc_used_type): A pointer to an array of structures doesn't
      	qualify as a pointer to a structure.
      	(output_escaped_param): Add `%a' escape.
      	(write_gc_structure_fields): Allow 'desc' on array of unions.
      	(main): Define `uint8', `jword' and `JCF_u2' as scalars; use
      	do_scalar_typedef.
      
      	* gengtype.c (enum rtx_code): Make global.
      	(rtx_format): Make global.
      	(rtx_next): New.
      	(gen_rtx_next): New.
      	(write_rtx_next): New.
      	(adjust_field_rtx_def): Skip fields marked by chain_next.
      	(open_base_files): Delete redundant prototype.
      	(write_enum_defn): New.
      	(output_mangled_typename): Correct abort call.
      	(write_gc_marker_routine_for_structure): Handle chain_next and
      	chain_prev options.
      	(finish_root_table): Don't output redundant \n.
      	(main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
      	* c-tree.h (union lang_tree_node): Add chain_next option.
      
      	* gengtype.h (NUM_PARAM): New definition.
      	(struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
      	* gengtype.c (find_param_structure): New.
      	(adjust_field_type): Handle param<n>_is option.
      	(process_gc_options): Detect use_params option.  Update callers.
      	(set_gc_used_type): Add 'param' parameter, update callers.  Handle
      	'use_params' option.
      	(open_base_files): Add splay-tree.h to list of files included.
      	(output_mangled_typename): New.
      	(write_gc_structure_fields): Update 'param' parameter to support
      	multiple parameters.  Change name mangling.  Allow parameterized
      	fields to have an apparent scalar type.  Handle param<n>_is options,
      	use_param option.
      	(write_gc_marker_routine_for_structure): Update for change to name
      	mangling.  Better guess the output file for parameterized types.
      	(write_gc_types): Update for change to name mangling.
      	(write_gc_root): Update for change to name mangling.  Handle (ignore)
      	param<n>_is options.
      	* doc/gty.texi (GTY Options): Add description of param<n>_is
      	options, use_params option.
      	* ggc.h (ggc_mark_rtx): Update for changed name mangling.
      	* gengtype-lex.l: Produce token for param<n>_is.
      	* gengtype-yacc.y: Parse param<n>_is.
      
      	* gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
      
      	* rtl.c: Update comment describing rtx_format.
      	* rtl.h (union rtunion): Separate definition and typedef.
      	(struct rtx_def): Use gengtype to mark.
      	* Makefile.in (gengtype.o): Also depend on rtl.def.
      	* ggc.h (ggc_mark_rtx_children): Delete prototype.
      	(ggc_mark_rtx): Change to alias of gengtype-generated routine.
      	* ggc-common.c (ggc_mark_rtx_children): Delete.
      	(ggc_mark_rtx_children_1): Delete.
      	(gt_ggc_m_rtx_def): Delete.
      	* gengtype.c (adjust_field_rtx_def): New.
      	(adjust_field_type): Call adjust_field_rtx_def.
      	(write_gc_structure_fields): Add 'default' case to switch if none
      	is specified; remove unused code.
      
      	* tree.h (struct tree_exp): Update for change to meaning
      	of special.
      	* gengtype.c (adjust_field_tree_exp): New function.
      	(adjust_field_type): Handle `tree_exp' special here.
      	(write_gc_structure_fields): Don't handle `tree_exp' special here.
      	Handle new `dot' option.
      
      	* gengtype.h: Make `info' a pointer-to-const.
      	* gengtype-yacc.y (yacc_ids): Use xasprintf.
      
      	* gengtype.c (write_gc_structure_fields): Remove implementation
      	of `always' option, add `default' option.
      	* doc/gty.texi (GTY Options): Remove documentation of `always',
      	add `default'.
      
      Index: gcc/cp/ChangeLog
      2002-09-12  Geoffrey Keating  <geoffk@apple.com>
      
      	* cp-tree.h (union lang_tree_node): Add chain_next option.
      
      Index: gcc/f/ChangeLog
      2002-09-12  Geoffrey Keating  <geoffk@apple.com>
      
      	* com.c (union lang_tree_node): Add chain_next option.
      
      Index: gcc/java/ChangeLog
      2002-09-12  Geoffrey Keating  <geoffk@apple.com>
      
      	* java-tree.h (union lang_tree_node): Add chain_next option.
      
      From-SVN: r57206
      Geoffrey Keating committed
    • real.c, real.h: Rewrite from scratch. · efdc7e19
      gcc/
      	* real.c, real.h: Rewrite from scratch.
      
      	* Makefile.in (simplify-rtx.o): Depend on TREE_H.
      	(paranoia): New target.
      	* builtins.c (fold_builtin_inf): Use new real.h interface.
      	* c-common.c (builtin_define_with_hex_fp_value): Likewise.
      	* c-lex.c (interpret_float): Likewise.
      	* emit-rtl.c (gen_lowpart_common): Likewise.
      	* optabs.c (expand_float): Use real_2expN.
      	* config/ia64/ia64.md (divsi3, udivsi3): Likewise.
      	* defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
      	(FLOAT_WORDS_BIG_ENDIAN): New.
      	* cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
      	directly to REAL_VALUE_NEGATIVE.
      	* loop.c (canonicalize_condition): Likewise.
      	* simplify-rtx.c: Include tree.h.
      	(simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
      	with floating-point result modes.
      	* toplev.c (backend_init): Call init_real_once.
      
      	* fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
      	* tree.c (build_real): Likewise.
      	* config/alpha/alpha.c, config/vax/vax.c (float_strings,
      	float_values, inited_float_values, check_float_value): Remove.
      	* config/alpha/alpha.h, config/m68hc11/m68hc11.h,
      	config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
      	* doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
      
      gcc/f/
      	* target.c (ffetarget_real1): Don't pass FFETARGET_ATOF_
      	directly to ffetarget_make_real1.
      	(ffetarget_real2): Similarly.
      	* target.h (ffetarget_cvt_r1_to_rv_, ffetarget_cvt_rv_to_r2_,
      	ffetarget_cvt_r2_to_rv_): Use new real.h interface and simplify.
      
      gcc/java/
      	* jcf-parse.c (get_constant): Runtime check for IEEE format;
      	use new real.h interface.
      	* jcf-write.c (find_constant_index): Use new real.h interface.
      	* lex.c (IS_ZERO): Use REAL_VALUES_EQUAL.
      
      contrib/
      	* paranoia.cc: New file.
      
      From-SVN: r57198
      Richard Henderson committed
    • Daily bump. · b423e6fe
      From-SVN: r57186
      GCC Administrator committed
  16. 15 Sep, 2002 3 commits
  17. 14 Sep, 2002 1 commit
  18. 13 Sep, 2002 1 commit
  19. 12 Sep, 2002 1 commit
  20. 11 Sep, 2002 1 commit
  21. 10 Sep, 2002 1 commit
  22. 09 Sep, 2002 2 commits
  23. 08 Sep, 2002 1 commit
  24. 07 Sep, 2002 2 commits
  25. 06 Sep, 2002 1 commit
  26. 05 Sep, 2002 1 commit
  27. 04 Sep, 2002 2 commits
    • real.c (ereal_to_decimal): Add digits parameter. · 4b67a274
      	* real.c (ereal_to_decimal): Add digits parameter.
      	* real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
      	* c-pretty-print.c (pp_c_real_literal): Update call.
      	* print-rtl.c (print_rtx): Likewise.
      	* print-tree.c (print_node_brief, print_node): Likewise.
      	* sched-vis.c (print_value): Likewise.
      	* config/arc/arc.c (arc_print_operand): Likewise.
      	* config/c4x/c4x.c (c4x_print_operand): Likewise.
      	* config/i370/i370.h (PRINT_OPERAND): Likewise.
      	* config/i386/i386.c (print_operand): Likewise.
      	* config/i960/i960.c (i960_print_operand): Likewise.
      	* config/ip2k/ip2k.c (asm_output_float): Likewise.
      	* config/m32r/m32r.c (m32r_print_operand): Likewise.
      	* config/m68hc11/m68hc11.c (print_operand): Likewise.
      	* config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
      	ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
      	* config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
      	ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
      	* config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
      	ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
      	* config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
      	ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
      	* config/mips/mips.c (print_operand): Likewise.
      	* config/ns32k/ns32k.c (print_operand): Likewise.
      	* config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
      	* config/vax/vax.h (PRINT_OPERAND): Likewise.
      	* doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
      
              * f/target.h (ffetarget_print_real1, ffetarget_print_real2): Update
              call to REAL_VALUE_TO_DECIMAL.
      
      From-SVN: r56798
      Richard Henderson committed
    • Daily bump. · 9837dc8d
      From-SVN: r56788
      GCC Administrator committed
  28. 03 Sep, 2002 1 commit
  29. 02 Sep, 2002 1 commit