Tom Tromey
4d2446d99e
LogManager.java (loggers): Genericized.
...
* java/util/logging/LogManager.java (loggers): Genericized.
(addLogger): Merged.
(findAncestor): Likewise.
(getLogger): Likewise.
(getLoggerNames): Genericized.
(reset): Merged.
(getLevelProperty): Likewise.
* java/lang/reflect/Method.java (getDeclaringClass): Genericized.
* java/lang/reflect/Constructor.java (getParameterTypes):
Genericized.
(getExceptionTypes): Likewise.
(newInstance): Likewise.
* java/lang/reflect/Array.java (newInstance): Genericized.
* java/lang/Object.java (getClass): Genericized.
* java/nio/charset/spi/CharsetProvider.java (charsets):
Genericized.
* java/text/Collator.java: Implement Comparable<Object>.
From-SVN: r121473
2007-02-01 21:36:01 +00:00
Tom Tromey
0a32f469ac
Calendar.java: Implement Comparable<Calendar>.
...
* java/util/Calendar.java: Implement Comparable<Calendar>. Update
comments.
(clear): Call complete.
(setTimeZone): Call computeTime, computeFields.
(compareTo): New method.
* java/nio/charset/Charset.java: Implement Comparable<Charset>.
(availableCharsets): Genericized.
(aliases): Likewise.
(compareTo): Changed argument type.
* java/lang/ClassLoader.java (loadClass): Genericized.
(findClass): Likewise.
(defineClass): Likewise.
(resolveClass): Likewise.
(findSystemClass): Likewise.
(setSigners): Likewise.
(findLoadedClass): Likewise.
(getResources): Likewise.
(findResources): Likewise.
(getSystemResources): Likewise.
(checkInitialized): New method.
* java/lang/Class.java (getCanonicalName): New method.
From-SVN: r121471
2007-02-01 20:34:08 +00:00
Roger Sayle
62e5bf5d42
alias.c (init_alias_analysis): Correct whitespace.
...
* alias.c (init_alias_analysis): Correct whitespace.
* bb-reorder.c (fix_edges_for_rarely_executed_code,
partition_hot_cold_basic_blocks): Likewise.
* builtins.c (expand_builtin_printf, expand_builtin_fprintf,
expand_builtin_sprintf, fold_builtin_carg, fold_builtin_sprintf,
maybe_emit_sprintf_chk_warning, fold_builtin_sprintf_chk,
fold_builtin_snprintf_chk, fold_builtin_printf,
fold_builtin_fprintf, do_mpfr_ckconv, do_mpfr_arg1, do_mpfr_arg2,
do_mpfr_arg3, do_mpfr_sincos): Likewise.
* cfgcleanup.c (cleanup_cfg): Likewise.
* cfgexpand.c (tree_expand_cfg): Likewise.
* fold-const.c (fold_binary) <RDIV_EXPR>: Likewise.
* function.c (get_next_funcdef_no): Likewise.
* gengtype.c (main): Likewise.
* genmodes.c (main): Likewise.
* gcse.c (bypass_conditional_jumps, print_ldst_list): Likewise.
* haifa-sched.c (schedule_block, extend_h_i_d): Likewise.
* ifcvt.c (noce_emit_move_insn): Likewise.
* modulo-sched.c (generate_prolog_epilog, sms_schedule_by_order):
Likewise.
* stor-layout.c (get_best_mode): Likewise.
* tree-ssa-loop-niter.c (get_val_for): Likewise.
* tree-ssa-structalias.c (get_varinfo, get_varinfo_fc,
scc_visit, do_ds_constraint, do_complex_constraint, label_visit,
perform_var_substitution, solve_graph): Likewise.
* tree-vrp.c (vrp_finalize): Likewise.
From-SVN: r121470
2007-02-01 20:32:20 +00:00
Keith Seitz
0f160ccf28
jvmti-int.h (JVMTI): Declare member "enabled".
...
* include/jvmti-int.h (JVMTI): Declare member "enabled".
* jvmti.cc (JVMTI): Add member "enabled".
(_Jv_GetJVMTIEnv): Mark JVMTI enabled.
* interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
instead of gnu::classpath::jdwp::Jdwp::isDebugging.
(_Jv_CompileMethod): If JVMTI is enabled, use run_debug
instead of run to compile the method.
* interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
notification.
From-SVN: r121468
2007-02-01 18:58:58 +00:00
Ian Lance Taylor
0e6c5b5854
lower-subreg.c (simplify_gen_subreg_concatn): If we ask for the high part of a paradoxical subreg, return a constant zero.
...
* lower-subreg.c (simplify_gen_subreg_concatn): If we ask for the
high part of a paradoxical subreg, return a constant zero.
From-SVN: r121466
2007-02-01 16:43:20 +00:00
Zdenek Dvorak
c0d919fa35
toplev.c (lang_dependent_init): Call init_set_costs.
...
* toplev.c (lang_dependent_init): Call init_set_costs.
* loop-init.c (loop_optimizer_init): Do not call init_set_costs.
From-SVN: r121464
2007-02-01 14:57:08 +00:00
Andrew Haley
2a97d6b20d
re PR java/30641 (gcj corrupted double-linked list (glibc detected))
...
2007-02-01 Andrew Haley <aph@redhat.com>
PR java/30641
* jcf-parse.c (jcf_parse): Clear the field_offsets bitmap.
From-SVN: r121462
2007-02-01 14:34:11 +00:00
Paolo Carlini
c3f0f556db
re PR libstdc++/14493 (std::bad_alloc::what() does not explain what happened)
...
2007-02-01 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14493
* libsupc++/typeinfo (bad_cast::what, bad_typeid::what): Declare.
* libsupc++/tinfo.cc: Define.
* libsupc++/exception (bad_exception::what): Declare.
* libsupc++/eh_exception.cc: Define.
(exception::what): Adjust, don't use typeid.
* libsupc++/new (bad_alloc::what): Declare.
* libsupc++/new_handler.cc: Define.
* config/abi/pre/gnu.ver: Export the new methods @3.4.9; adjust
existing 3.4.10 exports to 3.4.9.
* configure.ac: Adjust to 6.0.9.
* configure: Regenerate.
* testsuite/util/testsuite_abi.cc: Update.
* testsuite/18_support/14493.cc: New.
From-SVN: r121461
2007-02-01 13:36:51 +00:00
Richard Guenther
ee7d8048d5
re PR middle-end/30656 (ICE with -ftrapv)
...
2007-02-01 Richard Guenther <rguenther@suse.de>
PR middle-end/30656
* fold-const.c (fold_negate_expr): Allow negating a
constant if overflow does not change.
From-SVN: r121460
2007-02-01 10:27:17 +00:00
Ralf Wildenhues
f1b0882e68
libgomp.texi: Fix spacing after abbreviations.
...
2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libgomp.texi: Fix spacing after abbreviations.
From-SVN: r121458
2007-01-31 21:37:21 -08:00
Ralf Wildenhues
ab873839aa
c-tree.texi (Expression trees): Improve markup.
...
2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/c-tree.texi (Expression trees): Improve markup.
* doc/tm.texi (Register Classes, Addressing Modes)
(Floating Point): Fix spacing after abbreviations. Fix some
typos.
From-SVN: r121457
2007-01-31 21:36:17 -08:00
Ben Elliston
20fdc40c5a
eh_alloc.cc (__cxa_free_exception): Don't refer to the emergency_buffer using &array[0][0]' notation, use
array'.
...
* libsupc++/eh_alloc.cc (__cxa_free_exception): Don't refer to the
emergency_buffer using `&array[0][0]' notation, use `array'.
From-SVN: r121456
2007-02-01 15:04:34 +11:00
Ben Elliston
b818de221c
invoke.texi: Replace "bugfix" with "bug fix" throughout.
...
* doc/invoke.texi: Replace "bugfix" with "bug fix" throughout.
* doc/contrib.texi: Likewise.
* doc/install.texi: Likewise.
From-SVN: r121455
2007-02-01 14:05:18 +11:00
Ian Lance Taylor
e53a16e75f
lower-subreg.c: New file.
...
gcc/:
* lower-subreg.c: New file.
* rtl.def (CONCATN): Define.
* passes.c (init_optimization_passes): Add pass_lower_subreg and
pass_lower_subreg2.
* emit-rtl.c (update_reg_offset): New static function, broken out
of gen_rtx_REG_offset.
(gen_rtx_REG_offset): Call update_reg_offset.
(gen_reg_rtx_offset): New function.
* regclass.c: Revert patch of 2006-03-05, restoring
reg_scan_update.
(clear_reg_info_regno): New function.
* dwarf2out.c (concatn_loc_descriptor): New static function.
(loc_descriptor): Handle CONCATN.
* common.opt (fsplit_wide_types): New option.
* opts.c (decode_options): Set flag_split_wide_types when
optimizing.
* timevar.def (TV_LOWER_SUBREG): Define.
* rtl.h (gen_reg_rtx_offset): Declare.
(reg_scan_update): Declare.
* regs.h (clear_reg_info_regno): Declare.
* tree-pass.h (pass_lower_subreg): Declare.
(pass_lower_subreg2): Declare.
* doc/invoke.texi (Option Summary): List -fno-split-wide-types.
(Optimize Options): Add -fsplit-wide-types to -O1 list. Document
-fsplit-wide-types.
* doc/rtl.texi (Regs and Memory): Document concat and concatn.
* Makefile.in (OBJS-common): Add lower-subreg.o.
(lower-subreg.o): New target.
gcc/testsuite/:
* gcc.dg/lower-subreg-1.c (test): New test.
From-SVN: r121453
2007-02-01 01:09:35 +00:00
Tom Tromey
15c48c45f5
Makefile.in: Rebuilt.
...
* tools/Makefile.in: Rebuilt.
* tools/Makefile.am (noinst_SCRIPTS): Renamed from bin_SCRIPTS.
(noinst_DATA): Renamed from TOOLS_DATA.
From-SVN: r121451
2007-02-01 00:27:48 +00:00
GCC Administrator
0fb2c7ce34
Daily bump.
...
From-SVN: r121449
2007-02-01 00:17:40 +00:00
Geoffrey Keating
b7e9550f8d
* g++.dg/eh/simd-4.C (main): Also catch SIGSEGV.
...
From-SVN: r121444
2007-02-01 00:01:22 +00:00
Kazu Hirata
52f7138e13
* config/sh/sh.h (HAVE_SECONDARY_RELOADS): Remove.
...
From-SVN: r121443
2007-01-31 23:46:54 +00:00
Keith Seitz
c6923d93eb
jvmti-int.h (JVMTI): Declare member "enabled".
...
* include/jvmti-int.h (JVMTI): Declare member "enabled".
* jvmti.cc (JVMTI): Add member "enabled".
(_Jv_GetJVMTIEnv): Mark JVMTI enabled.
* interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
instead of gnu::classpath::jdwp::Jdwp::isDebugging.
(_Jv_CompileMethod): If JVMTI is enabled, use run_debug
instead of run to compile the method.
* interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
notification.
From-SVN: r121442
2007-01-31 23:25:39 +00:00
Andreas Schwab
f6671c9376
Makefile.tpl (LDFLAGS): Substitute it.
...
* Makefile.tpl (LDFLAGS): Substitute it.
* Makefile.in: Regenerate.
From-SVN: r121441
2007-01-31 22:22:50 +00:00
Daniel Franke
748b9d7c08
re PR libgomp/30546 (build fail in libgomp when building from SVN because makeinfo is missing)
...
2007-01-31 Daniel Franke <franke.daniel@gmail.com>
PR libgomp/30546
* configure.ac: Add check for makeinfo
* Makefile.am: Redefined target libgomp.info, build libgomp.info only
if an appropiate version of makeinfo is found.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
From-SVN: r121440
2007-01-31 16:30:16 -05:00
Daniel Franke
758a2c9633
re PR libgomp/30546 (build fail in libgomp when building from SVN because makeinfo is missing)
...
2007-01-31 Daniel Franke <franke.daniel@gmail.com>
PR libgomp/30546
* acx.m4 (ACX_PROG_CHECK_VER): Locate a program and check that its
version is acceptable.
From-SVN: r121439
2007-01-31 16:29:19 -05:00
Andreas Tobler
d36114b201
jvmti-interp.exp (gij_jvmti_test_one): Add -shared-libgcc to the cxxflaglist for Darwin.
...
2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
* testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
-shared-libgcc to the cxxflaglist for Darwin.
From-SVN: r121438
2007-01-31 22:28:28 +01:00
Tom Tromey
6a50ab1837
scripts.am, [...]: Rebuilt.
...
* scripts.am, Makefile.in: Rebuilt.
* scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
as 'ordinary'.
(emit_ordinary_rule): New proc.
From-SVN: r121437
2007-01-31 21:23:44 +00:00
Keith Seitz
9af2f1d8eb
getmethodname.h: New file.
...
* testsuite/libjava.jvmti/getmethodname.h: New file.
* testsuite/libjava.jvmti/getmethodname.jar: New file.
From-SVN: r121436
2007-01-31 20:51:54 +00:00
Ralf Wildenhues
15b16eb559
hex.c: Fix typo.
...
* hex.c: Fix typo.
* choose-temp.c: Likewise.
* functions.texi: Regenerate.
From-SVN: r121435
2007-01-31 15:05:50 -05:00
Andrew Haley
5df3325225
prims.cc (_Jv_Abort): fflush (stderr).
...
2007-01-31 Andrew Haley <aph@redhat.com>
* prims.cc (_Jv_Abort): fflush (stderr).
* java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
From-SVN: r121433
2007-01-31 19:04:35 +00:00
Vladimir Prus
7cf4c53d1e
libiberty.h (PEX_STDERR_TO_PIPE): New define.
...
include/
* libiberty.h (PEX_STDERR_TO_PIPE): New define.
(PEX_BINARY_ERROR): New define.
(pex_read_err): New function.
libiberty/
* pex-common.h (struct pex_obj): New fields
stderr_pipe and read_err.
* pex-common.c (pex_init_common): Initialize
stderr_pipe.
From-SVN: r121430
2007-01-31 18:40:34 +00:00
Tom Tromey
a968c71490
configure, [...]: Rebuilt.
...
* configure, Makefile.in: Rebuilt.
* configure.ac (JAR): Check for -@ feature.
* Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
From-SVN: r121429
2007-01-31 17:38:55 +00:00
Anatoly Sokolov
d1fc69e4a5
re PR target/19087 (Overflowed address in dwarf debug line information)
...
PR target/19087
* config/avr/avr.c (DWARF2_ADDR_SIZE): Define.
From-SVN: r121426
2007-01-31 20:23:49 +03:00
Tom Tromey
7679f36836
re PR libgcj/30606 (natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type)
...
PR libgcj/30606:
* configure, include/config.h.in: Rebuilt.
* configure.ac: Check for magic_t in magic.h.
* java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
From-SVN: r121425
2007-01-31 17:11:11 +00:00
Tom Tromey
8de15ffc9d
* resource/gnu/classpath/tools/jar/messages.properties
...
(Main.Stdin): New message.
* tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
'-@' option.
(readNames): New method.
(run): Use it.
From-SVN: r121424
2007-01-31 17:06:33 +00:00
Kaveh R. Ghazi
4fc7842350
re PR middle-end/29335 (transcendental functions with constant arguments should be resolved at compile-time)
...
PR middle-end/29335
* builtins.c (fold_builtin_sqrt): Use MPFR for constant args.
testsuite:
* gcc.dg/torture/builtin-math-2.c: Add sqrt cases.
* gcc.dg/torture/builtin-math-3.c: Likewise.
From-SVN: r121423
2007-01-31 15:06:19 +00:00
Zdenek Dvorak
677cc14d2d
cfgloop.h: Include vec-prim.h.
...
* cfgloop.h: Include vec-prim.h.
(enum li_flags): Remove LI_ONLY_OLD.
(loop_iterator): Changed.
(fel_next, fel_init): Iterate over loop tree.
(FOR_EACH_LOOP_BREAK): New macro.
* loop-unswitch.c (unswitch_loops): Do not pass LI_ONLY_OLD to
FOR_EACH_LOOP.
* tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops): Ditto.
* modulo-sched.c (sms_schedule): Ditto.
* tree-vectorizer.c (vectorize_loops): Ditto.
* doc/loop.texi: Update information on loop numbering and behavior of
FOR_EACH_LOOP wrto new loops.
* tree-scalar-evolution.c (compute_overall_effect_of_inner_loop,
add_to_evolution_1): Test nestedness of loops instead of comparing
their numbers.
* tree-chrec.c (chrec_fold_plus_poly_poly,
chrec_fold_multiply_poly_poly, chrec_evaluate,
hide_evolution_in_other_loops_than_loop, chrec_component_in_loop_num,
reset_evolution_in_loop): Ditto.
* Makefile.in (CFGLOOP_H): Add vecprim.h dependency.
From-SVN: r121422
2007-01-31 13:50:06 +00:00
Dirk Mueller
e7917d06e8
c-common.c (warn_about_parentheses): Separate warning about un-parenthized sequence of comparison operators from the...
...
2007-01-31 Dirk Mueller <dmueller@suse.de>
* c-common.c (warn_about_parentheses): Separate warning about
un-parenthized sequence of comparison operators from the one
which is supposed to warn about x <= y <= z.
* testsuite/gcc.dg/Wparentheses-2.c: Update and add new tests.
From-SVN: r121421
2007-01-31 13:43:40 +00:00
Ira Rosen
d9f414687e
vect-37.c: Restore the original behaivior - xfail to vectorize.
...
* gcc.dg/vect/vect-37.c: Restore the original behaivior - xfail to
vectorize.
From-SVN: r121420
2007-01-31 13:42:00 +00:00
Uros Bizjak
9ed4207fce
optabs.h (enum optab_index): Add new OTI_isinf.
...
* optabs.h (enum optab_index): Add new OTI_isinf.
(isinf_optab): Define corresponding macro.
* optabs.c (init_optabs): Initialize isinf_optab.
* genopinit.c (optabs): Implement isinf_optab using isinf?f2
patterns.
* builtins.c (mathfn_built_in): Handle BUILT_IN_ISINF{,F,L}.
(expand_builtin_interclass_mathfn): Expand BUILT_IN_ISINF{,F,L}
using isinf_optab.
(expand_builtin): Expand BUILT_IN_ISINF{,F,L} using
expand_builtin_interclass_mathfn.
* reg_stack.c (subst_stack_regs_pat): Handle UNSPEC_FXAM.
* config/i386/i386.md (UNSPEC_FXAM): New constant.
(fxam<mode>2_i387): New insn pattern.
(isinf<mode>2) New expander to implement isinf, isinff and isinfl
built-in functions as x87 inline asm.
testsuite/ChangeLog:
* gcc.dg/builtins-63.c: New test.
From-SVN: r121419
2007-01-31 13:30:20 +01:00
Tobias Burnus
010dc0fdd0
(This part was missing in the r118852 / Wed Nov 15 10:13:16 2006 check in)
...
2007-01-31 Tobias Burnus <burnus@net-b.de>
PR fortran/27588
* gfortran.dg/char_bounds_check_fail_1.f90: Add test.
From-SVN: r121401
2007-01-31 11:23:53 +01:00
Tobias Burnus
9bce3c1cc4
re PR fortran/30520 (Conflics checking of VOLATILE attribute needs improvement)
...
fortran/
2007-01-31 Tobias Burnus <burnus@net-b.de>
PR fortran/30520
* interface.c (compare_actual_formal): Check conformance between
actual and VOLATILE dummy arguments.
* symbol.c (gfc_add_volatile): Allow setting of VOLATILE
multiple times in different scopes.
* decl.c (gfc_match_volatile): Search symbol in host association.
testsuite/
2007-01-31 Tobias Burnus <burnus@net-b.de>
PR fortran/30520
* gfortran.dg/volatile8.f90: New argument conformance test.
* gfortran.dg/volatile9.f90: New scope test.
From-SVN: r121379
2007-01-31 10:18:33 +01:00
Kazu Hirata
c9cde24cd1
* gcc/config/arm/unwind-arm.h (_sleb128_t, _uleb128_t): New.
...
From-SVN: r121377
2007-01-31 05:23:09 +00:00
Eric Christopher
537bbabdc3
config.gcc: Add geode.
...
2007-01-30 Eric Christopher <echristo@apple.com>
* config.gcc: Add geode.
From-SVN: r121376
2007-01-31 05:16:23 +00:00
Kazu Hirata
fa7a9f691c
i386.h (NON_QI_REG_P): Remove.
...
* config/i386/i386.h (NON_QI_REG_P): Remove.
* config/i386/predicates.md (non_q_regs_operand): Remove.
From-SVN: r121375
2007-01-31 05:06:08 +00:00
Kazu Hirata
88512ba0b8
cgraphunit.c, [...]: Fix comment typos.
...
* cgraphunit.c, config/arm/arm.c, config/m68k/m68k.c,
ipa-inline.c, tree-profile.c, tree-ssa-live.c,
tree-ssa-math-opts.c, tree-ssanames.c, tree-vect-analyze.c,
value-prof.c: Fix comment typos.
From-SVN: r121374
2007-01-31 03:45:38 +00:00
Kazu Hirata
65de695fa5
* simplify.c, trans-array.c: Fix comment typos.
...
From-SVN: r121373
2007-01-31 03:35:59 +00:00
Kazu Hirata
61a89891cd
* class.c, jcf-parse.c: Fix comment typos.
...
From-SVN: r121372
2007-01-31 03:33:15 +00:00
Roger Sayle
5e203bf883
error.c (dump_type_suffix): Avoid use of cp_build_binary_op when calculating the size of an array (to avoid...
...
* error.c (dump_type_suffix): Avoid use of cp_build_binary_op when
calculating the size of an array (to avoid recursive errors).
From-SVN: r121371
2007-01-31 02:15:45 +00:00
GCC Administrator
5c3f8c97a7
Daily bump.
...
From-SVN: r121369
2007-01-31 00:18:06 +00:00
Ben Elliston
ae452ed134
strsignal.c (psignal): Change type of signo to int.
...
* strsignal.c (psignal): Change type of signo to int.
* functions.texi: Regenerate.
From-SVN: r121364
2007-01-31 10:12:29 +11:00
Tom Tromey
d43b573e77
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
From-SVN: r121363
2007-01-30 22:53:40 +00:00
Andreas Tobler
78bdbc0647
natevents.cc (FieldModificationCB): Use a cast to print it right.
...
2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
cast to print it right.
From-SVN: r121362
2007-01-30 23:31:28 +01:00