Commit Graph

68517 Commits

Author SHA1 Message Date
Hans-Peter Nilsson
39fbb17b22 cris.h (EXTRA_CONSTRAINT_T): Remove FIXME and tests for noncanonical versions of reg+constant and...
* config/cris/cris.h (EXTRA_CONSTRAINT_T): Remove FIXME and
	tests for noncanonical versions of reg+constant and
	reg+reg*{1,2,4}.

From-SVN: r99803
2005-05-17 00:07:54 +00:00
Richard Henderson
af47810aed re PR tree-optimization/21399 (libstdc++ 12077.cc ICE)
PR tree-opt/21399
        * tree-eh.c (maybe_clean_or_replace_eh_stmt): Rename from
        maybe_clean_eh_stmt; take old stmt parameter.  Update EH
        region data structure to match replacement.
        * tree-flow.h: Update to match.
        * tree-ssa-ccp.c (execute_fold_all_builtins): Likewise.
        * tree-ssa-dom.c (optimize_stmt): Likewise.
        * tree-ssa-pre.c (eliminate): Likewise.
        * tree-ssa-propagate.c (substitute_and_fold): Likewise.

Co-Authored-By: Steven Bosscher <stevenb@suse.de>

From-SVN: r99801
2005-05-16 16:14:02 -07:00
Richard Henderson
f59d2aade3 decl.c (build_library_fn_1): Move setting TREE_NOTHROW ...
* decl.c (build_library_fn_1): Move setting TREE_NOTHROW ...
        (build_library_fn): ... here.

From-SVN: r99800
2005-05-16 16:05:45 -07:00
Mark Mitchell
d7a6176efe generate-random.c (config.h): Do not include.
* gcc.dg/compat/generate-random.c (config.h): Do not include.
	(limits.h): Include unconditionally.
	(stdlib.h): Likewise.
	* gcc.dg/compat/generate-random_r.c (config.h): Do not include.
	(limits.h): Include unconditionally.
	(stdlib.h): Likewise.
	* gcc.dg/compat/struct-layout-1.exp: Do not link with libiberty.
	* gcc.dg/compat/struct-layout-1_generate.c (config.h): Do not include.
	(limits.h): Include unconditionally.
	(stdlib.h): Likewise.
	(hashtab.h): Do not include.
	(getopt.h): Likewise.
	(stddef.h): Include.
	(hashval_t): Define.
	(struct entry): Add "next" field.
	(HASH_SIZE): New macro.
	(hash_table): New variable.
	(switchfiles): Do not use xmalloc.
	(mix): New macro.
	(iterative_hash): New function.
	(hasht): Remove.
	(e_exists): New function.
	(e_insert): Likewise.
	(output): Use, instead of libiberty hashtable functions.
	(main): Do not use getopt.  Do not call htab_create.

From-SVN: r99799
2005-05-16 22:52:26 +00:00
Caroline Tice
1ad435a5d5 bb-reorder.c (verify_hot_cold_block_grouping): Replace internal_error with gcc_assert.
2005-05-16  Caroline Tice  <ctice@apple.com>

        * bb-reorder.c (verify_hot_cold_block_grouping):  Replace
        internal_error with gcc_assert.
        * dwarf2out.c (dwarf2out_switch_text_section):  Likewise.
        * function.h (struct function): Remove space between "*" and
        struct field names.
        * varasm.c (initialize_cold_section_name):   Add gcc_assert;
        modify to use alloca.
        (unlikely_text_section): Add check for flag_function_sections.
        (assemble_start_function):  Move call to resolve_section, so it
        comes before first call to unlikely_text_section.
        (assemble_end_function):  Add test and call to function_section
        if appropriate.

From-SVN: r99796
2005-05-16 14:37:01 -07:00
Tom Tromey
45535d4f3e Headers.java (parse): Include final character of line.
* gnu/java/net/protocol/http/Headers.java (parse): Include final
	character of line.

From-SVN: r99794
2005-05-16 21:00:49 +00:00
Tom Tromey
92f0ebd126 re PR libgcj/21606 (java.net.URI fails to decode lowercase hex codes)
PR libgcj/21606:
	* java/net/URI.java (unquote): Handle lower-case letters as well.

From-SVN: r99792
2005-05-16 20:27:48 +00:00
Roger Sayle
cb3b1e7090 c-common.c (c_common_truthvalue_conversion): Use fold_build2 instead of build_binary_op when...
* c-common.c (c_common_truthvalue_conversion): Use fold_build2
	instead of build_binary_op when performing code transformations
	to avoid error messages about constructs not it the user's code.

