1. 05 Aug, 2004 8 commits
    • Commit for Victor Leikehman <lei@il.ibm.com> · 943bf8b5
      	PR libgfortran/16704
      	* io/read.c (read_radix): Understand letters f and F as hex digits.
      
      From-SVN: r85596
      Victor Leikehman committed
    • i386.c (ix86_expand_prologue): If the function uses a frame pointer, restore eax… · ea5f7a19
      i386.c (ix86_expand_prologue): If the function uses a frame pointer, restore eax with an ebp-relative address.
      
      	* config/i386/i386.c (ix86_expand_prologue): If the function uses a
      	frame pointer, restore eax with an ebp-relative address.
      
      From-SVN: r85595
      Richard Sandiford committed
    • 20020118-1.c: Declare abort. · fce731b5
      2004-08-04  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * gcc.dg/20020118-1.c: Declare abort.
              * gcc.dg/altivec_check.h: Likewise.
              * gcc.dg/iftrap-2.c: Likewise.
              * gcc.dg/pragma-darwin.c: Likewise.
              * gcc.dg/rs6000-ldouble-1.c: Declare abort and exit.
      
      From-SVN: r85594
      Andrew Pinski committed
    • re PR c/14516 (-fleading-underscore does not work correctly for file static variables) · 0e6df31e
      2004-08-04  Geoffrey Keating  <geoffk@apple.com>
      
      	PR 14516
      	* c-common.c (c_expand_decl): Don't special-case static VAR_DECLs.
      	* c-common.h (make_rtl_for_local_static): Delete.
      	* c-decl.c (shadow_tag_warned): Clean up comment.
      	(finish_decl): Clean up spacing.  Use set_user_assembler_name when
      	appropriate.  Don't pass asmspec to rest_of_decl_compilation.
      	* c-semantics.c (make_rtl_for_local_static): Delete.
      	* expr.c (init_block_move_fn): Use set_user_assembler_name.
      	(init_block_clear_fn): Likewise.
      	* passes.c (rest_of_decl_compilation): Remove asmspec parameter,
      	expect it to be in DECL_ASSEMBLER_NAME.  Update callers in many files.
      	* toplev.h (rest_of_decl_compilation): Remove asmspec parameter.
      	* tree.h (make_decl_rtl): Remove second parameter.
      	(set_user_assembler_name): New.
      	* varasm.c (set_user_assembler_name): New.
      	(make_decl_rtl): Remove second parameter.  Update callers in many
      	files.
      
      Index: cp/ChangeLog
      2004-08-04  Geoffrey Keating  <geoffk@apple.com>
      
      	* decl.c (make_rtl_for_nonlocal_decl): Set DECL_ASSEMBLER_NAME rather
      	than passing it as a parameter to rest_of_decl_compilation.
      	* decl2.c (grokfield): Use set_user_assembler_name.
      
      From-SVN: r85593
      Geoffrey Keating committed
    • config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0. · 4f587cb0
      	* config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.
      	(case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*.  Update
      	to LynxOS 4.0.
      	* gthr-lynx.h: New file.
      	* config/lynx-ng.h: Remove file.
      	* config/lynx.h: Update to LynxOS 4.0.
      	* config/t-lynx: New file.
      	* config/i386/lynx-ng.h: Remove file.
      	* config/i386/lynx.h: Update to LynxOS 4.0.
      	* config/rs6000/lynxbase.h: Remove file.
      	* config/rs6000/lynx.h: Update to LynxOS 4.0.
      	* config/rs6000/t-lynx: New file.
      	* doc/install.texi (Options specification): Remove reference to
      	LynxOS from systems where --with-gnu-as makes a difference.
      
      From-SVN: r85591
      Adam Nemet committed
    • c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and __UINTMAX_TYPE__. · 85291069
      	* c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and
      	__UINTMAX_TYPE__.
      	* c-cppbuiltin.c (builtin_define_stdint_macros): New.  Define
      	__INTMAX_MAX__.
      	(c_cpp_builtins): Call it.
      	* doc/cpp.texi: Update.
      
      testsuite:
      	* gcc.c-torture/execute/builtins/abs-2.c,
      	gcc.c-torture/execute/builtins/abs-3.c,
      	gcc.c-torture/execute/builtins/lib/abs.c, gcc.dg/format/format.h,
      	gcc.dg/torture/builtin-attr-1.c: Use predefined macros for
      	intmax_t, uintmax_t and their limits.
      	* gcc.dg/intmax_t-1.c: New test.
      
      From-SVN: r85588
      Joseph Myers committed
    • Daily bump. · 5a05b7c5
      From-SVN: r85585
      GCC Administrator committed
  2. 04 Aug, 2004 32 commits
    • rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero cost. · 30a555d9
              * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero
              cost.
      
      From-SVN: r85582
      David Edelsohn committed
    • * g++.dg/tc1/dr147.C: Add reference to PR. · f1ff6bb8
      From-SVN: r85581
      Giovanni Bajo committed
    • basic-block.h (profile_staus): New global variable. · 878f99d2
      	* basic-block.h (profile_staus): New global variable.
      	* cfg.c (profile_status): Declare.
      	(check_bb_profile): Break out from ....; use profile_status
      	(dump_flow_info): ... here.
      	* cfgbuild.c (find_basic_blocks): Set profile_status.
      	* cfgexpand.c (tree_expand_cfg): Likewise.
      	* predict.c (estimate_probability): Likewise.
      	* profile.c (branch_prob): Likewise.
      	* tree-cfg.c (build_tree_cfg): Likewise.
      	(dump_function_to_file): Use check_bb_profile.
      	* tree-pretty-print (dump_bb_header): Likewise.
      	* tree-profile.c (do_tree_profiling): Cleanup.
      
      From-SVN: r85579
      Jan Hubicka committed
    • fix typo · d4794d1a
      From-SVN: r85575
      Jason Merrill committed
    • Makefile.in (RTL_BASE_H, RTL_H): Correct. · 7e7ec48e
      	* Makefile.in (RTL_BASE_H, RTL_H): Correct.
      	(BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o.
      	(genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o.
      	(read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o)
      	(genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o)
      	(genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o)
      	(genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H).
      	(ggc-none.o, errors.o): Move rule to generators section;
      	correct dependencies.
      	(min-insn-modes.o): Move rule to generators section; remove
      	unnecessary explicit command; correct dependencies.
      	(print-rtl.o, print-rtl1.o): Correct dependencies.
      	($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule.
      	(mostlyclean): Update.
      
      	* errors.c: Include bconfig.h not config.h.  Correct comment.
      	* gengtype.c, genpreds.c: Don't define NO_GENRTL_H.
      	* ggc-none.c: Include bconfig.h; not config.h or tm.h.
      	* print-rtl.c: Don't include tm_p.h.
      
      	* rtl.h: Move forward-decl of struct function down where it's
      	needed.  Include genrtl.h #ifndef GENERATOR_FILE, not
      	#ifndef NO_GENRTL_H.  Remove unnecessary #ifdef BUFSIZ statements.
      
      From-SVN: r85574
      Zack Weinberg committed
    • tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions. · b0382c67
      
      	* tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
      	* tree-flow.h (rewrite_ssa_into_ssa): Declaration changed.
      	* tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to
      	manipulate the duplicated ssa names.
      	* tree-ssanames.c (ssa_names_to_rewrite): New variable.
      	(marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite,
      	unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force):
      	New functions.
      	(release_ssa_name): Do not release ssa names that may have multiple
      	definitions.
      	* tree.h (release_ssa_name_force, mark_for_rewrite,
      	unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p,
      	marked_ssa_names): Declare.
      	* tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove.
      	(duplicate_blocks): Remove call to mark_defs_for_rewrite.
      	Update call to rewrite_ssa_into_ssa.
      
      Co-Authored-By: Jeff Law <law@redhat.com>
      
      From-SVN: r85572
      Zdenek Dvorak committed
    • defaults.h (TARGET_DECLSPEC): New macro. · 63c5b495
      	* defaults.h (TARGET_DECLSPEC): New macro.
      	* c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC.
      	* config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support.
      	* config/arm/symbian. (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
      	* config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove
      	__declspec support.
      	(TARGET_DECLSPEC): Define.
      	* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove
      	__declspec support.
      	* config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove
      	__declspec support.
      	(TARGET_DECLSPEC): Define.
      	* config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove
      	__declspec support.
      	* config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec
      	support.
      	* doc/tm.texi (TARGET_DECLSPEC): Document.
      
      	* doc/extend.texi: Fix typo in comment.
      
      From-SVN: r85571
      Mark Mitchell committed
    • Add missing ChangeLog entry · 564076f5
      From-SVN: r85570
      Mark Mitchell committed
    • acinclude.m4: Correctly quote PKG_CHECK_MODULES. · 614c0fc2
      2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
      	    Michael Koch  <konqueror@gmx.de>
      
      	* acinclude.m4: Correctly quote PKG_CHECK_MODULES.
      	* configure.in: Replaced all usages of AC_LINK_FILES by
      	AC_CONFIG_LINKS.
      	* aclocal.m4,
      	configure: Regenerated.
      
      Co-Authored-By: Michael Koch <konqueror@gmx.de>
      
      From-SVN: r85569
      Thomas Fitzsimmons committed
    • mips-args-[23].c: Declare abort() and exit(). · 54f2f9a6
      	* gcc.dg/mips-args-[23].c: Declare abort() and exit().
      	* gcc.dg/torture/mips-hilo-[12].c: Likewise.
      
      From-SVN: r85567
      Richard Sandiford committed
    • acconfig.h: Removed. · ff78c80b
      2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
      	    Michael Koch  <konqueror@gmx.de>
      
      	* acconfig.h: Removed.
      	* Makefile.am: Rename variables for xlib peer to include xlib and
      	gtk_c_headers to gtk_jni_headers.
      	* Makefile.in: Regenerated.
      
      Co-Authored-By: Michael Koch <konqueror@gmx.de>
      
      From-SVN: r85566
      Thomas Fitzsimmons committed
    • libjava.exp (bytecompile_file): Byte compile with debugging. · 76207f7c
      2004-08-04  Andrew Haley  <aph@redhat.com>
      
              * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
              debugging.
      
      From-SVN: r85565
      Andrew Haley committed
    • Fix typo. · 54e0b09f
      From-SVN: r85564
      Paul Brook committed
    • configure.in (arm*-*-symbianelf*): Add ${libgcj} and target-libiberty to noconfigdirs. · 972974fc
      	* configure.in (arm*-*-symbianelf*): Add ${libgcj} and
      	target-libiberty to noconfigdirs.
      
      From-SVN: r85563
      Mark Mitchell committed
    • decl.c (complete_array_type): Don't gratuitously copy maxindex. · 26fad1af
      	* decl.c (complete_array_type): Don't gratuitously copy
      	maxindex. Its type is always set.
      
      From-SVN: r85562
      Nathan Sidwell committed
    • target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define. · 44d10c10
      gcc/
      	* target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define.
      	(TARGET_CXX): Use it.
      	* target.h (struct gcc_target): Add cdtor_returns_this.
      	* config/arm/arm.c (arm_cxx_cdtor_returns_this): New function.
      	(TARGET_CXX_CDTOR_RETURNS_THIS): Define.
      	* doc/tm.texi: Document TARGET_CXX_CDTOR_RETURNS_THIS.
      gcc/cp/
      	* Make-lang.in (cp/semantics.o, cp/optimize.o): Depend on TARGET_H.
      	* cp-tree.h (struct language_function): Rename x_dtor_label to
      	x_cdtor_label.
      	(dtor_label): Rename ...
      	(cdtor_label): ... to this.
      	* decl.c (begin_constructor_body): Remove.
      	(check_special_function_return_type): Maybe change the return type.
      	(grokdeclarator): Pass the class type.
      	(start_preparsed_function): Constructors may need a return label.
      	(finish_constructor_body, finish_destructor_body): Set the return
      	value.
      	(begin_function_body): Don't call begin_constructor_body.
      	(finish_function): Don't warn for constructors or destructors.
      	(implicitly_declare_fn): Maybe change the return type.
      	* optimize.c: Include target.h.
      	(maybe_clone_body): Remap the function result.
      	* semantics.c: Include target.h.
      	(finish_return_stmt): Maybe jump to return label for constructors.
      
      From-SVN: r85561
      Paul Brook committed
    • configopts.html: Emphasize that options change. · 20c176ab
      2004-08-04  Phil Edwards  <phil@codesourcery.com>
      
      	* docs/html/configopts.html:  Emphasize that options change.
      	* docs/html/17_intro/configury.html:  Update links.
      
      From-SVN: r85560
      Phil Edwards committed
    • c-lex.c (narrowest_unsigned_type, [...]): Take low/high pair. · 5e9754af
      	* c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take
      	low/high pair. Do range checking directly.
      	(interpret_integer): Adjust.
      
      From-SVN: r85559
      Nathan Sidwell committed
    • * libgfortran.h (array_t, size0) New declarations. · 6c167c45
      	* m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
      	space if return value descriptor has NULL in its data field,
      	and initialize bounds and stride.
      	* intrinsics/size.c (array_t, size0): Declarations moved to
      	libgfortran.h.
      	* generated/*.c: Regenerate.
      
      From-SVN: r85558
      Victor Leikehman committed
    • config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the GCC ABI. · 2acc29bd
      doc/invoke.texi: Document this new switch and also the -mrenesas switch.
      
      From-SVN: r85557
      Nick Clifton committed
    • gcc_update: libjava/configure.ac -> configure.in. · d0921255
      2004-08-04  Paolo Bonzini  <gcc@gcc.gnu.org>
      
      	* gcc_update: libjava/configure.ac -> configure.in.  Automake
      	1.4 does not handle configure.ac properly.
      
      From-SVN: r85556
      Paolo Bonzini committed
    • Reverted renaming of configure.in to configure.ac, has to wait · 8fde06bb
      for updating of automake.
      
      From-SVN: r85555
      Paolo Bonzini committed
    • cfglayout.c (insn_locators_initialize): Update the current location before initializing a location. · 2496942a
      	* cfglayout.c (insn_locators_initialize): Update the current
      	location before initializing a location.
      
      From-SVN: r85554
      Nathan Sidwell committed
    • typeck.c (convert_ieee_real_to_integer): Call fold on the range checking trees… · 545eacdb
      typeck.c (convert_ieee_real_to_integer): Call fold on the range checking trees as they're being built.
      
      2004-08-04  Roger Sayle  <roger@eyesopen.com>
                  Andrew Haley  <aph@redhat.com>
      
              * typeck.c (convert_ieee_real_to_integer): Call fold on the range
              checking trees as they're being built.
              (convert): Call convert_ieee_real_to_integer if we're
              converting a constant, even if we're writing a class file.
      
      Co-Authored-By: Andrew Haley <aph@redhat.com>
      
      From-SVN: r85553
      Roger Sayle committed
    • * gcc_update: libjava/configure.in -> configure.ac. · da96112d
      From-SVN: r85552
      Andreas Schwab committed
    • configure.ac: New name of... · 32daf59b
      2004-08-04  Paolo Bonzini  <bonzini@gnu.org>
      
              * configure.ac: New name of...
      	* configure.in: ... this file.
      
      From-SVN: r85551
      Paolo Bonzini committed
    • Correct PR numbers · bcc7f708
      From-SVN: r85547
      Zack Weinberg committed
    • dbxout.c (dbxout_function_decl): Always call dbxout_function_end. · 403f8503
      	* dbxout.c (dbxout_function_decl): Always call dbxout_function_end.
      	(dbxout_function_end): Return after emitting the "Lscope" symbol
      	under the same conditions that this function formerly wasn't called.
      	Add explanatory comments.
      
      From-SVN: r85546
      Zack Weinberg committed
    • re PR target/14680 (reload_cse_simplify_operands triggers internal error on… · ca043393
      re PR target/14680 (reload_cse_simplify_operands triggers internal error on sparc64 when compiling netpbm)
      
      	PR 14680
      	* c-decl.c (record_builtin_type): Call debug_hooks->type_decl
      	on the new decl.
      
      From-SVN: r85545
      Zack Weinberg committed
    • re PR c++/13596 (value of __cplusplus) · 7e2e8179
      	PR 13596
      	* dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New
      	functions, broken out of dbxout_block.
      	(dbxout_block): The block at depth 0 should get LBRAC/RBRAC
      	stabs too, if it contains symbols.  Use the begin_label and
      	the Lscope label (emitted by dbxout_function_end) for the
      	range of this block.
      
      From-SVN: r85544
      Zack Weinberg committed
    • class.c (build_vtable): Do not set DECL_VISIBILITY here. · 73a8adb6
      	* class.c (build_vtable): Do not set DECL_VISIBILITY here.
      	(check_field_decls): Or here.
      	(check_methods): Or here.
      	(initialize_array): Don't mess with DECL_CONTEXT.
      	* cp-tree.h (start_decl): Adjust prototype.
      	(determine_visibility): New function.
      	* decl.c (duplicate_decls): Remove checks for hidden "operator
      	new".
      	(build_library_fn_1): Give all library functions default
      	visibility.
      	(start_decl): Add pop_scope_p parameter.  Tidy.
      	(cp_finish_decl): Do not pop scopes here.  Call
      	determine_visibility for variable definitions.
      	(start_preparsed_function): Call determine_visibility.
      	* decl2.c (determine_visibility): New function.
      	* method.c (use_thunk): Fix formatting.
      	* parser.c (cp_parser_condition): Adjust calls to start_decl.
      	(cp_parser_init_declarator): Likewise.
      	* pt.c (instantiate_decl): Always call pop_nested_class.
      	* rtti.c (get_tinfo_decl): Do not set DECL_VISIBILITY.
      	(tinfo_base_init): Likewise.
      
      	* g++.dg/ext/visibility/assign1.C: New test.
      	* g++.dg/ext/visibility/new1.C: Likewise.
      
      From-SVN: r85543
      Mark Mitchell committed
    • configure.in: Eliminate uses of changequote (mostly by quoting []). · aed6152d
      	* configure.in: Eliminate uses of changequote (mostly by quoting []).
      	Replace most top level 'dnl' comments with '#' comments, conforming
      	to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
      	help strings.
      	* configure: Rebuilt.
      
      From-SVN: r85540
      Nathanael Nerode committed