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
Manuel López-Ibáñez
b9edb4b11c
re PR c++/24745 (unpleasant warning for "if (NULL)")
...
2007-01-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c++/24745
* doc/invoke.texi (Wpointer-arith): Document warning.
cp/
* typeck.c (build_binary_op): Fix logic for warning. Move warning
to -Wpointer-arith.
* call.c (convert_like_real): Don't warn when converting to
boolean type.
testsuite/
* g++.dg/warn/null4.C: New.
From-SVN: r121361
2007-01-30 22:29:11 +00:00
Daniel Franke
14734fc701
re PR libgomp/30540 (Document default value of implementation-dependent OpenMP settings)
...
2007-01-29 Daniel Franke <franke.daniel@gmail.com>
PR libgomp/30540
* libgomp.texi: More about implementation-dependent settings.
From-SVN: r121360
2007-01-30 16:16:30 -05:00
Ralf Wildenhues
8370304d3e
invoke.texi (Code Gen Options): Fix abbreviation typo.
...
2007-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* invoke.texi (Code Gen Options): Fix abbreviation typo.
* intrinsic.texi (ACCESS, LSHIFT, RSHIFT): Fix typos.
From-SVN: r121359
2007-01-30 12:26:52 -08:00
Janis Johnson
05f182f63a
extend.texi (Decimal Floating Types): Remove decfloat.h from the list of discrepancies from the draft TR.
...
* doc/extend.texi (Decimal Floating Types): Remove decfloat.h from
the list of discrepancies from the draft TR.
From-SVN: r121358
2007-01-30 20:23:25 +00:00
Tom Tromey
e4cf973dd9
* gcj.texi (Strings): Fix documentation for JvNewString.
...
From-SVN: r121356
2007-01-30 19:58:19 +00:00
Ralf Wildenhues
13a89f0af5
gcj.texi (Invoking gcjh, [...]): Fix some typos.
...
2007-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* gcj.texi (Invoking gcjh, Invoking gjnih, Arrays): Fix some
typos.
From-SVN: r121354
2007-01-30 19:42:02 +00:00
Benjamin Kosnik
e894edefdb
re PR libstdc++/30571 (Use of C++0x keywords in libstdc++-v3 headers)
...
2007-01-30 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/30571
* include/ext/pb_ds/detail/type_utils.hpp: Use C++0x
static_assert if available, if not, centralize PB_DS_STATIC_ASSERT
definition here.
* include/ext/pb_ds/detail/resize_policy/
cc_hash_max_collision_check_resize_trigger_imp.hpp: Remove
PB_DS_STATIC_ASSERT definition.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
* include/ext/pb_ds/trie_policy.hpp: Same.
* testsuite/util/performance/assoc/timing/
tree_order_statistics_test.hpp: Same.
* testsuite/ext/pb_ds/example/hash_resize_neg.cc: Adjust line numbers.
* testsuite/17_intro/headers_c++_c++0x_compat.cc: New.
* include/precompiled/extc++.h: Update to current list of ext files.
From-SVN: r121349
2007-01-30 18:04:59 +00:00
Steve Ellcey
884d2e6b28
re PR fortran/30432 ([4.1 only] gfortran.dg/c_by_val_1.f fails on ia64-*-*, problem with %VAL)
...
PR fortran/30432
* trans-types.c (gfc_get_function_type): Do not add void_type_node
to empty arg list.
* trans-decl.c (create_function_arglist): Change assert.
From-SVN: r121347
2007-01-30 17:49:24 +00:00
Roger Sayle
d6c716bdd8
large-size-array-3.c: Correct typo.
...
* gcc.dg/large-size-array-3.c: Correct typo.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r121345
2007-01-30 17:13:12 +00:00
Dirk Mueller
01a40464d4
re PR c++/30601 (-Wreturn-type warns about more than what the documentation says)
...
2007-01-30 Dirk Mueller <dmueller@suse.de>
PR c++/30601
* doc/invoke.texi (-Wreturn-type): Update description to
match new behavior.
From-SVN: r121342
2007-01-30 16:20:06 +00:00
Tom Tromey
67e6443958
re PR preprocessor/30468 (-M not fully chops dirname)
...
PR preprocessor/30468:
* mkdeps.c (apply_vpath): Strip successive '/'s if we stripped
'./'.
From-SVN: r121341
2007-01-30 15:50:00 +00:00
Tom Tromey
ee380365ef
re PR preprocessor/29966 (crash in cc1 with backtrace from free())
...
PR preprocessor/29966:
* macro.c (lex_expansion_token): Save and restore cpp_reader's
cur_token.
(_cpp_create_definition): Don't restore cur_token here.
* lex.c (_cpp_lex_token): Added assertion.
From-SVN: r121340
2007-01-30 15:46:01 +00:00
Richard Sandiford
9caea4a72f
cfgrtl.c (try_redirect_by_replacing_jump): Check only_sets_cc0_p.
...
gcc/
* cfgrtl.c (try_redirect_by_replacing_jump): Check only_sets_cc0_p.
From-SVN: r121339
2007-01-30 15:07:34 +00:00
Andrey Belevantsev
ba9f17dfd9
MAINTAINERS (Write After Approval): Add myself.
...
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r121337
2007-01-30 14:33:55 +03:00
Uros Bizjak
eaee446477
builtins.c (expand_builtin_int_interclass_roundingfn): New function to handle optabs that operate on floating point input argument and...
...
* builtins.c (expand_builtin_int_interclass_roundingfn): New function
to handle optabs that operate on floating point input argument and
output to integer output.
(expand_builtin_mathfn) [BUILT_IN_ILOGB]: Move from here ...
(expand_builtin_interclass_mathfn) [BUILT_IN_ILOGB]: ... to here.
(expand_builtin): Expand BUILT_IN_ILOGB{,F,L} using
expand_builtin_interclass_mathfn ().
* config/i386/i386.md (fxtractxf3_i387): Rename from *fxtractxf3_i387.
(ilogbsi2): Remove.
(ilogbxf2, ilogb<mode>2): New expanders to implement ilogb, ilogbf and
ilogbl built-in functions as x87 intrinsics.
From-SVN: r121336
2007-01-30 12:20:07 +01:00
Richard Guenther
9b1959ffca
re PR middle-end/27657 (bogus undefined reference error to static var with -g and -O)
...
2007-01-30 Richard Guenther <rguenther@suse.de>
PR middle-end/27657
* dwarf2out.c (reference_to_unused): Query varpool if the
variable was output.
* g++.dg/debug/pr27657.C: New testcase.
From-SVN: r121335
2007-01-30 10:23:01 +00:00
Richard Guenther
91851351be
re PR c/30313 (sizeof of expression including bit-field)
...
2007-01-30 Richard Guenther <rguenther@suse.de>
PR middle-end/30313
* passes.c (execute_one_pass): Reset in_gimple_form to not
confuse non-unit-at-a-time mode.
* gcc.dg/torture/pr30313.c: New testcase.
From-SVN: r121334
2007-01-30 10:17:09 +00:00
Roger Sayle
bcf52d7b57
fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT to avoid undefined behaviour on overflow.
...
* fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT to
avoid undefined behaviour on overflow. Use force_fit_type_double
to construct the constant with the specified TREE_OVERFLOW.
From-SVN: r121332
2007-01-30 04:39:59 +00:00
Kaloian Doganov
2828987879
re PR libgcj/30600 (gnu.gcj.convert.BytesToCharsetAdaptor calculates bad argument for java.nio.Buffer.limit(int))
...
2007-01-29 Kaloian Doganov <kaloian@doganov.org>
PR libgcj/30600:
* gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
'limit'.
From-SVN: r121329
2007-01-30 02:46:54 +00:00
GCC Administrator
7bef57a0bd
Daily bump.
...
From-SVN: r121325
2007-01-30 00:17:57 +00:00
Ben Elliston
5b08110801
Belated typo fix from 2007-01-02.
...
From-SVN: r121319
2007-01-30 10:06:44 +11:00
Ben Elliston
a661f85edf
* jvspec.c (lang_specific_driver): Remove unused classpath_args.
...
From-SVN: r121318
2007-01-30 10:01:42 +11:00
Janis Johnson
d9a66f98c1
decExcept.c: New.
...
libdecnumber/
* decExcept.c: New.
* decExcept.h: New.
libgcc/
* Makefile.in (dec-filenames): Add decExcept.
gcc/
* config/dfp-bit.c: Add parameterized support for fp exceptions.
* config/dfp-bit.h: Ditto.
gcc/testsuite/
* gcc.dg/dfp/dfp-except.h: New file.
* gcc.dg/dfp/fe-check.h: New file.
* gcc.dg/dfp/fe-binop.c: New test.
* gcc.dg/dfp/fe-convert-1.c: New test.
* gcc.dg/dfp/fe-convert-2.c: New test.
* gcc.dg/dfp/fe-convert-3.c: New test.
From-SVN: r121317
2007-01-29 23:01:35 +00:00
Gerald Pfeifer
5b18f33782
* crontab: No longer build snapshots for 4.0.x.
...
From-SVN: r121315
2007-01-29 22:27:12 +00:00
Kyle Galloway
3927313117
java-interp.h: Added _Jv_Frame class and its two subclasses _Jv_InterpFrame and _Jv_NativeFrame.
...
2007-01-29 Kyle Galloway <kgallowa@redhat.com>
* include/java-interp.h: Added _Jv_Frame class and its two
subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
_Jv_FrameType from java-stack.h.
* include/java-stack.h: Removed _Jv_FrameType.
* java/lang/Thread.java: Added frame member to hold new
composite frame stack.
* java/lang/Thread.h: Regenerated.
* java/lang/Thread.class: Rebuilt.
* jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
calling a JNI method.
* jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
(_Jv_JVMTI_GetFrameCount): New method.
* stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
classes.
* testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
* testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
* testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
* testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
* testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
for test.
From-SVN: r121314
2007-01-29 22:05:56 +00:00
Tom Tromey
d75bf84344
interpret.cc (run_debug): Remove comment.
...
* interpret.cc (run_debug): Remove comment.
(STOREA): Reformat.
(STOREI): Likewise.
(STOREF): Likewise.
(STOREL): Likewise.
(STORED): Likewise.
(POKEI): Likewise.
(run_normal_debug): Likewise.
(run_synch_object_debug): Likewise.
(run_class_debug): Likewise.
(run_synch_class_debug): Likewise.
(get1s): Likewise.
(get1u): Likewise.
(get2u): Likewise.
(get4): Likewise.
(NULLARRAYCHECK): Likewise.
(ARRAYBOUNDSCHECK): Likewise.
* interpret-run.cc (insn_target) <breakpoint>: Tidy.
From-SVN: r121313
2007-01-29 22:00:30 +00:00
Tom Tromey
a1c0627764
re PR java/30607 (gcj -I x -C doesn't include x as source dir search patch)
...
PR java/30607:
* jvspec.c (lang_specific_driver): Handle separate -I argument.
* lang.opt (-I): Add 'Separate'.
From-SVN: r121311
2007-01-29 21:30:10 +00:00
Manuel López-Ibáñez
c616e51b00
007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
...
* c-decl.c (pop_scope): Replace warnings with call to
warn_for_unused_label.
* c-common.h (warn_for_unused_label): Declare.
* c-common.c (warn_for_unused_label): Define.
cp/
* decl.c (pop_label): Replace warning with call to
warn_for_unused_label.
From-SVN: r121310
2007-01-29 21:05:58 +00:00
Manuel López-Ibáñez
971005966f
tree-optimize.c (update_inlined_to_pointers): Delete unused function.
...
2007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* tree-optimize.c (update_inlined_to_pointers): Delete unused
function.
From-SVN: r121309
2007-01-29 20:54:59 +00:00
Janis Johnson
b7f0fff23b
Makefile.in (USER_H): Remove decfloat.h.
...
gcc/
* Makefile.in (USER_H): Remove decfloat.h.
* ginclude/decfloat.h: Delete, moving contents to ...
* ginclude/float.h: Add support for decimal floating point,
guarded by __STDC_WANT_DEC_FP__.
gcc/testsuite/
* gcc.dg/dfp/dec-eval-method.c: Replace decfloat.h with float.h.
* gcc.dg/dfp/decfloat-constants.c: Ditto.
* gcc.dg/dfp/convert-dfp.c: Ditto.
* gcc.dg/dfp/convert-int-saturate.c: Ditto.
From-SVN: r121308
2007-01-29 20:27:41 +00:00
Mike Stump
821f6218d7
gccint.texi (Top): Rename Loop Representation to Loop Analysis and Representation to resolve case...
...
* doc/gccint.texi (Top): Rename Loop Representation to Loop
Analysis and Representation to resolve case insensitive conflict.
* doc/loop.texi (Loop Analysis and Representation): Likewise.
From-SVN: r121306
2007-01-29 20:10:33 +00:00