From-SVN: r99791
2005-05-16 19:40:35 +00:00
Ziga Mahkovec
4f751533e4 re PR libgcj/20504 (java.util.regex implementation doesn't support quoting constructs)
2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>

	PR libgcj/20504
	gnu/regexp/RE.java: Add support for quoting constructs.

From-SVN: r99789
2005-05-16 19:01:52 +00:00
Kazu Hirata
bbf6f1cf02 * tree-ssa-pre.c: Fix a comment typo.
From-SVN: r99787
2005-05-16 18:45:55 +00:00
Richard Henderson
5e2b4439e1 re PR target/21556 (TLS failures on 4.0 branch)
PR target/21556
        * config/ia64/ia64.md (load_dtpmod, load_ltoff_dtpmod, load_dtprel,
        load_dtprel64, load_dtprel22, load_dtprel_gd, load_ltoff_dtprel,
        add_dtprel, add_dtprel14, add_dtprel22, load_tprel, load_tprel64,
        load_tprel22, load_tprel_ie, load_ltoff_tprel, add_tprel, add_tprel14,
        add_tprel22): Remove mode from symbolic operand.

From-SVN: r99785
2005-05-16 11:22:48 -07:00
Richard Sandiford
fb664b5a2b * optc-gen.awk: Include intl.h after the externally-provided files.
From-SVN: r99783
2005-05-16 18:14:03 +00:00
Kazu Hirata
691aed8cce tree-ssa-copy.c (copy_prop_visit_assignment): Clean up by folding a COND_EXPR_COND in a nondestructive manner.
* tree-ssa-copy.c (copy_prop_visit_assignment): Clean up by
	folding a COND_EXPR_COND in a nondestructive manner.

From-SVN: r99782
2005-05-16 18:10:20 +00:00
Fariborz Jahanian
fe2d45c77f Fix vec_merge patterns for Altivec ppc.
OKed by Geoff Keating.

From-SVN: r99779
2005-05-16 15:24:09 +00:00
Kazu Hirata
7b8a92e190 tree-data-ref.c (compute_all_dependences): Change the type of dependence_relations to VEC(ddr_p,heap)**.
* tree-data-ref.c (compute_all_dependences): Change the type
	of dependence_relations to VEC(ddr_p,heap)**.
	(compute_data_dependences_for_loop): Change the type of
	allrelations to VEC(ddr_p,heap)*.

From-SVN: r99778
2005-05-16 15:18:15 +00:00
Kazu Hirata
a1bbd445e2 dwarf2out.c (used_rtx_varray): Rename to used_rtx_array.
* dwarf2out.c (used_rtx_varray): Rename to used_rtx_array.
	Change the type to VEC(rtx,gc)*.
	(mem_loc_descriptor, add_const_value_attributes,
	dwarf2out_init): Adjust uses of used_rtx_varray.

From-SVN: r99777
2005-05-16 15:11:33 +00:00
Andreas Jaeger
99e4078fec getpwd.c: Remove unneeded prototype getcwd and move getwd so that it's only declared if...
* getpwd.c: Remove unneeded prototype getcwd and move getwd so
	that it's only declared if needed.

	* getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
	defined.

From-SVN: r99775
2005-05-16 15:52:39 +02:00
Richard Sandiford
aeb70e782a Makefile.in (options.c): Tell optc-gen.awk to include config.h, system.h, coretypes.h and tm.h.
* Makefile.in (options.c): Tell optc-gen.awk to include config.h,
	system.h, coretypes.h and tm.h.
	(options.o): Update dependencies accordingly.
	* optc-gen.awk: Allow header_name to be a list of filenames.
	Handle the "Condition" flag.
	* opts.h (CL_DISABLED): New flag.
	* opts.c (handle_option): Print an error for CL_DISABLED options.
	* doc/options.texi: Document the "Condition" option flag.

From-SVN: r99774
2005-05-16 12:30:06 +00:00
Nathanael Nerode
8b37cc6429 re PR ada/20270 (Link error: unsatisfied symbols)
PR ada/20270
	* Makefile.in: Make TGT_LIB behave correctly.

From-SVN: r99773
2005-05-16 11:58:44 +00:00
Paolo Carlini
4734ffce87 install.html: Update list of required named locales, add "es_ES".
2005-05-16  Paolo Carlini  <pcarlini@suse.de>

	* docs/html/install.html: Update list of required named
	locales, add "es_ES".

From-SVN: r99769
2005-05-16 10:45:59 +00:00
Paolo Bonzini
4151978dde tree-inline.c (estimate_num_insns_1): Handle VEC_COND_EXPR.
2005-05-16  Paolo Bonzini  <bonzini@gnu.org>

	* tree-inline.c (estimate_num_insns_1): Handle VEC_COND_EXPR.

From-SVN: r99767
2005-05-16 08:43:14 +00:00
Roger Sayle
94a3e63aca tree-scalar-evolution.c (set_nb_iterations_in_loop): Only check for TREE_OVERFLOW on INTEGER_CST trees.
* tree-scalar-evolution.c (set_nb_iterations_in_loop): Only
	check for TREE_OVERFLOW on INTEGER_CST trees.
	* tree-chrec.c (chrec_convert): Only clear TREE_OVERFLOW on
	CONSTANT_CLASS_P tree nodes.

From-SVN: r99765
2005-05-16 04:36:09 +00:00
H.J. Lu
21e4385058 re PR target/21551 (ia64 bootstrap failed)
2005-05-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/21551
	* config/ia64/ia64.c (ia64_expand_move): Don't add addend twice.

From-SVN: r99760
2005-05-15 19:11:59 -07:00
Daniel Berlin
43da81be39 re PR tree-optimization/21576 (FRE does not eliminate a redundant builtin call.)
2005-05-15  Daniel Berlin  <dberlin@dberlin.org>

	Fix PR tree-optimization/21576

	* tree-ssa-pre.c (expression_node_pool): New pool.
	(comparison_node_pool): Ditto.
	(list_node_pool): Ditto.
	(pool_copy_list): New function.
	(phi_translate): Handle CALL_EXPR.
	(valid_in_set): Ditto.
	(create_expression_by_pieces): Ditto.
	(insert_into_preds_of_block): Ditto.
	(insert_aux): Ditto.
	(compute_avail): Ditto.
	(create_value_expr_from): Handle TREE_LIST and CALL_EXPR.
	(can_value_number_call): New function.
	(find_leader): Update comment.
	(init_pre): Create new pools.
	(fini_pre): Free new pools.
	(pass_pre): Add TODO_update_ssa for the future when we are going
	to need vops.
	* tree-vn.c (expressions_equal_p): Handle TREE_LIST.
	(set_value_handle): Ditto.
	(get_value_handle): Ditto.

From-SVN: r99759
2005-05-16 01:12:07 +00:00
David Billinghurst
cea02b6e7e re PR libstdc++/21526 (libstdc++-v3 testsuite hangs on cygwin)
2005-05-16  David Billinghurst <David.Billinghurst@riotinto.com>

	PR libstdc++/21526
	* lib/target-supports.exp (check_mkfifo_available):
	Return 0 for cygwin as mkfifo support incomplete on platform.
	Fix typos in comments.

From-SVN: r99757
2005-05-16 00:51:38 +00:00
GCC Administrator
687d386c7f Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r99755.2
2005-05-16 00:16:22 +00:00
Mark Mitchell
0fc0b3973d Fix another typo
From-SVN: r99750
2005-05-15 22:51:59 +00:00
Mark Mitchell
e8bcfe5330 Fix typo in previous checkin
From-SVN: r99749
2005-05-15 22:35:39 +00:00
Mark Mitchell
0c0387e757 Fix typo in previous checkin
From-SVN: r99748
2005-05-15 22:33:49 +00:00
Mark Mitchell
5595de0fa4 * lib/compat.exp (compat-execute): Do not use regsub unsafely.
From-SVN: r99747
2005-05-15 22:31:35 +00:00
Tom Tromey
3b523c85c1 * java/lang/String.java (startsWith): Fixed javadoc.
From-SVN: r99746
2005-05-15 21:09:45 +00:00
Gerald Pfeifer
d7f35e4832 jcf-write.c (generate_bytecode_insns): Remove unused variable.
* jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Remove
	unused variable.

From-SVN: r99745
2005-05-15 20:03:57 +00:00
Tom Tromey
5dbf7c2a45 reverted erroneous checkin
From-SVN: r99742
2005-05-15 18:31:26 +00:00
Richard Earnshaw
6e60504feb * arm.c (thumb_unexpanded_epilogue): Delete unused variable 'mode'.
From-SVN: r99741
2005-05-15 18:29:32 +00:00
Gabriel Dos Reis
03a9fcb862 fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
* fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
        * server.c (load_data): Likewise.
        (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
        * fixincl.c: #include <sys/wait.h>
        (run_compiles): Use XCNEWVEC instead of xcalloc.
        (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
        * fixfixes.c (FIX_PROC_HEAD, main): Likewise.

From-SVN: r99740
2005-05-15 18:28:36 +00:00
Tom Tromey
b4220f64e3 re PR java/21519 (ICE in generate_bytecode_conditional, at java/jcf-write.c:1337)
gcc/java:
	PR java/21519:
	* jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Don't call
	NOTE_PUSH.
libjava:
	PR java/21519:
	* testsuite/libjava.compile/pr21519.java: New file.
	* testsuite/libjava.compile/pr21519.no-link: New file.

From-SVN: r99739
2005-05-15 18:28:29 +00:00
Daniel Jacobowitz
dfb2c39a99 * ylwrap: Import from Automake 1.9.5.
From-SVN: r99738
2005-05-15 18:17:10 +00:00
Andreas Jaeger
766643be53 * functions.texi: Regenerated.
From-SVN: r99737
2005-05-15 19:40:00 +02:00
Andreas Jaeger
e15bb31bb6 ChangeLog
From-SVN: r99736
2005-05-15 19:39:35 +02:00
Andreas Jaeger
d842a495a5 Forgotten commit.
From-SVN: r99735
2005-05-15 19:33:14 +02:00
Tom Tromey
55c15dfc9d * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
From-SVN: r99733
2005-05-15 17:07:20 +00:00
Andreas Jaeger
099ff66cd2 * gcc.c (pfatal_pexecute): Remove unused local function.
From-SVN: r99732
2005-05-15 19:06:19 +02:00
Daniel Berlin
2acf977b18 As discussed on ML, test is no longer useful
From-SVN: r99731
2005-05-15 17:05:52 +00:00
Eli Zaretskii
a37103a431 fopen_unlocked.c: Enclose multi-word data types in @deftypefn in braces.
2005-05-15  Eli Zaretskii  <eliz@gnu.org>

	* fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
	braces.

From-SVN: r99729
2005-05-15 18:36:40 +02:00
Eli Zaretskii
2b8366517d pexecute.txh: Enclose multi-word data types in @deftypefn in braces.
2005-05-15  Eli Zaretskii  <eliz@gnu.org>

	* pexecute.txh: Enclose multi-word data types in @deftypefn in
	braces.  Minor wording fixes.  Use --- for em-dash.  Use
	@enumerate in enumerated lists.

From-SVN: r99728
2005-05-15 18:35:44 +02:00
Andreas Jaeger
7672ae2082 eoshift1.m4: Initialize variables to avoid warnings.
* m4/eoshift1.m4: Initialize variables to avoid warnings.
	* m4/eoshift3.m4: Initialize variables to avoid warnings.
	* generated/eoshift1_4.c, generated/eoshift1_8.c,
	generated/eoshift3_4.c, generated/eoshift3_8.c: Regenerated.

	* intrinsics/spread_generic.c (spread): Initialize variables to
	avoid warnings.

	* intrinsics/eoshift0.c (eoshift0): Initialize variables to avoid
	warnings.
	* intrinsics/eoshift2.c (eoshift2): Initialize variables to avoid
	warnings.

	* io/list_read.c (nml_get_obj_data): Initialize variables to avoid
	warnings.

From-SVN: r99726
2005-05-15 17:50:09 +02:00
Andreas Jaeger
7d3cdba142 * aclocal.m4: Regenerated.
From-SVN: r99724
2005-05-15 17:38:21 +02:00
Andreas Jaeger
e606fb399e pack_generic.c (pack): Remove unneeded calculation.
* intrinsics/pack_generic.c (pack): Remove unneeded calculation.

	* m4/matmull.m4 (matmul_): Remove unneeded calculations, fix
	pointer cast to avoid warning.
	* generated/matmul_l4.c: Regenerated.
	* generated/matmul_l8.c: Regenerated.

	* Makefile.am: Remove AM_CFLAGS here.
	* configure.ac: Define AM_CFLAGS and AM_FCFLAGS so that warnings
	are set.  Set additionally -Wstrict-prototypes for CFLAGS.
	* Makefile.in: Regenerated
	* configure: Regenerated.

From-SVN: r99723
2005-05-15 17:37:18 +02:00
Andreas Jaeger
6b0215364d system_clock.c (system_clock_4, [...]): Add missing returns, reformat a bit.
* intrinsics/system_clock.c (system_clock_4, system_clock_8): Add
	missing returns, reformat a bit.

	* io/write.c (nml_write_obj): Use %d again - and cast to int,
	st_sprintf does not handle %ld.

From-SVN: r99722
2005-05-15 17:33:12 +02:00
Andreas Jaeger
944e86ee09 unit.c (is_internal_unit): Add void as parameter list.
* io/unit.c (is_internal_unit): Add void as parameter list.

	* io/transfer.c: Move prototype declarations before the functions.

From-SVN: r99721
2005-05-15 15:25:19 +02:00