platform/upstream/gcc.git
19 years agore PR libfortran/19302 (intrinsic_nearest.f90 fails)
Eric Botcazou [Mon, 21 Feb 2005 21:39:33 +0000 (22:39 +0100)]
re PR libfortran/19302 (intrinsic_nearest.f90 fails)

PR libfortran/19302
* intrinsics/c99_functions.c (nextafterf): Special-case infinite
numbers.

From-SVN: r95353

19 years ago* config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.
Stan Cox [Mon, 21 Feb 2005 20:32:05 +0000 (20:32 +0000)]
* config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.

From-SVN: r95348

19 years agoJarFile.java (verifyHashes): Check whether ZipEntry exists.
Mark Wielaard [Mon, 21 Feb 2005 20:29:00 +0000 (20:29 +0000)]
JarFile.java (verifyHashes): Check whether ZipEntry exists.

       * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
       exists.

From-SVN: r95347

19 years ago* io/write.c(output_float): Typo in error message.
Steven G. Kargl [Mon, 21 Feb 2005 19:59:58 +0000 (19:59 +0000)]
* io/write.c(output_float):  Typo in error message.

From-SVN: r95343

19 years agoflow.c (delete_dead_jumptables): Speed up by scanning insns that do not belong to...
Kazu Hirata [Mon, 21 Feb 2005 19:47:40 +0000 (19:47 +0000)]
flow.c (delete_dead_jumptables): Speed up by scanning insns that do not belong to any basic block.

* flow.c (delete_dead_jumptables): Speed up by scanning insns
that do not belong to any basic block.

From-SVN: r95342

19 years agotree-cfg.c (fold_cond_expr_cond): New.
Kazu Hirata [Mon, 21 Feb 2005 18:38:05 +0000 (18:38 +0000)]
tree-cfg.c (fold_cond_expr_cond): New.

* tree-cfg.c (fold_cond_expr_cond): New.
(make_edges): Call fold_cond_expr_cond.
(find_taken_edge): Accept nothing but INTEGER_CST.
(find_taken_edge_cond_expr): Reject INTEGER_CST other than 0
and 1.
(find_taken_edge_switch_expr): Remove a check for INTEGER_CST.

From-SVN: r95339

19 years agoMakefile.in: Rebuilt.
Andrew Haley [Mon, 21 Feb 2005 18:19:01 +0000 (18:19 +0000)]
Makefile.in: Rebuilt.

2005-02-21  Andrew Haley  <aph@redhat.com>

* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natLogger.cc.
* java/util/logging/natLogger.cc: New file.
* java/util/logging/Logger.java (getCallerStackFrame): Now
native.

From-SVN: r95338

19 years agoMakefile.am (all_property_files): Remove left over.
Andreas Tobler [Mon, 21 Feb 2005 17:42:20 +0000 (18:42 +0100)]
Makefile.am (all_property_files): Remove left over.

2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>

* Makefile.am (all_property_files): Remove left over.
(classes.stamp): Add stamp for the ONESTEP build, also known as
--enable-libgcj-multifile.
* Makefile.in: Regenerated.

From-SVN: r95337

19 years agoFix law's ChangeLog date, and
Tobias Schlüter [Mon, 21 Feb 2005 16:31:42 +0000 (17:31 +0100)]
Fix law's ChangeLog date, and

Fix law's ChangeLog date, and
* lib/gfortran-dg.exp (gfortran-dg-test): Split long regexps.

From-SVN: r95335

19 years agocfganal.c (find_unreachable_blocks): Manually CSE load of e->dest.
Jeff Law [Mon, 21 Feb 2005 16:21:00 +0000 (09:21 -0700)]
cfganal.c (find_unreachable_blocks): Manually CSE load of e->dest.

        * cfganal.c (find_unreachable_blocks): Manually CSE load of
        e->dest.

From-SVN: r95334

19 years agoButton.java, [...]: Fixed formatting issues all over.
Michael Koch [Mon, 21 Feb 2005 16:12:17 +0000 (16:12 +0000)]
Button.java, [...]: Fixed formatting issues all over.

2005-02-21  Michael Koch  <konqueror@gmx.de>

* java/awt/Button.java,
java/awt/Container.java,
java/awt/Font.java,
java/awt/Frame.java,
java/text/CollationElementIterator.java,
java/text/RuleBasedCollator.java,
java/util/PropertyPermission.java:
Fixed formatting issues all over.

From-SVN: r95333

19 years ago* gcc.dg/tree-ssa/20041122-1.c: New test for missing optimization.
Jeff Law [Mon, 21 Feb 2005 14:55:38 +0000 (07:55 -0700)]
* gcc.dg/tree-ssa/20041122-1.c: New test for missing optimization.

From-SVN: r95332

19 years agoc-objc-common.h, [...]: Update copyright.
Kazu Hirata [Mon, 21 Feb 2005 14:39:52 +0000 (14:39 +0000)]
c-objc-common.h, [...]: Update copyright.

* c-objc-common.h, c-pretty-print.c, cgraphunit.c, except.c,
genautomata.c, langhooks.c, langhooks.h, system.h,
config/arm/lib1funcs.asm: Update copyright.

From-SVN: r95331

19 years agotree-outof-ssa.c (SSANORM_REMOVE_ALL_PHIS): Remove.
Kazu Hirata [Mon, 21 Feb 2005 14:33:36 +0000 (14:33 +0000)]
tree-outof-ssa.c (SSANORM_REMOVE_ALL_PHIS): Remove.

* tree-outof-ssa.c (SSANORM_REMOVE_ALL_PHIS): Remove.
(SSANORM_COALESCE_PARTITIONS, SSANORM_USE_COALESCE_LIST):
Adjust their definitions.
(remove_ssa_form): Don't check for SSANORM_REMOVE_ALL_PHIS.
(rewrite_out_of_ssa): Don't use SSANORM_REMOVE_ALL_PHIS.

From-SVN: r95330

19 years agodo_iterator: Split loop, markup all lines for which an error locus is printed.
Tobias Schlüter [Mon, 21 Feb 2005 13:03:06 +0000 (14:03 +0100)]
do_iterator: Split loop, markup all lines for which an error locus is printed.

* gfortran.dg/do_iterator: Split loop, markup all lines for
which an error locus is printed.
* gfortran.dg/pr17708.f90: Markup all lines for which an error
locus is printed.
* gfortran.dg/select_4.f90: Likewise.
* lib/gfortran-dg.exp (gfortran-dg-test): Handle gfortran error
locuses in the various permutations.

From-SVN: r95329

19 years ago* dbxout.c (dbxout_function_end): Emit Lscope label always.
Ulrich Weigand [Mon, 21 Feb 2005 10:06:20 +0000 (10:06 +0000)]
* dbxout.c (dbxout_function_end): Emit Lscope label always.

