Commit Graph

78969 Commits

Author SHA1 Message Date
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
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