aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-03-11mips.md: Use move_operand in splitters for 64-bit moves.Richard Sandiford3-96/+94
* config/mips/mips.md: Use move_operand in splitters for 64-bit moves. (movdi, movsi, movhi, movqi, movsf, movdf): Remove predicates. (*movdi_32bit_mips16, *movsi_mips16, *movhi_mips16, *movqi_mips16) (*movsf_mips16, *movdf_mips16): Name unnamed patterns. Use move_operand as source predicate in all cases. (*movdi_32bit): Renamed from movdi_internal. Remove 'F' constraint. Test reg_or_0_operand. Use move_operand as source predicate. (*movdi_64bit): Renamed from movdi_internal2. Test reg_or_0_operand. (*movdi_64bit_mips16): Renamed from movdi_internal2_mips16. (*movsi_internal): Renamed from movsi_internal. Test reg_or_0_operand. (movhi, movqi, movsf, movdf): Use mips_legitimize_move. (*movhi_internal): Renamed from movhi_internal. Test reg_or_0_operand. Use move_operand as source predicate. Remove 'K' constraint. (*movqi_internal): Likewise movqi_internal. (*movsf_hardfloat): Renamed from movsf_internal1. Test reg_or_0_operand. Use move_operand as source predicate. (*movsf_softfloat): Likewise movsf_internal2. (*movdf_hardfloat_64bit): Likewise movsf_internal1a. (*movdf_hardfloat_32bit): Likewise movsf_internal1b. (*movdf_softfloat): Likewise movdf_internal2. * config/mips/mips.c (move_operand): Match arbitrary CONST_INTs for DImode if !TARGET_64BIT. (mips_legitimize_move): Simplify accordingly. From-SVN: r79309
2004-03-11var-tracking.c (struct variable_def): Added field refcount.Josef Zlomek2-38/+189
PR/14362 * var-tracking.c (struct variable_def): Added field refcount. (variable_htab_free): Decrease the refcount and delete variable only if there are no more references. (unshare_variable): New function. (vars_copy_1): Increase refcount instead of copying the variable. (variable_union): Share the variables where possible, unshare the variables if needed. (variable_different_p): Return false if var1 and var2 are the same structure. (variable_was_changed): Init the refcount of new variable. (set_frame_base_location): Unshare variable if needed. (set_variable_part): Init the refcount of new variable. Unshare the variables if needed. (delete_variable_part): Unshare the variables if needed. (emit_notes_for_differences_1): Init the refcount of new variable. (vt_add_function_parameters): Do not add function parameters to IN set of ENTRY_BLOCK_PTR because it is unused anyway. (vt_initialize): Do not add frame_base_decl to IN set of ENTRY_BLOCK_PTR because it is unused anyway. From-SVN: r79307
2004-03-10Fix typo in the changelog for the last entry:Andrew Pinski1-1/+1
escaping instead of esacping From-SVN: r79306
2004-03-10re PR bootstrap/14522 (Bad sed command in the configure script)Andrew Pinski3-2/+8
2004-03-10 Andrew Pinski <pinskia@physics.uc.edu> PR bootstrap/14522 * configure.in: Fix esacping of $. * configure: Regenerate. From-SVN: r79305
2004-03-11var-tracking.c (vars_copy_1): Cleanup and speedup chain operations.Josef Zlomek2-40/+36
* var-tracking.c (vars_copy_1): Cleanup and speedup chain operations. (vars_copy): Likewise. (variable_union): Likewise. (set_variable_part): Likewise. (delete_variable_part): Likewise. From-SVN: r79304
2004-03-11c-typeck.c, [...]: Fix comment typos and formatting.Kazu Hirata27-48/+60
* c-typeck.c, combine.c, cse.c, dominance.c, et-forest.h, ggc-page.c, var-tracking.c, config/fp-bit.c, config/c4x/c4x.c, config/cris/cris.c, config/i386/ppro.md, config/i860/i860.c, config/i860/i860.h, config/m32r/m32r.h, config/m32r/xm-m32r.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md, config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.h, config/pa/pa.c, config/pa/pa32-regs.h, config/pa/pa64-regs.h, config/pdp11/pdp11.h, config/rs6000/rs6000.c, config/stormy16/stormy16.c: Fix comment typos and formatting. From-SVN: r79303
2004-03-11configure: Regenerate, since I forgot to while committing Paolo's changes.Nathanael Nerode2-371/+122
2004-03-11 Nathanael Nerode <neroden@gcc.gnu.org> * configure: Regenerate, since I forgot to while committing Paolo's changes. From-SVN: r79302
2004-03-11configure: Regenerate, since I forgot to while committing Paolo's changes.Nathanael Nerode2-437/+807
2004-03-11 Nathanael Nerode <neroden@gcc.gnu.org> * configure: Regenerate, since I forgot to while committing Paolo's changes. From-SVN: r79300
2004-03-11(top level)Paolo Bonzini9-576/+546
2004-03-08 Paolo Bonzini <bonzini@gnu.org> PR ada/14131 Move language detection to the top level. * configure.in: Find default values for the tools as soon as possible. Disable ada if GNAT is not found. Emit error message about missing languages. Expand --enable-languages=all for the gcc subdirectory. (config) 2004-03-08 Paolo Bonzini <bonzini@gnu.org> PR ada/14131 Move language detection to the top level. * acx.m4 (ACX_PROG_GNAT): New macro, moved here from the gcc subdirectory. (gcc) 2004-03-08 Paolo Bonzini <bonzini@gnu.org> PR ada/14131 Move language detection to the top level. * configure.ac: Remove code to detect languages, it now lives exclusively in the top level. * aclocal.m4 (gcc_AC_PROG_GNAT): Moved to the top level, renamed to ACX_PROG_GNAT. (gcc/ada) 2004-03-08 Paolo Bonzini <bonzini@gnu.org> PR ada/14131 Move language detection to the top level. * config-lang.in: Build by default. From-SVN: r79299
2004-03-11re PR c++/14510 (Lookup error between function name and struct name)Mark Mitchell4-1/+19
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
2004-03-10c-pch.c (c_common_no_more_pch): Update for gt_pch_use_address extra arguments.Richard Henderson14-162/+400
* 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
2004-03-10(build_pointer_type_for_mode): Fix comments and whitespace.Richard Kenner1-5/+6
From-SVN: r79293
2004-03-11Wrong version checked in previous patchR. Kelley Cook1-1/+1
From-SVN: r79292
2004-03-10re PR c/14517 (change in behaviour wrt duplicate qualifiers)Richard Henderson5-13/+61
PR c/14517 * c-decl.c (grokdeclarator): Don't warn for duplicate qualifiers except for pedantic c90 mode. From-SVN: r79286
2004-03-11configure.ac: Bump AC_PREREQ to 2.59.Kelley Cook24-1483/+3298
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
2004-03-11Daily bump.GCC Administrator2-2/+2
From-SVN: r79282
2004-03-10optabs.h (enum optab_index): Add new OTI_exp10 and OTI_exp2.Uros Bizjak8-0/+223
2004-03-10 Uros Bizjak <uros@kss-loka.si> * optabs.h (enum optab_index): Add new OTI_exp10 and OTI_exp2. (exp10_optab, exp2_optab): Define corresponding macros. * optabs.c (init_optabs): Initialize exp10_optab and exp2_optab. * genopinit.c (optabs): Implement exp10_optab and exp2_optab using exp10?f2 and exp2?f2 patterns. * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP10{,F,L} using exp10_optab, and BUILT_IN_EXP2{,F,L} using exp2_optab. (expand_builtin): Expand BUILT_IN_EXP10{,F,L} and BUILT_IN_EXP2{,F,L} using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. * config/i386/i386.md (exp10sf2, exp10df2, exp10xf2, exp2sf2, exp2df2, exp2xf2): New patterns to implement exp10, exp10f, exp10l, exp2, exp2f and exp2l built-ins as inline x87 intrinsics. * gcc.dg/builtins-34.c: New test. From-SVN: r79279
2004-03-11* MAINTAINERS: Update my email address.Ben Elliston2-1/+5
From-SVN: r79278
2004-03-10invoke.texi (ARM Options): Fix -mpfu typo.Anthony Green2-1/+5
2004-03-10 Anthony Green <green@redhat.com> * doc/invoke.texi (ARM Options): Fix -mpfu typo. From-SVN: r79277
2004-03-10aix.h (TARGET_OS_CPP_BUILTINS): Rename to ...David Edelsohn7-72/+54
* config/rs6000/aix.h (TARGET_OS_CPP_BUILTINS): Rename to ... (TARGET_OS_AIX_CPP_BUILTINS): this. Conditionally define __LONGDOUBLE128. * config/rs6000/aix41.h (TARGET_OS_CPP_BUILTINS): Use TARGET_OS_AIX_CPP_BUILTINS. * config/rs6000/aix43.h (TARGET_OS_CPP_BUILTINS): Same. * config/rs6000/aix51.h (TARGET_OS_CPP_BUILTINS): Same. * config/rs6000/aix52.h (TARGET_OS_CPP_BUILTINS): Same. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Revert previous change. From-SVN: r79274
2004-03-10fold-const.c (tree_expr_nonnegative_p): Add more builtin cases.Kaveh R. Ghazi4-0/+219
* fold-const.c (tree_expr_nonnegative_p): Add more builtin cases. testsuite: * gcc.dg/torture/builtin-nonneg-1.c: New test. From-SVN: r79269
2004-03-10rs6000-c.c (rs6000_cpu_cpp_builtins): Define __LONGDOUBLE128 on AIX.David Edelsohn2-1/+10
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define __LONGDOUBLE128 on AIX. From-SVN: r79268
2004-03-10re PR rtl-optimization/14381 (sched2 moving "may throw" instructions into ↵Andrew Haley1-0/+1
epilogue) 2004-03-10 Andrew Haley <aph@redhat.com> PR optimization/14381 * function.c (expand_function_end): Emit a blockage insn before the epilogue when -fnon-call-exceptions is used. * except.c (expand_start_all_catch): Make comment more accurate. From-SVN: r79266
2004-03-10function.c (expand_function_end): Emit a blockage insn before the epilogue ↵Andrew Haley3-4/+21
when -fnon-call-exceptions is used. 2004-03-10 Andrew Haley <aph@redhat.com> * function.c (expand_function_end): Emit a blockage insn before the epilogue when -fnon-call-exceptions is used. * except.c (expand_start_all_catch): Make comment more accurate. From-SVN: r79265
2004-03-10re PR target/14480 (gcc/config/rs6000/t-rtems is missing)Joel Sherrill2-1/+6
2004-03-08 Joel Sherrill <joel@oarcorp.com> PR target/14480 * config/rs6000/t-rtems: Add missing file on branch. From-SVN: r79263
2004-03-102004-03-10 Paolo Carlini <pcarlini@suse.de>Paolo Carlini1-0/+69
Add include/bits/valarray_array.tcc changes missing from Jerry's commit to mainline. From-SVN: r79260
2004-03-10dbxout.c (dbxout_symbol_location): Do not output references to optimized-out ↵Ulrich Weigand2-4/+25
constant pool symbols. * dbxout.c (dbxout_symbol_location): Do not output references to optimized-out constant pool symbols. From-SVN: r79258
2004-03-10valarray_subset_assignment.cc: Fix typos.Paolo Carlini2-2/+6
2004-03-10 Paolo Carlini <pcarlini@suse.de> * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos. From-SVN: r79253
2004-03-10ia64.md (divsi3, udivsi3): Remove unused variable twon34_r.Andreas Schwab2-2/+5
* config/ia64/ia64.md (divsi3, udivsi3): Remove unused variable twon34_r. From-SVN: r79251
2004-03-10re PR libstdc++/13450 (std::pow(std::complex<double>(-1.,0.),0.5) yields ↵Paul Kienzle5-7/+92
(NaN,0)) 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
2004-03-10re PR libstdc++/3247 (valarray private member)Jerry Quinn6-17/+142
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
2004-03-10swap.cc: Add in bits for non-weak systems.Benjamin Kosnik9-12/+57
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
2004-03-09Testsuite changes for new -Wstrict-aliasing=2 option.James E Wilson3-1/+22
* gcc.dg/alias-1.c: Add "will" to string passed to dg-warning. * gcc.dg/alias-2.c: New testcase. From-SVN: r79223
2004-03-09New option -Wstrict-aliasing=2.James E Wilson8-7/+51
* 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
2004-03-09re PR bootstrap/12371 ([m68k-linux] bootstrap error in make compare)Roman Zippel3-7/+44
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
2004-03-10ia64.md (divsi3): Fix algorithm.Steve Ellcey3-9/+35
* 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
2004-03-10system.h (SUNOS4_SHARED_LIBRARIES): Poison.Ian Lance Taylor6-291/+13
* 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
2004-03-10Daily bump.GCC Administrator2-2/+2
From-SVN: r79213
2004-03-10re PR other/14474 (make dvi breaks for "TeX (Web2C 7.3.1) 3.14159")Hans-Peter Nilsson2-0/+61
PR other/14474 * doc/md.texi (Pattern Ordering, Dependent Patterns) (Jump Patterns, Looping Patterns): Wrap in separate "@ifset INTERNALS". From-SVN: r79210
2004-03-09hpux.h (MULTILIB_DEFAULTS): Define.Zack Weinberg2-1/+8
* config/ia64/hpux.h (MULTILIB_DEFAULTS): Define. (LIBGCC_SPEC): Update to match. From-SVN: r79207
2004-03-09* c-decl.c (last_function_parms, last_function_parm_tags)Zack Weinberg4-132/+176
(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
2004-03-09ifcvt.c (noce_try_sign_mask): New function to transform "x = (y < 0) ? z ...Roger Sayle4-0/+103
* 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
2004-03-09configure.ac: Bump version to 2.59.Kelley Cook5-71/+86
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
2004-03-09c-typeck.c (tagged_types_tu_compatible_p): Fix typo.Andrew Pinski2-1/+6
2004-03-09 Andrew Pinski <apinski@apple.com> * c-typeck.c (tagged_types_tu_compatible_p): Fix typo. From-SVN: r79203
2004-03-092004-03-09 Michael Koch <konqueror@gmx.de>Michael Koch3-79/+90
* 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
2004-03-09Makefile.am: Build property resource files into libgcj.Anthony Green34-136/+5130
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
2004-03-09re PR c++/14397 (Access check for wrong copy constructor)Nathan Sidwell4-3/+36
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
2004-03-09* call.c (initialize_reference): Fix typo.Mark Mitchell2-1/+5
From-SVN: r79191
2004-03-09simplify-rtx.c (simplify_const_relational_operation): New function renamed ↵Roger Sayle8-85/+86
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
2004-03-09re PR c++/14409 (Accepts invalid function signature for explicit instantiation)Giovanni Bajo6-9/+84
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