1. 11 Mar, 2004 7 commits
    • re PR c++/14510 (Lookup error between function name and struct name) · e46e9f82
      	PR c++/14510
      	* decl.c (xref_tag): Disregard non-type declarations when
      	looking up a tagged type.
      
      	PR c++/14510
      	* g++.dg/lookup/struct2.C: New test.
      
      From-SVN: r79298
      Mark Mitchell committed
    • c-pch.c (c_common_no_more_pch): Update for gt_pch_use_address extra arguments. · 4d0c31e6
              * c-pch.c (c_common_no_more_pch): Update for gt_pch_use_address
              extra arguments.
              * config.host (*-*-solaris2*, *-*-linux*): Add out_host_hook_obj
              and host_xmake_file fragments.
              * ggc-common.c (gt_pch_save): Update for gt_pch_get_address change.
              (gt_pch_restore): Similarly for gt_pch_use_address.
              (default_gt_pch_get_address): New.
              (mmap_gt_pch_get_address): Split out of gt_pch_save.
              (default_gt_pch_use_address): Split out of gt_pch_restore.
              (mmap_gt_pch_use_address): Likewise.
              * hooks.c (hook_voidp_size_t_null): Remove.
              (hook_bool_voidp_size_t_false): Remove.
              * hooks.h: Likewise.
              * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): Use one of the
              default_ or mmap_ definitions.
              (HOST_HOOKS_GT_PCH_USE_ADDRESS): Likewise.
              * hosthooks.h (struct host_hooks): Update gt_pch_get_address
              and gt_pch_use_address.
              * config/host-linux.c, config/host-solaris.c: New files.
              * config/x-linux, config/x-solaris: New files.
              * config/rs6000/host-darwin.c darwin_rs6000_gt_pch_get_address):
              Update for changed definition.
              (darwin_rs6000_gt_pch_use_address): Likewise.
              * doc/hostconfig.texi: Update docs.
      
      From-SVN: r79295
      Richard Henderson committed
    • Wrong version checked in previous patch · 4f5b645a
      From-SVN: r79292
      R. Kelley Cook committed
    • re PR c/14517 (change in behaviour wrt duplicate qualifiers) · 28fca7e4
              PR c/14517
              * c-decl.c (grokdeclarator): Don't warn for duplicate qualifiers
              except for pedantic c90 mode.
      
      From-SVN: r79286
      Richard Henderson committed
    • configure.ac: Bump AC_PREREQ to 2.59. · 8ab705be
      
      boehm-gc/
      2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.ac: Bump AC_PREREQ to 2.59.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      
      fastjar/
      2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.ac: Bump AC_PREREQ to 2.59.
      	* configure: Regenerate.
      
      intl/
      2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.ac: Bump AC_PREREQ to 2.59.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      gcc/
      2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.ac: Bump AC_PREREQ to 2.59.
      	* configure: Regenerate.
      
      libada/
      2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.in: Rename file to ...
      	* configure.ac: .. to this. Bump AC_PREREQ to 2.59.
      	* configure: Regenerate.
      
      libjava/libltdl/
      2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.ac: Bump AC_PREREQ to 2.59.
      	* configure: Regenerate.
      	* config-h.in: Regenerate.
      
      libstdc++-v3/
      2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.ac: Bump AC_PREREQ to 2.59.
      
      contrib/
      2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* gcc_update (files_and_dependencies): Insert libada/configure.
      
      From-SVN: r79285
      Kelley Cook committed
    • Daily bump. · 6790e4db
      From-SVN: r79282
      GCC Administrator committed
  2. 10 Mar, 2004 23 commits
  3. 09 Mar, 2004 10 commits
    • hpux.h (MULTILIB_DEFAULTS): Define. · e373cdb4
      	* config/ia64/hpux.h (MULTILIB_DEFAULTS): Define.
      	(LIBGCC_SPEC): Update to match.
      
      From-SVN: r79207
      Zack Weinberg committed
    • * c-decl.c (last_function_parms, last_function_parm_tags) · 77dbdb57
      	(last_function_parm_others, current_function_parms)
      	(current_function_parm_tags, current_function_parm_others):
      	Delete.
      	(ARG_INFO_PARMS, ARG_INFO_TAGS, ARG_INFO_TYPES, ARG_INFO_OTHERS):
      	New macros.
      	(grokdeclarator): For function definitions, save the arg-info
      	block from the declarator in DECL_ARGUMENTS.
      	(grokparms): Do not write to last_function_parm*.  Use ARG_INFO_*
      	macros to operate on arg-info block.  Can assume ARG_INFO_PARMS
      	contains only PARM_DECLs.  Improve diagnostics.
      	(get_parm_info): Use ARG_INFO_* macros.  Improve comments and
      	diagnostics.  Disable some expensive checks if not ENABLE_CHECKING.
      	(store_parm_decls_newstyle): Take the function to operate on,
      	and an arg-info block, as arguments; don't get anything from
      	current_function_* globals.
      	(store_parm_decls_oldstyle): Likewise.
      	(store_parm_decls): Pass fndecl and its arg-info block down to
      	store_parm_decls_newstyle/oldstyle.  Send functions with empty
      	argument lists through store_parm_decls_newstyle to reduce
      	overhead.
      	(pushdecl): Comment on the problems with the call to copy_node.
      	Clear DECL_ARGUMENTS of the old node after copying it, if it
      	is an arg-info block instead of a chain of decls.
      	(start_function): Do not manipulate current_function_parm* or
      	last_function_parm*.
      
      	* testsuite/gcc.dg/noncompile/incomplete-2.c: Move dg-error to
      	proper line.
      
      From-SVN: r79206
      Zack Weinberg committed
    • ifcvt.c (noce_try_sign_mask): New function to transform "x = (y < 0) ? z ... · 305eeaeb
      
      	* ifcvt.c (noce_try_sign_mask): New function to transform
      	"x = (y < 0) ? z : 0" into the equivalent "x = (y >> C) & z".
      	(noce_process_if_block): Call noce_try_sign_mask.
      
      	* gcc.c-torture/execute/20040309-1.c: New test case.
      
      Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
      
      From-SVN: r79205
      Roger Sayle committed
    • configure.ac: Bump version to 2.59. · a4f74b58
      
      2004-03-09  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.ac: Bump version to 2.59.  Apply suggested autoupdates.
      	* acconfig.h: Delete redundant file.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r79204
      Kelley Cook committed
    • c-typeck.c (tagged_types_tu_compatible_p): Fix typo. · f38f747d
      2004-03-09  Andrew Pinski  <apinski@apple.com>
      
              * c-typeck.c (tagged_types_tu_compatible_p):
              Fix typo.
      
      From-SVN: r79203
      Andrew Pinski committed
    • 2004-03-09 Michael Koch <konqueror@gmx.de> · bfb0a4ad
      	* java/lang/Thread.java
      	(runnable): Moved around.
      	(daemon): Renamed from daemon_flag.
      	(contextClassLoader): Renamed from context_class_loader.
      	(Thread): Reordered constructors.
      	(activeCount): Use group directly.
      	(destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
      	(holdsLock): Reworked javadoc.
      	(setDaemon): Reworked.
      	* java/lang/natThread.cc
      	(destroy): Removed.
      
      From-SVN: r79200
      Michael Koch committed
    • Makefile.am: Build property resource files into libgcj. · ec730df5
      2004-03-08  Anthony Green  <green@redhat.com>
      
      	* Makefile.am: Build property resource files into libgcj.
      	* Makefile.in: Rebuilt.
      	* java/util/regex/Matcher.java, java/util/regex/Pattern.java,
      	java/util/regex/PatternSyntaxException.java,
      	gnu/regexp/CharIndexed.java,
      	gnu/regexp/CharIndexedCharArray.java,
      	gnu/regexp/CharIndexedInputStream.java,
      	gnu/regexp/CharIndexedReader.java,
      	gnu/regexp/CharIndexedString.java,
      	gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
      	gnu/regexp/REException.java,
      	gnu/regexp/REFilterInputStream.java,
      	gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
      	gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
      	gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
      	gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
      	gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
      	gnu/regexp/RETokenLookAhead.java,
      	gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
      	gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
      	gnu/regexp/RETokenStart.java,
      	gnu/regexp/RETokenWordBoundary.java,
      	gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
      
      From-SVN: r79198
      Anthony Green committed
    • re PR c++/14397 (Access check for wrong copy constructor) · c497b976
      cp:
      	PR c++/14397
      	* call.c (convert_like_real): Build a const qualified temporary,
      	when testing ctor access.
      testsuite:
      	PR c++/14397
      	* g++.dg/overload/ref1.C: New.
      
      From-SVN: r79196
      Nathan Sidwell committed
    • * call.c (initialize_reference): Fix typo. · 205b4f1d
      From-SVN: r79191
      Mark Mitchell committed
    • simplify-rtx.c (simplify_const_relational_operation): New function renamed from… · 7ce3e360
      simplify-rtx.c (simplify_const_relational_operation): New function renamed from simplify_relational_operation.
      
      
      	* simplify-rtx.c (simplify_const_relational_operation): New function
      	renamed from simplify_relational_operation.
      	(simplify_relational_operation): Change prototype to accept an
      	additional mode argument.  Call simplify_const_relational_operation.
      	(simplify_gen_relational): Update simplify_relational_operation call.
      	(simplify_ternary_operation): Update simplify_relational_operation
      	subroutine call to use simplify_const_relational_operation instead.
      
      	* rtl.h (simplify_const_relational_operation): Prototype here.
      	(simplify_relational_operation): Add addtional mode argument.
      
      	* combine.c (combine_simplify_rtx): Update calls to
      	simplify_relational_operation.
      	(simplify_set): Likewise.
      	(gen_binary): Likewise.
      	* cse.c (fold_rtx): Likewise.
      	* dojump.c (compare_from_rtx): Likewise.
      	(do_compare_rtx_and_jump): Likewise.
      	* integrate.c (subst_constants): Likewise.
      	* unroll.c (simplify_cmp_and_jump_insns): Likewise.
      
      From-SVN: r79187
      Roger Sayle committed