From-SVN: r95326

19 years agore PR bootstrap/13770 ([doc] --with-gc not documented)
Richard Guenther [Mon, 21 Feb 2005 10:03:07 +0000 (10:03 +0000)]
re PR bootstrap/13770 ([doc] --with-gc not documented)

2005-02-21  Richard Guenther  <rguenth@gcc.gnu.org>

PR bootstrap/13770
* doc/install.texi: Document --with-gc.

From-SVN: r95325

19 years agoFileDescriptor.java (sync): Add real exception to SyncFailedException.
Mark Wielaard [Mon, 21 Feb 2005 08:31:01 +0000 (08:31 +0000)]
FileDescriptor.java (sync): Add real exception to SyncFailedException.

2005-02-21  Mark Wielaard  <mark@klomp.org>

* java/io/FileDescriptor.java (sync): Add real exception to
SyncFailedException.

From-SVN: r95324

19 years agoInputStreamReader.java: Fixed @author tag.
Michael Koch [Mon, 21 Feb 2005 08:27:00 +0000 (08:27 +0000)]
InputStreamReader.java: Fixed @author tag.

2005-02-21  Michael Koch  <konqueror@gmx.de>

* java/io/InputStreamReader.java:
Fixed @author tag.

From-SVN: r95323

19 years agore PR libgcj/10353 (Java testsuite failures)
Eric Botcazou [Mon, 21 Feb 2005 08:12:36 +0000 (09:12 +0100)]
re PR libgcj/10353 (Java testsuite failures)

PR libgcj/10353
* configure.in (noconfigdirs) <sparc-*-solaris2.[0-6]>: Add libgcj.
* configure: Regenerate.

From-SVN: r95322

19 years agosimplify-rtx.c (simplify_unary_operation): Add a missing "break" statement.
Paolo Bonzini [Mon, 21 Feb 2005 07:37:51 +0000 (07:37 +0000)]
simplify-rtx.c (simplify_unary_operation): Add a missing "break" statement.

2005-02-21  Paolo Bonzini  <bonzini@gnu.org>

* simplify-rtx.c (simplify_unary_operation): Add a missing
"break" statement.

From-SVN: r95321

