1. 10 Mar, 2004 11 commits
    • ia64.md (divsi3, udivsi3): Remove unused variable twon34_r. · 5f1b2068
      	* config/ia64/ia64.md (divsi3, udivsi3): Remove unused variable
      	twon34_r.
      
      From-SVN: r79251
      Andreas Schwab committed
    • re PR libstdc++/13450 (std::pow(std::complex<double>(-1.,0.),0.5) yields (NaN,0)) · 52ddaf41
      2004-03-10  Paul Kienzle  <pkienzle@nist.gov>
      	    Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/13450
      	* include/std/std_complex.h (pow(const complex&, const _Tp&),
      	pow(const _Tp&, const complex&)): Use cmath pow only when safe.
      	* testsuite/26_numerics/complex/13450.cc: New.
      
      	* testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc.
      	* testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix.
      
      From-SVN: r79227
      Paul Kienzle committed
    • re PR libstdc++/3247 (valarray private member) · ecc7568d
      2004-03-10  Jerry Quinn  <jlquinn@optonline.net>
      
      	PR 3247
      	* include/bits/gslice_array.h (gslice_array()): Make public.
      	(operator=(gslice_array)): Make public.  Implement.
      	* include/bits/indirect_array.h (indirect_array()): Make public.
      	* include/bits/mask_array.h (mask_array()): Make public.
      	(operator=(mask_array)): Make public.  Implement.
      	* include/bits/valarray_array.tcc (__valarray_copy):
      	Comment.  Add versions for gslice_array and mask_array.
      	* testsuite/26_numerics/valarray_subset_assignment.cc:  New test.
      
      From-SVN: r79226
      Jerry Quinn committed
    • swap.cc: Add in bits for non-weak systems. · 6dde938c
      2004-03-09  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for
      	non-weak systems.
      	* testsuite/23_containers/vector/modifiers/swap.cc: Same.
      	* testsuite/23_containers/set/modifiers/swap.cc: Same.
      	* testsuite/23_containers/multiset/modifiers/swap.cc: Same.
      	* testsuite/23_containers/multimap/modifiers/swap.cc: Same.
      	* testsuite/23_containers/map/modifiers/swap.cc: Same.
      	* testsuite/23_containers/list/modifiers/swap.cc: Same.
      
      	* testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions.
      
      From-SVN: r79224
      Benjamin Kosnik committed
    • Testsuite changes for new -Wstrict-aliasing=2 option. · 8a308d45
      	* gcc.dg/alias-1.c: Add "will" to string passed to dg-warning.
      	* gcc.dg/alias-2.c: New testcase.
      
      From-SVN: r79223
      James E Wilson committed
    • New option -Wstrict-aliasing=2. · 5399d643
      	* alias.c (alias_sets_might_conflict_p): New.
      	* c-typeck.c (build_c_cast): Call it if warn_strict_aliasing > 1.
      	* common.opt (Wstrict-aliasing=): New.
      	* flags.h (warn_strict_aliasing): Change type to int.
      	* opts.c (warn_strict_aliasing): Change type to int.
      	(common_handle_option): Handle OPT_Wstrict_aliasing_.
      	* tree.h (alias_sets_might_conflict_p): Declare it.
      	* doc/invoke.tex (-Wstrict-aliasing=2): Document it.
      
      From-SVN: r79222
      James E Wilson committed
    • re PR bootstrap/12371 ([m68k-linux] bootstrap error in make compare) · a4e9467d
      2004-03-10  Roman Zippel  <zippel@linux-m68k.org>
      
              PR bootstrap/12371
              * config/m68k/m68k.h (FIXED_REGISTERS): Add arg pointer.
              (CALL_USED_REGISTERS): Likewise.
              (REG_CLASS_CONTENTS): Likewise.
              (REG_ALLOC_ORDER): New.
              (REGNO_REG_CLASS): Use regno_reg_class.
              * config/m68k/m68k.c: Add regno_reg_class array.
      
      From-SVN: r79221
      Roman Zippel committed
    • ia64.md (divsi3): Fix algorithm. · 9aec7fb4
      	* config/ia64/ia64.md (divsi3): Fix algorithm.
      	  (udivsi3): Ditto.
      	  (setf_exp_xf): Remove '*' from name.
      	* testsuite/gcc.dg/20040309-1.c: New test.
      
      From-SVN: r79217
      Steve Ellcey committed
    • system.h (SUNOS4_SHARED_LIBRARIES): Poison. · 9acd4a03
      	* system.h (SUNOS4_SHARED_LIBRARIES): Poison.
      	* collect2.c: Remove SUNOS4_SHARED_LIBRARIES code.
      	* config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): Don't define.
      	* config/sparc/sparc.c (sparc_aout_select_section): Remove.
      	(sparc_aout_select_rtx_section): Don't check
      	SUNOS4_SHARED_LIBRARIES.
      	* config/sparc/sparc.h (SUNOS4_SHARED_LIBRARIES): Don't define.
      
      From-SVN: r79216
      Ian Lance Taylor committed
    • Daily bump. · b86f05b6
      From-SVN: r79213
      GCC Administrator committed
    • re PR other/14474 (make dvi breaks for "TeX (Web2C 7.3.1) 3.14159") · a5249a21
      	PR other/14474
      	* doc/md.texi (Pattern Ordering, Dependent Patterns)
      	(Jump Patterns, Looping Patterns): Wrap in separate "@ifset
      	INTERNALS".
      
      From-SVN: r79210
      Hans-Peter Nilsson committed
  2. 09 Mar, 2004 24 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
    • re PR c++/14409 (Accepts invalid function signature for explicit instantiation) · 0da99d4e
      	PR c++/14409
      	* pt.c (determine_specialization): For member templates, match also
      	constness.
      
      	PR c++/14448
      	* parser.c (cp_parser_initializer_clause): Fold initializer if it is
      	non-dependent.
      	* pt.c (tsubst_copy_and_build): Handle NOP_EXPRs.
      
      	PR c++/14409
      	* g++.dg/template/spec12.C: New test.
      
      	PR c++/14448
      	* g++.dg/parse/crash14.C: New test.
      
      From-SVN: r79172
      Giovanni Bajo committed
    • * config/m32r/m32r.md: Remove all define_peephole's. · c0e63064
      From-SVN: r79170
      Kazu Hirata committed
    • * config/rs6000/rs6000.md: Remove trailing whitespace. · 6ae08853
      From-SVN: r79166
      Alan Modra committed
    • re PR c++/14230 (ICE in cp_expr_size) · 65196e37
      	PR c++/14230
      	* call.c (initialize_reference): Handle initializers that are
      	class-member access expressions applies to rvalues.
      
      	PR c++/14230
      	* g++.dg/init/ref11.C: New test.
      
      From-SVN: r79165
      Mark Mitchell committed
    • rewrap comment · fab45930
      From-SVN: r79163
      Jason Merrill committed
    • Fix typo · f3dfc177
      From-SVN: r79161
      Mark Mitchell committed
    • re PR c++/14432 (Built-ins lead to conflict even if no header file included) · 62d99768
      	PR c++/14432
      	* name-lookup.c (supplement_binding): Ignore functions that are
      	marked DECL_ANTICIPATED.
      
      	PR c++/14432
      	* g++.dg/parse/builtin2.C: New test.
      
      From-SVN: r79160
      Mark Mitchell committed
    • re PR c++/14401 (Uninitialized reference error not reported.) · 58ec3cc5
      	PR c++/14401
      	* class.c (check_field_decls): Complain about non-static data
      	members of reference type in unions.  Propagate
      	CLASSTYPE_REF_FIELDS_NEED_INIT and
      	CLASSTYPE_READONLY_FIELDS_NEED_INIT from the types of non-static
      	data members.
      	* init.c (perform_member_init): Complain about mbmers with const
      	type that are not explicitly initialized.
      
      	PR c++/14401
      	* g++.dg/init/ctor3.C: New test.
      	* g++.dg/init/union1.C: New test.
      	* g++.dg/ext/anon-struct4.C: New test.
      
      From-SVN: r79158
      Mark Mitchell committed
    • re PR c++/13658 ([testcase] namespace association vs. templates part one) · f1c4ca32
      2004-03-08  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR c++/13658
      	* testsuite/23_containers/deque/modifiers/swap.cc: New.
      	* testsuite/23_containers/list/modifiers/swap.cc: New.
      	* testsuite/23_containers/map/modifiers/swap.cc: New.
      	* testsuite/23_containers/multimap/modifiers/swap.cc: New.
      	* testsuite/23_containers/multiset/modifiers/swap.cc: New.
      	* testsuite/23_containers/set/modifiers/swap.cc: New.
      	* testsuite/23_containers/vector/modifiers/swap.cc: New.
      
      From-SVN: r79151
      Benjamin Kosnik committed
    • Makefile.in (site.exp): Add libiconv variable definition. · 5340bbea
      2004-03-08  Eric Christopher  <echristo@redhat.com>
      
      	* Makefile.in (site.exp): Add libiconv variable definition.
      
      2004-03-08  Eric Christopher  <echristo@redhat.com>
      
      	* * lib/target-supports.exp: Enable libiconv in test
      	compilation.  Fix up error checking.
      
      From-SVN: r79148
      Eric Christopher committed
    • accross.m4 (AC_C_BIGENDIAN_CROSS): Compile endian probe with "-c". · 41d4b979
      	* accross.m4 (AC_C_BIGENDIAN_CROSS): Compile endian probe with
      	"-c".  Properly quote parameter for AC_MSG_ERROR.
      
      From-SVN: r79145
      Hans-Peter Nilsson committed
    • re PR target/14480 (gcc/config/rs6000/t-rtems is missing) · c589970a
      2004-03-08  Joel Sherrill  <joel@oarcorp.com>
      
      	PR target/14480
      	* config/rs6000/t-rtems: Add missing file on branch.
      
      From-SVN: r79140
      Joel Sherrill committed
    • Daily bump. · 6ec73140
      From-SVN: r79137
      GCC Administrator committed
  3. 08 Mar, 2004 5 commits