19 years agore PR tree-optimization/18663 (ACATS ICE cc1221d expected integer_cst, have nop_expr...
Eric Botcazou [Mon, 21 Feb 2005 07:27:14 +0000 (08:27 +0100)]
re PR tree-optimization/18663 (ACATS ICE cc1221d expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:3779)

PR tree-optimization/18663
* tree-ssa-dom.c (extract_range_from_cond): Return 0
if the type has variable bounds.

From-SVN: r95320

19 years ago* gcse.c: Remove an obsolete comment.
Kazu Hirata [Mon, 21 Feb 2005 02:02:19 +0000 (02:02 +0000)]
* gcse.c: Remove an obsolete comment.

From-SVN: r95319

19 years ago* gcse.c: Remove an obsolete comment.
Kazu Hirata [Mon, 21 Feb 2005 00:23:50 +0000 (00:23 +0000)]
* gcse.c: Remove an obsolete comment.

From-SVN: r95318

19 years agoDaily bump.
GCC Administrator [Mon, 21 Feb 2005 00:16:24 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r95315

19 years agore PR libgcj/19728 (libgcj Gnu.java missing SHA-160)
Rutger Ovidius [Sun, 20 Feb 2005 22:30:49 +0000 (22:30 +0000)]
re PR libgcj/19728 (libgcj Gnu.java missing SHA-160)

2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>

PR libgcj/19728:
* gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.

From-SVN: r95312

19 years ago* symbol.c: Typos in comments.
Steven G. Kargl [Sun, 20 Feb 2005 21:59:12 +0000 (21:59 +0000)]
* symbol.c: Typos in comments.

From-SVN: r95311

19 years agoRE.java, [...]: Made 'inner' classes real public static inner classes...
Dalibor Topic [Sun, 20 Feb 2005 21:18:30 +0000 (21:18 +0000)]
RE.java, [...]: Made 'inner' classes real public static inner classes...

2005-02-20  Dalibor Topic  <robilad@kaffe.org>

* libraries/javalib/gnu/regexp/RE.java,
libraries/javalib/java/io/ObjectInputStream.java,
libraries/javalib/java/security/AllPermission.java,
libraries/javalib/java/security/BasicPermission.java,
libraries/javalib/java/security/Permissions.java,
libraries/javalib/java/text/MessageFormat.java:
Made 'inner' classes real public static inner classes,
and made them final where possible, or removed them
where unused.

From-SVN: r95310

19 years agore PR tree-optimization/19951 (ICE in tree_split_edge, at tree-cfg.c:3199 with -ftree...
Dorit Naishlos [Sun, 20 Feb 2005 20:32:41 +0000 (20:32 +0000)]
re PR tree-optimization/19951 (ICE in tree_split_edge, at tree-cfg.c:3199 with -ftree-vectorize)

        PR tree-optimization/19951
        * g++.dg/vect: New directory.
        * g++.dg/vect/vect.exp: New file.
        * g++.dg/vect/pr19951.cc: New testcase.
        * g++.dg/dg.exp: Also prune vectorizer tests.

From-SVN: r95309

19 years agoextend.texi (Function Attributes): The attribute "pure" is below this text, not above.
Hans-Peter Nilsson [Sun, 20 Feb 2005 19:16:10 +0000 (19:16 +0000)]
extend.texi (Function Attributes): The attribute "pure" is below this text, not above.

* doc/extend.texi (Function Attributes) <Attribute const>: The
attribute "pure" is below this text, not above.

From-SVN: r95308

19 years ago* expr.c (gfc_type_convert_binary): Typo in comment.
Steven G. Kargl [Sun, 20 Feb 2005 18:26:19 +0000 (18:26 +0000)]
* expr.c (gfc_type_convert_binary): Typo in comment.

From-SVN: r95307

19 years agopa.c (pa_assemble_integer, get_plabel): Small cleanups.
John David Anglin [Sun, 20 Feb 2005 17:37:37 +0000 (17:37 +0000)]
pa.c (pa_assemble_integer, get_plabel): Small cleanups.

* pa.c (pa_assemble_integer, get_plabel): Small cleanups.
(pa_asm_output_mi_thunk): Use asm_output_insn instead of fprintf.
* som.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Small cleanup.

From-SVN: r95306

19 years agore PR middle-end/18785 (isdigit builtin function fails with EBCDIC character sets)
Zack Weinberg [Sun, 20 Feb 2005 17:01:32 +0000 (17:01 +0000)]
re PR middle-end/18785 (isdigit builtin function fails with EBCDIC character sets)

PR 18785
libcpp:
* charset.c (LAST_POSSIBLY_BASIC_SOURCE_CHAR): New helper macro.
(cpp_host_to_exec_charset): New function.
* include/cpplib.h: Declare cpp_host_to_exec_charset.

gcc:
* langhooks.h (struct lang_hooks): Add to_target_charset.
* langhooks.c (lhd_to_target_charset): New function.
* langhooks-def.h: Declare lhd_to_target_charset.
(LANG_HOOKS_TO_TARGET_CHARSET): New macro.
(LANG_HOOKS_INITIALIZER): Update.
* c-common.c (c_common_to_target_charset): New function.
* c-common.h: Declare it.
* c-objc-common.h (LANG_HOOKS_TO_TARGET_CHARSET): Set to
c_common_to_target_charset.

* defaults.c (TARGET_BELL, TARGET_BS, TARGET_CR, TARGET_DIGIT0)
(TARGET_ESC, TARGET_FF, TARGET_NEWLINE, TARGET_TAB, TARGET_VT):
Delete definitions.
* system.h: Poison them.
* doc/tm.texi: Don't discuss them.
* builtins.c (fold_builtin_isdigit): Use lang_hooks.to_target_charset.
* c-pretty-print.c (pp_c_integer_constant): Don't use pp_c_char.
(pp_c_char): Do not attempt to generate letter escapes for
newline, tab, etc.
* config/arm/arm.c (output_ascii_pseudo_op): Likewise.
* config/mips/mips.c (mips_output_ascii): Likewise.
gcc/cp:
* cp-objcp-common.h (LANG_HOOKS_TO_TARGET_CHARSET): Set to
c_common_to_target_charset.  Delete bogus comment.
gcc/testsuite:
* gcc.dg/charset/builtin1.c: New test.

From-SVN: r95304

19 years agore PR libfortran/20085 (iargc returns wrong count for number of program arguments)
Steven G. Kargl [Sun, 20 Feb 2005 15:24:02 +0000 (15:24 +0000)]
re PR libfortran/20085 (iargc returns wrong count for number of program arguments)

PR 20085
* intrinsic/args.c (iargc): Off by 1.

From-SVN: r95302

19 years agore PR tree-optimization/19951 (ICE in tree_split_edge, at tree-cfg.c:3199 with -ftree...
Dorit Naishlos [Sun, 20 Feb 2005 13:47:28 +0000 (13:47 +0000)]
re PR tree-optimization/19951 (ICE in tree_split_edge, at tree-cfg.c:3199 with -ftree-vectorize)

        PR tree-optimization/19951
        * tree-vect-analyze.c (vect_analyze_loop_form): Check if loop exit edge
        is abnormal.

From-SVN: r95301

19 years agoFormatCharacterIterator.java: Removed redundant modifiers.
Michael Koch [Sun, 20 Feb 2005 11:26:49 +0000 (11:26 +0000)]
FormatCharacterIterator.java: Removed redundant modifiers.

2005-02-20  Michael Koch  <konqueror@gmx.de>

* gnu/java/text/FormatCharacterIterator.java:
Removed redundant modifiers.

From-SVN: r95300

19 years agore PR middle-end/19698 (Infinite loop in update_life_info)
Steven Bosscher [Sun, 20 Feb 2005 11:09:16 +0000 (11:09 +0000)]
re PR middle-end/19698 (Infinite loop in update_life_info)

PR middle-end/19698
* function.h (struct function): New field `max_loop_depth'.
* cfgloop.c (establish_preds): Update maximum loop depth seen so far.
(flow_loops_find): Reset the max loop depth count before finding loops.
* flow.c (MAX_LIVENESS_ROUNDS): New constant.
(update_life_info_in_dirty_blocks): Remove 2002-05-28 workaround.
(calculate_global_regs_live): Make sure the loop will terminate
when the initial sets are not empty.

From-SVN: r95299

19 years agogthread-jni.c (throw): Call g_snprintf instead of snprintf.
Thomas Fitzsimmons [Sun, 20 Feb 2005 04:14:24 +0000 (04:14 +0000)]
gthread-jni.c (throw): Call g_snprintf instead of snprintf.

2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>

* jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
snprintf.

From-SVN: r95298

19 years agoDaily bump.
GCC Administrator [Sun, 20 Feb 2005 00:16:19 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r95296

19 years agofunctional (tr1_hashtable_define_trivial_hash): Make hash<T>::operator() a const...
Matt Austern [Sat, 19 Feb 2005 23:57:23 +0000 (23:57 +0000)]
functional (tr1_hashtable_define_trivial_hash): Make hash<T>::operator() a const member function for T a fundamental type

* include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
hash<T>::operator() a const member function for T a fundamental type
* include/tr1/hashtable (extract1st::operator()): Declare const.
(hash_code_base): Declare all member functions const
(hashtable::find): fix call to this->bucket_count()
(hashtable::count): Likewise.
(hashtable::equal_range): m_incr_bucket applies to iterator, not node.
* testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
* testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
* testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
* testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.

From-SVN: r95293

19 years agore PR c++/19299 (ICE with volatile non-PODs pointers)
Volker Reichelt [Sat, 19 Feb 2005 20:36:56 +0000 (20:36 +0000)]
re PR c++/19299 (ICE with volatile non-PODs pointers)

PR c++/19299
* g++.dg/inherit/volatile1.C: New test.

PR c++/19440
* g++.dg/template/dtor4.C: New test.

From-SVN: r95292

19 years agocheck.c (gfc_check_selected_int_kind): New function.
Steven G. Kargl [Sat, 19 Feb 2005 20:29:05 +0000 (20:29 +0000)]
check.c (gfc_check_selected_int_kind): New function.

* check.c (gfc_check_selected_int_kind): New function.
* intrinsic.h: Prototype it.
* intrinsic.c (add_function): Use it.
* simplify (gfc_simplify_ceiling,gfc_simplify_floor): Change
  BT_REAL to BT_INTEGER and use gfc_default_integer_kind.

From-SVN: r95291

19 years agocheck.c (gfc_check_int): improve checking of optional kind
Steven G. Kargl [Sat, 19 Feb 2005 20:07:47 +0000 (20:07 +0000)]
check.c (gfc_check_int): improve checking of optional kind

* check.c (gfc_check_int): improve checking of optional kind
* simplify.c (gfc_simplify_int): Change BT_REAL to BT_INTEGER

* gfortran.dg/int_1.f90: New test.

From-SVN: r95290

19 years agocharset.c (_cpp_convert_input): Check '\r' before inserting '\n' at the end.
Devang Patel [Sat, 19 Feb 2005 19:48:02 +0000 (11:48 -0800)]
charset.c (_cpp_convert_input): Check '\r' before inserting '\n' at the end.

      * charset.c (_cpp_convert_input): Check '\r' before inserting
      '\n' at the end.
      * gcc.dg/cpp/mac-eol-at-eof.c: New test.

From-SVN: r95289

19 years agocheck.c (gfc_check_achar): New function
Steven G. Kargl [Sat, 19 Feb 2005 19:16:09 +0000 (19:16 +0000)]
check.c (gfc_check_achar): New function

* check.c (gfc_check_achar): New function
* intrinsic.h: Prototype it.
* intrinsic.c (add_function): Use it.

* gfortran.dg/achar_1.f90: New test.

From-SVN: r95288

19 years ago[multiple changes]
Michael Koch [Sat, 19 Feb 2005 18:47:29 +0000 (18:47 +0000)]
[multiple changes]

2005-02-19  Michael Koch  <konqueror@gmx.de>

* Makefile.am: Added new files in gnu/java/beans and
java/beans/XMLDecoder.java.
* Makefile.in: Regenerated.

2005-02-19  Robert Schuster  <thebohemian@gmx.net>

* gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
assignment behavior by using java.lang.reflect.Array.set()
directly.

2005-02-19  Dalibor Topic  <robilad@kaffe.org>

* gnu/java/beans/EmptyBeanInfo.java,
gnu/java/beans/info/ComponentBeanInfo.java:
Removed unused files.

2005-02-19  Robert Schuster <thebohemian@gmx.net>

* gnu/java/beans/DummyAppletStub.java: Add dummy implementation
of AppletStub for java.beans.Beans.instantiate.
* gnu/java/beans/DummyAppletContext.java: Add dummy implementation
of AppletContext.
* java/beans/Beans: Added 1.4 functionality, fixed user documentation
to be conformant with Javadoc guidelines.
(instantiate): Added two more overloaded variants, reworked user
documentation, fixed exception behavior, fixed behavior when
deserializing null.

2005-02-19  Mark Wielaard  <mark@klomp.org>

* gnu/java/beans/decoder/DummyHandler.java: Add return statements for
failing methods.
* gnu/java/beans/decoder/DummyContext.java: Likewise.

2005-02-19  Robert Schuster  <theBohemian@gmx.net>

* gnu/java/beans/decoder/AbstractContext.java,
gnu/java/beans/decoder/AbstractCreatableContext.java,
gnu/java/beans/decoder/AbstractElementHandler.java,
gnu/java/beans/decoder/AbstractObjectContext.java,
gnu/java/beans/decoder/ArrayContext.java,
gnu/java/beans/decoder/ArrayHandler.java,
gnu/java/beans/decoder/AssemblyException.java,
gnu/java/beans/decoder/BooleanHandler.java,
gnu/java/beans/decoder/ByteHandler.java,
gnu/java/beans/decoder/CharHandler.java,
gnu/java/beans/decoder/ClassHandler.java,
gnu/java/beans/decoder/ConstructorContext.java,
gnu/java/beans/decoder/Context.java,
gnu/java/beans/decoder/DecoderContext.java,
gnu/java/beans/decoder/DefaultExceptionListener.java,
gnu/java/beans/decoder/DoubleHandler.java,
gnu/java/beans/decoder/DummyContext.java,
gnu/java/beans/decoder/DummyHandler.java,
gnu/java/beans/decoder/ElementHandler.java,
gnu/java/beans/decoder/FloatHandler.java,
gnu/java/beans/decoder/GrowableArrayContext.java,
gnu/java/beans/decoder/IndexContext.java,
gnu/java/beans/decoder/IntHandler.java,
gnu/java/beans/decoder/JavaHandler.java,
gnu/java/beans/decoder/LongHandler.java,
gnu/java/beans/decoder/MethodContext.java,
gnu/java/beans/decoder/MethodFinder.java,
gnu/java/beans/decoder/NullHandler.java,
gnu/java/beans/decoder/ObjectContext.java,
gnu/java/beans/decoder/ObjectHandler.java,
gnu/java/beans/decoder/PersistenceParser.java,
gnu/java/beans/decoder/PropertyContext.java,
gnu/java/beans/decoder/ShortHandler.java,
gnu/java/beans/decoder/SimpleHandler.java,
gnu/java/beans/decoder/StaticMethodContext.java,
gnu/java/beans/decoder/StringHandler.java,
gnu/java/beans/decoder/VoidHandler.java: New class
implementing java.beans.XMLDecoder decoding functionality.
* java/beans/XMLDecoder.java: New class.

From-SVN: r95287

19 years agomklibgcc.in: If libgcc_eh.a would be empty, put a dummy object inside.
Zack Weinberg [Sat, 19 Feb 2005 18:18:31 +0000 (18:18 +0000)]
mklibgcc.in: If libgcc_eh.a would be empty, put a dummy object inside.

* mklibgcc.in: If libgcc_eh.a would be empty, put a dummy
object inside.
* config/ia64/hpux.h: Don't define LIBGCC_SPEC.

From-SVN: r95286

19 years ago* intrinsic/date_and_time.c: Fix conformance problems.
Steven G. Kargl [Sat, 19 Feb 2005 18:06:00 +0000 (18:06 +0000)]
*  intrinsic/date_and_time.c: Fix conformance problems.

From-SVN: r95284

19 years agoMAINTAINERS (Write After Approval): Add myself.
Steven G. Kargl [Sat, 19 Feb 2005 17:29:42 +0000 (17:29 +0000)]
MAINTAINERS (Write After Approval): Add myself.

2005-02-18  Steven G. Kargl  <kargl@gcc.gnu.org>

        * MAINTAINERS (Write After Approval): Add myself.

From-SVN: r95282

19 years agore PR libstdc++/20071 (newlib target testsuite regressions: libstdc++: tr1/6_containe...
Hans-Peter Nilsson [Sat, 19 Feb 2005 15:33:59 +0000 (15:33 +0000)]
re PR libstdc++/20071 (newlib target testsuite regressions: libstdc++: tr1/6_containers/tuple)

PR libstdc++/20071
* include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
_GLIBCXX_USE_WCHAR_T.

From-SVN: r95279

19 years ago* gcc.c-torture/execute/20020720-1.x: Don't XFAIL cris-*-*.
Hans-Peter Nilsson [Sat, 19 Feb 2005 15:19:08 +0000 (15:19 +0000)]
* gcc.c-torture/execute/20020720-1.x: Don't XFAIL cris-*-*.

From-SVN: r95278

19 years agore PR other/19525 (In-build-directory multilib testing broken)
Richard Sandiford [Sat, 19 Feb 2005 11:44:10 +0000 (11:44 +0000)]
re PR other/19525 (In-build-directory multilib testing broken)

PR other/19525
* doc/invoke.texi: Remove documentation of %M spec.
* gcc.c: Likewise.
(init_spec): Remove %M suffix from -lgcc_s.
(do_spec_1): Remove 'M' case.
* mklibgcc.in: Remove SHLIB_MULTILIB handling.  Expect SHLIB_LINK
to put shared libraries in the multilib directory.  Remove the
shlib_so_soname substitution variable.  Don't add a multilib encoding
to shlib_base_name.  Set shlib_slibdir_qual to the full pathname
reported by -print-multi-os-directory.  Pass @multilib_dir@ to
SHLIB_INSTALL as well as SHLIB_LINK.
* config/t-slibgcc-elf-ver (SHLIB_SONAME): Use @shlib_base_name@.
(SHLIB_NAME): Delete.
(SHLIB_DIR): New macro.
(SHLIB_LINK): Put $(SHLIB_SONAME) and $(SHLIB_SOLINK) in $(SHLIB_DIR).
(SHLIB_INSTALL): Adjust accordingly.
* config/t-slibgcc-darwin: As for t-slibgcc-elf-ver.
* config/t-slibgcc-sld: Likewise.
* config/t-libunwind-elf (SHLIBUNWIND_NAME): Delete.
(SHLIBUNWIND_SONAME): Use @shlib_base_name@.
(SHLIBUNWIND_LINK): Put $(SHLIBUNWIND_SONAME) and $(SHLIB_SOLINK)
in $(SHLIB_DIR).
(SHLIBUNWIND_INSTALL): Adjust accordingly.
* config/i386/t-nwld (SHLIB_SONAME): Delete.
(SHLIB_LINK, SHLIB_INSTALL): Use SHLIB_NAME instead of SHLIB_SONAME.
Use @shlib_base_name@ instead of @shlib_so_name@.
* config/ia64/t-hpux (SHLIB_LINK): Put @shlib_base_name@.so.0
and @shlib_base_name@.so in @multilib_dir@.
(SHLIB_INSTALL): Adjust accordingly.  Add @shlib_slibdir_qual@
to the install path.
* config/mips/t-slibgcc-irix: As for t-slibgcc-elf-ver.
(SHLIB_LINK): Remove previous workaround.
* config/pa/t-hpux-shlib (SHLIB_DIR, SHLIB_SLIBDIR_QUAL): New macros.
(SHLIB_LINK): Put $(SHLIB_SONAME) and $(SHLIB_NAME) in $(SHLIB_DIR).
(SHLIB_INSTALL): Adjust accordingly.  Add $(SHLIB_SLIBDIR_QUAL) to
the install path.
* config/rs6000/t-aix43 (SHLIB_LINK): Put @shlib_base_name@.a in
@multilib_dir@.  Use @multilib_dir@ to check for threading libraries.
(SHLIB_INSTALL): Adjust accordingly.
(SHLIB_LIBS): Use @multilib_dir@ to check for threading libraries.
* config/rs6000/t-aix52: As for config/rs6000/t-aix43.
* config/sh/t-linux (SHLIB_LINK, SHLIB_INSTALL): As for
config/t-slibgcc-elf-ver.

From-SVN: r95277

19 years ago2005-02-19 Michael Koch <konqueror@gmx.de>
Michael Koch [Sat, 19 Feb 2005 09:30:03 +0000 (09:30 +0000)]
2005-02-19  Michael Koch  <konqueror@gmx.de>

* javax/swing/JTextField.java
(notfiyAction): Added javadoc.

From-SVN: r95276

19 years agore PR tree-optimization/19828 (LIM is pulling out a pure function even though there...
Zdenek Dvorak [Sat, 19 Feb 2005 09:26:09 +0000 (10:26 +0100)]
re PR tree-optimization/19828 (LIM is pulling out a pure function even though there is something which can modify global memory)

PR tree-optimization/19828
* tree-ssa-loop-im.c: Add a TODO comment.
(movement_possibility): Return MOVE_PRESERVE_EXECUTION for calls
without side-effects.

* gcc.dg/tree-ssa/loop-7.c: New test.
* gcc.c-torture/execute/20050218-1.c: New test.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r95275

19 years ago[multiple changes]
Michael Koch [Sat, 19 Feb 2005 09:22:39 +0000 (09:22 +0000)]
[multiple changes]

2005-02-19  Sven de Marothy  <sven@physto.se>

* javax/swing/SpinnerDateModel.java: Implemented.

2005-02-19  Michael Koch  <konqueror@gmx.de>

* Makefile.am: Added javax/swing/SpinnerDateModel.java.
* Makefile.in: Regenerated.

From-SVN: r95274

19 years agoSelectorImpl.java: Reworked import statements.
Michael Koch [Sat, 19 Feb 2005 09:10:39 +0000 (09:10 +0000)]
SelectorImpl.java: Reworked import statements.

2005-02-19  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/SelectorImpl.java:
Reworked import statements.
(register): Removed unused code.
* java/nio/channels/Channels.java: Reformatted.
* java/nio/charset/Charset.java: Likewise.
* java/rmi/server/RemoteObject.java
(serialVersionUID): Made private.
* java/rmi/server/UID.java
(serialVersionUID): Likewise.

From-SVN: r95273

19 years agoActiveModeDTP.java, [...]: New files.
Michael Koch [Sat, 19 Feb 2005 08:53:53 +0000 (08:53 +0000)]
ActiveModeDTP.java, [...]: New files.

2005-02-19  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/ftp/ActiveModeDTP.java,
gnu/java/net/protocol/ftp/BlockInputStream.java,
gnu/java/net/protocol/ftp/BlockOutputStream.java,
gnu/java/net/protocol/ftp/CompressedInputStream.java,
gnu/java/net/protocol/ftp/CompressedOutputStream.java,
gnu/java/net/protocol/ftp/DTPInputStream.java,
gnu/java/net/protocol/ftp/DTP.java,
gnu/java/net/protocol/ftp/DTPOutputStream.java,
gnu/java/net/protocol/ftp/FTPConnection.java,
gnu/java/net/protocol/ftp/FTPException.java,
gnu/java/net/protocol/ftp/FTPResponse.java,
gnu/java/net/protocol/ftp/FTPURLConnection.java,
gnu/java/net/protocol/ftp/Handler.java,
gnu/java/net/protocol/ftp/PassiveModeDTP.java,
gnu/java/net/protocol/ftp/StreamInputStream.java,
gnu/java/net/protocol/ftp/StreamOutputStream.java,
gnu/java/net/CRLFInputStream.java,
gnu/java/net/CRLFOutputStream.java,
gnu/java/net/GetLocalHostAction.java,
gnu/java/net/protocol/ftp/package.html: New files.
* Makefile.am: Added new files.
* Makefile.in: Regenerated.

From-SVN: r95272

19 years agolink.cc (make_vtable): Remove abstract method check.
Tom Tromey [Sat, 19 Feb 2005 05:17:14 +0000 (05:17 +0000)]
link.cc (make_vtable): Remove abstract method check.

* link.cc (make_vtable): Remove abstract method check.
(append_partial_itable): Likewise.

From-SVN: r95268

19 years agore PR java/20056 ('verification failed: incompatible type on stack' with --indirect...
Tom Tromey [Sat, 19 Feb 2005 04:02:09 +0000 (04:02 +0000)]
re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch)

PR java/20056:
* verify-impl.c (types_equal): Fixed test.

From-SVN: r95267

19 years agore PR java/20056 ('verification failed: incompatible type on stack' with --indirect...
Tom Tromey [Sat, 19 Feb 2005 03:57:21 +0000 (03:57 +0000)]
re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch)

PR java/20056:
* verify.cc (type::equals): Fixed test.
* testsuite/libjava.lang/PR20056.out: New file.
* testsuite/libjava.lang/PR20056.java: New file.

From-SVN: r95266

19 years agoLinkedHashMap (addEntry): Call remove() with key argument, not the HashEntry.
Bryce McKinlay [Sat, 19 Feb 2005 03:18:20 +0000 (03:18 +0000)]
LinkedHashMap (addEntry): Call remove() with key argument, not the HashEntry.

2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>

* java/util/LinkedHashMap (addEntry): Call remove() with key argument,
not the HashEntry. Reported by Jean-Marie White.

From-SVN: r95263

19 years agore PR libstdc++/10606 (uncaught_exception() returns false too early)
Richard Henderson [Sat, 19 Feb 2005 02:35:25 +0000 (18:35 -0800)]
re PR libstdc++/10606 (uncaught_exception() returns false too early)

        PR libstdc++/10606
gcc/cp/
        * except.c (do_get_exception_ptr): New.
        (expand_start_catch_block): Use it.
libstdc++/
        * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
        * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
        uncaughtExceptions here instead of ...
        * libsupc++/eh_throw.cc (__cxa_throw) ... here.
        (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
        * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
        (__cxa_get_exception_ptr): New.
        * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.

From-SVN: r95262

19 years agotree-ssa-ccp.c (widen_bitfield): Pass type to build_int_cst and don't call fold_convert.
James A. Morrison [Sat, 19 Feb 2005 01:29:33 +0000 (01:29 +0000)]
tree-ssa-ccp.c (widen_bitfield): Pass type to build_int_cst and don't call fold_convert.

2005-02-18  James A. Morrison  <phython@gcc.gnu.org>

        * tree-ssa-ccp.c (widen_bitfield): Pass type to build_int_cst and don't
        call fold_convert.

From-SVN: r95260

19 years agore PR java/20056 ('verification failed: incompatible type on stack' with --indirect...
Tom Tromey [Sat, 19 Feb 2005 01:16:30 +0000 (01:16 +0000)]
re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch)

PR java/20056:
* include/jvm.h (_Jv_Linker::has_field_p): Declare.
* link.cc (has_field_p): New function.
* verify.cc (check_field_constant): Added 'putfield' argument.
(verify_instructions_0): Updated.
(type::equals): New method.

From-SVN: r95259

19 years agore PR java/20056 ('verification failed: incompatible type on stack' with --indirect...
Tom Tromey [Sat, 19 Feb 2005 01:14:17 +0000 (01:14 +0000)]
re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch)

PR java/20056:
* verify-glue.c (vfy_class_has_field): New function.
* verify.h (vfy_class_has_field): Declare.
* verify-impl.c (check_field_constant): Added 'putfield'
argument.
(verify_instructions_0): Updated.
(types_equal): New function.

From-SVN: r95258

19 years agoRemove obsolete IA-64 -mb-step option.
James E Wilson [Sat, 19 Feb 2005 01:02:23 +0000 (17:02 -0800)]
Remove obsolete IA-64 -mb-step option.

* doc/invoke.texi (IA-64 Options): Delete -mb-step.
* config/ia64/ia64.c (last_group, group_idx): Delete variables.
(errata_find_address_regs, errata_emit_nops, fixup_errata): Delete
functions.
(ia64_reorg): Delete fixup_errata call.
* config/ia64/ia64.h (MASK_B_STEP, TARGET_B_STEP): Delete.
(TARGET_SWITCHES): Delete -mb-step entry.

From-SVN: r95257

19 years agoNEWS: Draft of libgcj NEWS for 4.0.
Anthony Green [Sat, 19 Feb 2005 00:47:33 +0000 (00:47 +0000)]
NEWS: Draft of libgcj NEWS for 4.0.

2005-02-18  Anthony Green  <green@redhat.com>

        * NEWS: Draft of libgcj NEWS for 4.0.

From-SVN: r95256

19 years agore PR c/20043 (transparent_union doesn't allow restrict qualifier removal)
Jakub Jelinek [Sat, 19 Feb 2005 00:26:38 +0000 (01:26 +0100)]
re PR c/20043 (transparent_union doesn't allow restrict qualifier removal)

PR c/20043
* c-typeck.c (composite_type): Handle quals in transparent unions.
(type_lists_compatible_p): Likewise.

* gcc.dg/transparent-union-1.c: New test.
* gcc.dg/transparent-union-2.c: New test.

From-SVN: r95255

19 years agoDaily bump.
GCC Administrator [Sat, 19 Feb 2005 00:16:22 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r95253

19 years agodarwin.c (machopic_select_rtx_section): Don't put relocatable expressions in the...
Stan Shebs [Sat, 19 Feb 2005 00:08:06 +0000 (00:08 +0000)]
darwin.c (machopic_select_rtx_section): Don't put relocatable expressions in the .literal8 section.

        * config/darwin.c (machopic_select_rtx_section): Don't put relocatable
        expressions in the .literal8 section.

From-SVN: r95250

19 years agonatRuntime.cc (insertSystemProperties): Normalize x86 architecture names to "i386...
Anthony Green [Fri, 18 Feb 2005 23:29:44 +0000 (23:29 +0000)]
natRuntime.cc (insertSystemProperties): Normalize x86 architecture names to "i386" for compatibility reasons.

2005-02-18  Anthony Green  <green@redhat.com>

        * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
        architecture names to "i386" for compatibility reasons.  Win32
        still uses "x86".

From-SVN: r95243

19 years agos/2005-01-19/2005-02-19/
Jakub Jelinek [Fri, 18 Feb 2005 23:20:55 +0000 (00:20 +0100)]
s/2005-01-19/2005-02-19/

From-SVN: r95242

19 years agodecl.c (start_decl_1): Only check TYPE_NEEDS_CONSTRUCTING if type is not error_mark_node.
Jakub Jelinek [Fri, 18 Feb 2005 23:20:00 +0000 (00:20 +0100)]
decl.c (start_decl_1): Only check TYPE_NEEDS_CONSTRUCTING if type is not error_mark_node.

* decl.c (start_decl_1): Only check TYPE_NEEDS_CONSTRUCTING
if type is not error_mark_node.

From-SVN: r95241

19 years agoarray_syntax.cc: Fix test case to use assignment instead of ==
Matt Austern [Fri, 18 Feb 2005 23:09:02 +0000 (23:09 +0000)]
array_syntax.cc: Fix test case to use assignment instead of ==

* testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
test case to use assignment instead of ==
* testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
* testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
* testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
* testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.

From-SVN: r95240

19 years ago* config/rs6000/darwin-tramp.asm: Remove stray 'APPLE LOCAL' marker.
Geoffrey Keating [Fri, 18 Feb 2005 23:03:38 +0000 (23:03 +0000)]
* config/rs6000/darwin-tramp.asm: Remove stray 'APPLE LOCAL' marker.

From-SVN: r95239

19 years agore PR tree-optimization/18977 (LAPACK test xeigtsts segfaults with optimization)
James E Wilson [Fri, 18 Feb 2005 23:01:33 +0000 (23:01 +0000)]
re PR tree-optimization/18977 (LAPACK test xeigtsts segfaults with optimization)

PR tree-optimization/18977
* gcc.c-torture/execute/loop-ivopts-1.c: New testcase.

From-SVN: r95238

19 years agofold-const.c (constant_boolean_node): Always create values of the specified type...
Roger Sayle [Fri, 18 Feb 2005 21:44:18 +0000 (21:44 +0000)]
fold-const.c (constant_boolean_node): Always create values of the specified type...

* fold-const.c (constant_boolean_node): Always create values of
the specified type, don't bother calling truthvalue_conversion.

From-SVN: r95237

19 years agoexcept.c (output_function_exception_table): Call assemble_external_libcall (eh_person...
Joseph Myers [Fri, 18 Feb 2005 21:24:56 +0000 (21:24 +0000)]
except.c (output_function_exception_table): Call assemble_external_libcall (eh_personality_libfunc).

* except.c (output_function_exception_table): Call
assemble_external_libcall (eh_personality_libfunc).

From-SVN: r95235

19 years agore PR target/19886 (g++.dg/eh/registers1.C execution test fails)
Joseph Myers [Fri, 18 Feb 2005 21:23:16 +0000 (21:23 +0000)]
re PR target/19886 (g++.dg/eh/registers1.C execution test fails)

PR target/19886
* config/ia64/ia64.h (struct machine_function): Add state_num.
* config/ia64/ia64.c (process_epilogue,
process_for_unwind_directive): Use new unwind state numbers each
time rather than state 1.

From-SVN: r95234

19 years agore PR target/20054 (ICE in change_address_1)
Ulrich Weigand [Fri, 18 Feb 2005 21:11:06 +0000 (21:11 +0000)]
re PR target/20054 (ICE in change_address_1)

ChangeLog:

PR target/20054
* config/s390/s390.md ("*llgt_sidi", "*llgt_sidi_split"): Move to
before the "*llgt_didi" pattern.

testsuite/ChangeLog:

PR target/20054
* gcc.dg/pr20054.c: New test.

From-SVN: r95233

19 years agogij.cc (version): Change year for '--version' to 2005.
Anthony Green [Fri, 18 Feb 2005 20:52:16 +0000 (20:52 +0000)]
gij.cc (version): Change year for '--version' to 2005.

2005-02-18  Anthony Green  <green@redhat.com>

        * gij.cc (version): Change year for '--version' to 2005.
        * gnu/gcj/convert/Convert.java: Ditto.
        * gnu/java/rmi/rmic/RMIC.java: Ditto.
        * gnu/java/rmi/registry/RegistryImpl.java: Ditto.

        * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
        recent copyright year in `--version' output.

From-SVN: r95232

19 years ago* gimplify.c (gimplify_modify_expr_rhs) [CALL_EXPR]: Revert again.
Jason Merrill [Fri, 18 Feb 2005 19:35:37 +0000 (14:35 -0500)]
* gimplify.c (gimplify_modify_expr_rhs) [CALL_EXPR]: Revert again.

From-SVN: r95231

19 years agore PR c++/19508 (dwarf2, ICE on __attribute__(aligned) in class template)
Giovanni Bajo [Fri, 18 Feb 2005 19:11:58 +0000 (19:11 +0000)]
re PR c++/19508 (dwarf2, ICE on __attribute__(aligned) in class template)

2005-01-20  Giovanni Bajo  <giovannibajo@gcc.gnu.org>

        PR c++/19508
        * g++.dg/ext/attrib20.C: New test.

2005-01-20  Giovanni Bajo  <giovannibajo@gcc.gnu.org>

        PR c++/19508
        * decl2.c (grokfield): Do not apply attributes to template parameters
        as they are ignored by tsubst anyway.

From-SVN: r95230

19 years agolib1funcs.asm (FUNC_ALIAS): New macro.
Richard Earnshaw [Fri, 18 Feb 2005 14:46:47 +0000 (14:46 +0000)]
lib1funcs.asm (FUNC_ALIAS): New macro.

* arm/lib1funcs.asm (FUNC_ALIAS): New macro.
(div0): Use it in place of ARM_FUNC_ALIAS.
(lshrdi3, ashrdi3, ashlrdi3): Likewise.

From-SVN: r95228

19 years agore PR middle-end/20030 (Broken arguments access)
Andrew Pinski [Fri, 18 Feb 2005 14:36:54 +0000 (14:36 +0000)]
re PR middle-end/20030 (Broken arguments access)

2004-02-18  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/20030
        * gfortran.fortran-torture/execute/character_passing.f90: New test.

From-SVN: r95227

19 years agore PR middle-end/20030 (Broken arguments access)
Andrew Pinski [Fri, 18 Feb 2005 14:31:50 +0000 (14:31 +0000)]
re PR middle-end/20030 (Broken arguments access)

2005-02-18  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/20030
        * fold-const.c (fold_indirect_ref_1): Use the correct index for zero access,
        the lower bound of the array type if it exists.

From-SVN: r95226

19 years agore PR c++/20008 (internal compiler error: in expand_case, at stmt.c:2397)
Alexandre Oliva [Fri, 18 Feb 2005 12:20:49 +0000 (12:20 +0000)]
re PR c++/20008 (internal compiler error: in expand_case, at stmt.c:2397)

gcc/ChangeLog:
PR c++/20008
* stmt.c (expand_case): Don't assume cleanup_tree_cfg will remove
cases that are out-of-range for the index type.
gcc/testsuite/ChangeLog:
PR c++/20008
* g++.dg/opt/switch4.C: New.

From-SVN: r95225

19 years agostmt.c (emit_case_bit_tests): Call fold_convert instead of convert.
James A. Morrison [Fri, 18 Feb 2005 12:06:08 +0000 (12:06 +0000)]
stmt.c (emit_case_bit_tests): Call fold_convert instead of convert.

2005-02-18  James A. Morrison  <phython@gcc.gnu.org>

        * stmt.c (emit_case_bit_tests): Call fold_convert instead of convert.
        (estimate_case_costs): Don't call convert.
        * expmed.c (expand_shift): Likewise.
        (make_tree): Call fold_convert instead of convert.

From-SVN: r95224

19 years agopthread1.cc: Do not invoke pthread_setconcurrency on Solaris 2.6 and below.
Eric Botcazou [Fri, 18 Feb 2005 11:53:18 +0000 (12:53 +0100)]
pthread1.cc: Do not invoke pthread_setconcurrency on Solaris 2.6 and below.

* testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
on Solaris 2.6 and below.
* testsuite/thread/pthread2.cc: Likewise.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: Likewise.
* testsuite/thread/pthread5.cc: Likewise.
* testsuite/thread/pthread6.cc: Likewise.
* testsuite/thread/pthread7-rope.cc: Likewise.

From-SVN: r95220

19 years agofunctional (hash): New function object.
Matt Austern [Fri, 18 Feb 2005 07:50:08 +0000 (07:50 +0000)]
functional (hash): New function object.

        * include/tr1/functional (hash): New function object.
        * include/tr1/hashtable: New file.
        * include/tr1/unordered_set: New file.
        * include/tr1/unordered_map: New file.
        * include/Makefile.am: Add three new TR1 headers.
        * include/Makefile.in: Likewise.
        * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
        * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
        * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
        * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
        * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
        * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
        * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
        * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
        * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
        * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.

From-SVN: r95219

19 years agoCharset.java (forName): Throws IllegalArgumentException when argument is null and...
Robert Schuster [Fri, 18 Feb 2005 07:44:59 +0000 (07:44 +0000)]
Charset.java (forName): Throws IllegalArgumentException when argument is null and added documentation.

2005-02-18  Robert Schuster <thebohemian@gmx.net>

* java/nio/charset/Charset.java (forName): Throws
IllegalArgumentException when argument is null
and added documentation.

From-SVN: r95218

19 years agore PR c++/19813 (wrong code with -finline-limit)
Jakub Jelinek [Fri, 18 Feb 2005 06:58:40 +0000 (07:58 +0100)]
re PR c++/19813 (wrong code with -finline-limit)

PR c++/19813
* emit-rtl.c (set_mem_attributes_minus_bitpos): Add assertion
that ref to be marked MEM_READONLY_P doesn't have base that needs
constructing.

* decl.c (start_decl_1): Clear TREE_READONLY flag if
its type has TYPE_NEEDS_CONSTRUCTING.
(complete_vars): Likewise.

From-SVN: r95217

19 years agogenautomata.c (output_get_cpu_unit_code_func, [...]): Don't generate old-style functi...
Joseph Myers [Fri, 18 Feb 2005 01:21:12 +0000 (01:21 +0000)]
genautomata.c (output_get_cpu_unit_code_func, [...]): Don't generate old-style function definitions.

* genautomata.c (output_get_cpu_unit_code_func,
output_cpu_unit_reservation_p): Don't generate old-style function
definitions.

From-SVN: r95213

19 years agoDaily bump.
GCC Administrator [Fri, 18 Feb 2005 00:16:37 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r95211

19 years agore PR c++/20023 (internal compiler error: Segmentation fault)
Jakub Jelinek [Thu, 17 Feb 2005 23:56:54 +0000 (00:56 +0100)]
re PR c++/20023 (internal compiler error: Segmentation fault)

PR c++/20023
PR tree-optimization/20009
* convert.c (convert_to_integer): Revert 2005-02-16 change.

* gcc.c-torture/compile/20050217-1.c: New test.
* g++.dg/opt/switch3.C: New test.

From-SVN: r95208

19 years agore PR tree-optimization/18947 ([non-UAAT] external inline and normal function of...
Jakub Jelinek [Thu, 17 Feb 2005 23:50:02 +0000 (00:50 +0100)]
re PR tree-optimization/18947 ([non-UAAT] external inline and normal function of the same name)

PR tree-optimization/18947
* cgraphunit.c (cgraph_finalize_function): When redefining an extern
inline, remove all nodes that are inlined into the extern inline
being redefined.

* gcc.c-torture/compile/20050215-1.c: New test.
* gcc.c-torture/compile/20050215-2.c: New test.
* gcc.c-torture/compile/20050215-3.c: New test.

From-SVN: r95207

19 years agobt-load.c, [...]: Update copyright.
Kazu Hirata [Thu, 17 Feb 2005 22:41:35 +0000 (22:41 +0000)]
bt-load.c, [...]: Update copyright.

* bt-load.c, cfgloop.c, convert.c, dominance.c, global.c,
loop-invariant.c, stmt.c, tree-ssa-forwprop.c,
tree-ssa-live.c, tree-ssanames.c, tree-vn.c,
config/host-linux.c, config/arm/fpa.md, config/avr/avr.h:
Update copyright.

From-SVN: r95202

19 years agore PR tree-optimization/19917 (Weak const function mishandled inside loop)
Roger Sayle [Thu, 17 Feb 2005 22:32:29 +0000 (22:32 +0000)]
re PR tree-optimization/19917 (Weak const function mishandled inside loop)

PR tree-optimization/19917
* tree-eh.c (tree_could_trap_p): Consider calls to weak functions
to be potentially trapping.

From-SVN: r95200

19 years ago* libgcc2.c, tree-vect-analyze.c: Fix comment typos.
Kazu Hirata [Thu, 17 Feb 2005 21:20:21 +0000 (21:20 +0000)]
* libgcc2.c, tree-vect-analyze.c: Fix comment typos.

From-SVN: r95196

19 years agobuiltins.c (expand_builtin_return_addr): Remove tem parameter.
Andreas Krebbel [Thu, 17 Feb 2005 21:09:23 +0000 (21:09 +0000)]
builtins.c (expand_builtin_return_addr): Remove tem parameter.

2005-02-17  Andreas Krebbel  <krebbel1@de.ibm.com>

* builtins.c (expand_builtin_return_addr): Remove tem parameter.
tem becomes a local variable which is set to the value of the
back end defined INITIAL_FRAME_ADDRESS macro.
(expand_builtin_frame_address): Omit the base parameter to
expand_builtin_return_addr.
(expand_builtin_profile_func): Likewise.
* config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Define new macro.
(DYNAMIC_CHAIN_ADDRESS): Remove the case for the initial frame.
* doc/tm.texi: Documentation for INITIAL_FRAME_ADDRESS_RTX added.

From-SVN: r95194