gcc.git
19 years agocris.h (EXTRA_CONSTRAINT_T): Remove FIXME and tests for noncanonical versions of...
Hans-Peter Nilsson [Tue, 17 May 2005 00:07:54 +0000 (00:07 +0000)]
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

19 years agore PR tree-optimization/21399 (libstdc++ 12077.cc ICE)
Richard Henderson [Mon, 16 May 2005 23:14:02 +0000 (16:14 -0700)]
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

19 years agodecl.c (build_library_fn_1): Move setting TREE_NOTHROW ...
Richard Henderson [Mon, 16 May 2005 23:05:45 +0000 (16:05 -0700)]
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

19 years agogenerate-random.c (config.h): Do not include.
Mark Mitchell [Mon, 16 May 2005 22:52:26 +0000 (22:52 +0000)]
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

19 years agobb-reorder.c (verify_hot_cold_block_grouping): Replace internal_error with gcc_assert.
Caroline Tice [Mon, 16 May 2005 21:37:01 +0000 (21:37 +0000)]
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

19 years agoHeaders.java (parse): Include final character of line.
Tom Tromey [Mon, 16 May 2005 21:00:49 +0000 (21:00 +0000)]
Headers.java (parse): Include final character of line.

* gnu/java/net/protocol/http/Headers.java (parse): Include final
character of line.

From-SVN: r99794

19 years agore PR libgcj/21606 (java.net.URI fails to decode lowercase hex codes)
Tom Tromey [Mon, 16 May 2005 20:27:48 +0000 (20:27 +0000)]
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

19 years agoc-common.c (c_common_truthvalue_conversion): Use fold_build2 instead of build_binary_...
Roger Sayle [Mon, 16 May 2005 19:40:35 +0000 (19:40 +0000)]
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

19 years agore PR libgcj/20504 (java.util.regex implementation doesn't support quoting constructs)
Ziga Mahkovec [Mon, 16 May 2005 19:01:52 +0000 (21:01 +0200)]
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

19 years ago* tree-ssa-pre.c: Fix a comment typo.
Kazu Hirata [Mon, 16 May 2005 18:45:55 +0000 (18:45 +0000)]
* tree-ssa-pre.c: Fix a comment typo.

From-SVN: r99787

19 years agore PR target/21556 (TLS failures on 4.0 branch)
Richard Henderson [Mon, 16 May 2005 18:22:48 +0000 (11:22 -0700)]
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

19 years ago* optc-gen.awk: Include intl.h after the externally-provided files.
Richard Sandiford [Mon, 16 May 2005 18:14:03 +0000 (18:14 +0000)]
* optc-gen.awk: Include intl.h after the externally-provided files.

From-SVN: r99783

19 years agotree-ssa-copy.c (copy_prop_visit_assignment): Clean up by folding a COND_EXPR_COND...
Kazu Hirata [Mon, 16 May 2005 18:10:20 +0000 (18:10 +0000)]
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

19 years agoFix vec_merge patterns for Altivec ppc.
Fariborz Jahanian [Mon, 16 May 2005 15:24:09 +0000 (15:24 +0000)]
Fix vec_merge patterns for Altivec ppc.

OKed by Geoff Keating.

From-SVN: r99779

19 years agotree-data-ref.c (compute_all_dependences): Change the type of dependence_relations...
Kazu Hirata [Mon, 16 May 2005 15:18:15 +0000 (15:18 +0000)]
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

19 years agodwarf2out.c (used_rtx_varray): Rename to used_rtx_array.
Kazu Hirata [Mon, 16 May 2005 15:11:33 +0000 (15:11 +0000)]
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

19 years agogetpwd.c: Remove unneeded prototype getcwd and move getwd so that it's only declared...
Andreas Jaeger [Mon, 16 May 2005 13:52:39 +0000 (15:52 +0200)]
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

19 years agoMakefile.in (options.c): Tell optc-gen.awk to include config.h, system.h, coretypes...
Richard Sandiford [Mon, 16 May 2005 12:30:06 +0000 (12:30 +0000)]
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

19 years agore PR ada/20270 (Link error: unsatisfied symbols)
Nathanael Nerode [Mon, 16 May 2005 11:58:44 +0000 (11:58 +0000)]
re PR ada/20270 (Link error: unsatisfied symbols)

PR ada/20270
* Makefile.in: Make TGT_LIB behave correctly.

From-SVN: r99773

19 years agoinstall.html: Update list of required named locales, add "es_ES".
Paolo Carlini [Mon, 16 May 2005 10:45:59 +0000 (10:45 +0000)]
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

19 years agotree-inline.c (estimate_num_insns_1): Handle VEC_COND_EXPR.
Paolo Bonzini [Mon, 16 May 2005 08:43:14 +0000 (08:43 +0000)]
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

19 years agotree-scalar-evolution.c (set_nb_iterations_in_loop): Only check for TREE_OVERFLOW...
Roger Sayle [Mon, 16 May 2005 04:36:09 +0000 (04:36 +0000)]
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

19 years agore PR target/21551 (ia64 bootstrap failed)
H.J. Lu [Mon, 16 May 2005 02:11:59 +0000 (02:11 +0000)]
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

19 years agore PR tree-optimization/21576 (FRE does not eliminate a redundant builtin call.)
Daniel Berlin [Mon, 16 May 2005 01:12:07 +0000 (01:12 +0000)]
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

19 years agore PR libstdc++/21526 (libstdc++-v3 testsuite hangs on cygwin)
David Billinghurst [Mon, 16 May 2005 00:51:38 +0000 (00:51 +0000)]
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

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

[[Split portion of a mixed commit.]]

From-SVN: r99755.2

19 years agoFix another typo
Mark Mitchell [Sun, 15 May 2005 22:51:59 +0000 (22:51 +0000)]
Fix another typo

From-SVN: r99750

19 years agoFix typo in previous checkin
Mark Mitchell [Sun, 15 May 2005 22:35:39 +0000 (22:35 +0000)]
Fix typo in previous checkin

From-SVN: r99749

19 years agoFix typo in previous checkin
Mark Mitchell [Sun, 15 May 2005 22:33:49 +0000 (22:33 +0000)]
Fix typo in previous checkin

From-SVN: r99748

19 years ago* lib/compat.exp (compat-execute): Do not use regsub unsafely.
Mark Mitchell [Sun, 15 May 2005 22:31:35 +0000 (22:31 +0000)]
* lib/compat.exp (compat-execute): Do not use regsub unsafely.

From-SVN: r99747

19 years ago* java/lang/String.java (startsWith): Fixed javadoc.
Tom Tromey [Sun, 15 May 2005 21:09:45 +0000 (21:09 +0000)]
* java/lang/String.java (startsWith): Fixed javadoc.

From-SVN: r99746

19 years agojcf-write.c (generate_bytecode_insns): Remove unused variable.
Gerald Pfeifer [Sun, 15 May 2005 20:03:57 +0000 (20:03 +0000)]
jcf-write.c (generate_bytecode_insns): Remove unused variable.

* jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Remove
unused variable.

From-SVN: r99745

19 years agoreverted erroneous checkin
Tom Tromey [Sun, 15 May 2005 18:31:26 +0000 (18:31 +0000)]
reverted erroneous checkin

From-SVN: r99742

19 years ago* arm.c (thumb_unexpanded_epilogue): Delete unused variable 'mode'.
Richard Earnshaw [Sun, 15 May 2005 18:29:32 +0000 (18:29 +0000)]
* arm.c (thumb_unexpanded_epilogue): Delete unused variable 'mode'.

From-SVN: r99741

19 years agofixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
Gabriel Dos Reis [Sun, 15 May 2005 18:28:36 +0000 (18:28 +0000)]
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

19 years agore PR java/21519 (ICE in generate_bytecode_conditional, at java/jcf-write.c:1337)
Tom Tromey [Sun, 15 May 2005 18:28:29 +0000 (18:28 +0000)]
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

19 years ago* ylwrap: Import from Automake 1.9.5.
Daniel Jacobowitz [Sun, 15 May 2005 18:17:10 +0000 (18:17 +0000)]
* ylwrap: Import from Automake 1.9.5.

From-SVN: r99738

19 years ago* functions.texi: Regenerated.
Andreas Jaeger [Sun, 15 May 2005 17:40:00 +0000 (19:40 +0200)]
* functions.texi: Regenerated.

From-SVN: r99737

19 years agoChangeLog
Andreas Jaeger [Sun, 15 May 2005 17:39:35 +0000 (19:39 +0200)]
ChangeLog

From-SVN: r99736

19 years agoForgotten commit.
Andreas Jaeger [Sun, 15 May 2005 17:33:14 +0000 (19:33 +0200)]
Forgotten commit.

From-SVN: r99735

19 years ago* stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
Tom Tromey [Sun, 15 May 2005 17:07:20 +0000 (17:07 +0000)]
* stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.

From-SVN: r99733

19 years ago* gcc.c (pfatal_pexecute): Remove unused local function.
Andreas Jaeger [Sun, 15 May 2005 17:06:19 +0000 (19:06 +0200)]
* gcc.c (pfatal_pexecute): Remove unused local function.

From-SVN: r99732

19 years agoAs discussed on ML, test is no longer useful
Daniel Berlin [Sun, 15 May 2005 17:05:52 +0000 (17:05 +0000)]
As discussed on ML, test is no longer useful

From-SVN: r99731

19 years agofopen_unlocked.c: Enclose multi-word data types in @deftypefn in braces.
Eli Zaretskii [Sun, 15 May 2005 16:36:40 +0000 (18:36 +0200)]
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

19 years agopexecute.txh: Enclose multi-word data types in @deftypefn in braces.
Eli Zaretskii [Sun, 15 May 2005 16:35:44 +0000 (18:35 +0200)]
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

19 years agoeoshift1.m4: Initialize variables to avoid warnings.
Andreas Jaeger [Sun, 15 May 2005 15:50:09 +0000 (17:50 +0200)]
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

19 years ago* aclocal.m4: Regenerated.
Andreas Jaeger [Sun, 15 May 2005 15:38:21 +0000 (17:38 +0200)]
* aclocal.m4: Regenerated.

From-SVN: r99724

19 years agopack_generic.c (pack): Remove unneeded calculation.
Andreas Jaeger [Sun, 15 May 2005 15:37:18 +0000 (17:37 +0200)]
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

19 years agosystem_clock.c (system_clock_4, [...]): Add missing returns, reformat a bit.
Andreas Jaeger [Sun, 15 May 2005 15:33:12 +0000 (17:33 +0200)]
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

19 years agounit.c (is_internal_unit): Add void as parameter list.
Andreas Jaeger [Sun, 15 May 2005 13:25:19 +0000 (15:25 +0200)]
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

19 years agoRemove extra whitespace.
Andreas Jaeger [Sun, 15 May 2005 12:49:45 +0000 (14:49 +0200)]
Remove extra whitespace.

From-SVN: r99720

19 years agonormalize.c (almostone_r4, [...]): Fix parameter list.
Andreas Jaeger [Sun, 15 May 2005 12:44:42 +0000 (14:44 +0200)]
normalize.c (almostone_r4, [...]): Fix parameter list.

* runtime/normalize.c (almostone_r4, almostone_r8): Fix parameter
list.

* intrinsics/random.c (KISS_DEFAULT_SEED): Remove extra semicolon.

* io/transfer.c: Do not use empty initializers for global objects.
Add missing initializers.

* io/lock.c: Do not use empty initializers for global objects.

* io/close.c: Add missing initializers.

* runtime/environ.c: Add missing initializers. Do not use empty
initializers for global object.
(init_string): Mark argument as unused.

* runtime/main.c (cleanup): Fix parameter list.

* io/io.h: Fix parameter lists.

* m4/transpose.m4, m4/matmul.m4: Fix pointer cast to avoid
warning.

* generated/transpose_c4.c, generated/transpose_c8.c,
generated/transpose_i4.c, generated/transpose_i8.c,
generated/matmul_c4.c, generated/matmul_c8.c,
generated/matmul_i4.c, generated/matmul_i8.c,
generated/matmul_r4.c, generated/matmul_r8.c: Regenerated.

* io/write.c (nml_write_obj): Fix 64-bit problem.

* io/list_read.c (nml_get_obj_data): Add missing braces around
initializer to avoid warnings.

* intrinsics/etime.c (etime_sub): Remove unused variable.

From-SVN: r99719

19 years agochdir.c, [...]: Include <string.h> for prototypes.
Andreas Jaeger [Sun, 15 May 2005 08:25:52 +0000 (10:25 +0200)]
chdir.c, [...]: Include <string.h> for prototypes.

* intrinsics/chdir.c, intrinsics/getlog.c, intrinsics/link.c,
intrinsics/symlnk.c, intrinsics/perror.c: Include <string.h> for
prototypes.

* runtime/string.c (compare0): Remove unused variable.
* io/unit.c (init_units): Remove unused variables.
* intrinsics/getcwd.c (getcwd_i4_sub): Remove unused variable.
* intrinsics/unlink.c (unlink_i4_sub): Remove unused variable.
* intrinsics/stat.c (stat_i4_sub, fstat_i8_sub, fstat_i4_sub,
stat_i8_sub): Remove unused variable.

From-SVN: r99716

19 years ago* opth-gen.awk: Remove excess indentation.
Richard Sandiford [Sun, 15 May 2005 08:16:01 +0000 (08:16 +0000)]
* opth-gen.awk: Remove excess indentation.

From-SVN: r99715

19 years ago* optc-gen.awk: Remove excess indentation.
Richard Sandiford [Sun, 15 May 2005 08:10:10 +0000 (08:10 +0000)]
* optc-gen.awk: Remove excess indentation.

From-SVN: r99714

19 years ago[multiple changes]
Feng Wang [Sun, 15 May 2005 02:45:29 +0000 (02:45 +0000)]
[multiple changes]

2005-05-15  Feng Wang <fengwang@nudt.edu.cn>
        Jerry DeLisle <jvdelisle@verizon.net>

        PR fortran/17432
        * trans-stmt.c (gfc_trans_label_assign): fix pointer type, to
        resolve ICE on assign of format label.
        * trans-io.c (set_string): add fold-convert to properly
        handle assigned format label in write.

2005-05-15  Jerry DeLisle <jvdelisle@verizon.net>

        PR fortran/17432
        * gfortran.dg/assign_4.f: New test.

From-SVN: r99711

19 years agosh.c (sh_output_mi_thunk): Check cfun->cfg instead of basic_block_info.
Kaz Kojima [Sun, 15 May 2005 02:02:58 +0000 (02:02 +0000)]
sh.c (sh_output_mi_thunk): Check cfun->cfg instead of basic_block_info.

* config/sh/sh.c (sh_output_mi_thunk): Check cfun->cfg instead
of basic_block_info.  Call init_flow and find_basic_blocks
before dbr_schedule if needed.

From-SVN: r99710

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

[[Split portion of a mixed commit.]]

From-SVN: r99708.2

19 years agore PR tree-optimization/21563 (A trivial VRP opportunity missed)
Kazu Hirata [Sat, 14 May 2005 20:32:59 +0000 (20:32 +0000)]
re PR tree-optimization/21563 (A trivial VRP opportunity missed)

gcc/
PR tree-optimization/21563
* tree-vrp.c (compare_value): Return boolean_false_node when
SSA_NAME in "if (SSA_NAME == CST)" is strictly smaller than or
strictly larger than CST.

testsuite/
PR tree-optimization/21563
* gcc.dg/tree-ssa/pr21563.c: New.

From-SVN: r99705

19 years agotree-optimize.c (init_tree_optimization_passes): Move pass_cd_dce in place of the...
Kazu Hirata [Sat, 14 May 2005 20:22:58 +0000 (20:22 +0000)]
tree-optimize.c (init_tree_optimization_passes): Move pass_cd_dce in place of the last pass_dce.

* tree-optimize.c (init_tree_optimization_passes): Move
pass_cd_dce in place of the last pass_dce.

From-SVN: r99704

19 years agovax.c: (print_operand_address) Use gcc_unreachable() and gcc_assert().
Nathan Sidwell [Sat, 14 May 2005 18:08:20 +0000 (18:08 +0000)]
vax.c: (print_operand_address) Use gcc_unreachable() and gcc_assert().

* config/vax/vax.c: (print_operand_address) Use gcc_unreachable() and
gcc_assert().
(rev_cond_name) Likewise.
(vax_float_literal) Likewise.
* config/vax/vax.md: Likewise.

Co-Authored-By: Jan-Benedict Glaw <jbglaw@lug-owl.de>
From-SVN: r99703

19 years agovax.md: define_constant VAXens AP...
Jan-Benedict Glaw [Sat, 14 May 2005 17:55:33 +0000 (17:55 +0000)]
vax.md: define_constant VAXens AP...

* config/vax/vax.md: define_constant VAXens AP, FP, SP and PC
registers and use them (specifically the stack pointer).
* config/vax/vax.h: Use above defines right here.

From-SVN: r99702

19 years agovax.c: (override_options) Remove 'register' keyword.
Jan-Benedict Glaw [Sat, 14 May 2005 17:50:00 +0000 (17:50 +0000)]
vax.c: (override_options) Remove 'register' keyword.

* config/vax/vax.c: (override_options) Remove 'register' keyword.
(split_quadword_operands) Likewise. (rev_cond_name) Likewise.
(vax_float_literal) Likewise. (vax_rtx_costs) Remove trailing
whitespace.
* config/vax/vax.h: Remove 'register' keyword. Misc. whitespace fixes,
mostly removal of trailing spaces...
* config/vax/vax-modes.def: Remove trailing whitespace.

From-SVN: r99701

19 years ago* config/vax/elf.h: Update whitespace.
Jan-Benedict Glaw [Sat, 14 May 2005 17:38:46 +0000 (17:38 +0000)]
* config/vax/elf.h: Update whitespace.

From-SVN: r99700

19 years agorevert: fold-const.c (fold_indirect_ref_1): Avoid removing NOP_EXPRs with type qualif...
Richard Guenther [Sat, 14 May 2005 15:42:01 +0000 (15:42 +0000)]
revert: fold-const.c (fold_indirect_ref_1): Avoid removing NOP_EXPRs with type qualifiers like const.

2005-05-14  Richard Guenther  <rguenth@gcc.gnu.org>

  Revert
  2005-05-11  Richard Guenther  <rguenth@gcc.gnu.org>
  * fold-const.c (fold_indirect_ref_1): Avoid removing
  NOP_EXPRs with type qualifiers like const.

From-SVN: r99699

19 years agoPatch by Richard Henderson:
Jan Hubicka [Sat, 14 May 2005 14:32:39 +0000 (16:32 +0200)]
Patch by Richard Henderson:

* tree-eh.c (tree_can_throw_internal, tree_can_throw_external):
Handle RESX expressions properly.

From-SVN: r99698

19 years agotree-eh.c (record_stmt_eh_region): Use add_stmt_to_eh_region.
Jan Hubicka [Sat, 14 May 2005 14:27:09 +0000 (16:27 +0200)]
tree-eh.c (record_stmt_eh_region): Use add_stmt_to_eh_region.

* tree-eh.c (record_stmt_eh_region): Use add_stmt_to_eh_region.
(add_stmt_to_eh_region_fn): Nest into CALL_EXPR.
(remove_stmt_from_eh_region_fn): Likewise.

From-SVN: r99697

19 years agotree-cfg.c (execute_warn_function_return): Break out noreturn warning too..
Jan Hubicka [Sat, 14 May 2005 14:24:49 +0000 (16:24 +0200)]
tree-cfg.c (execute_warn_function_return): Break out noreturn warning too..

* tree-cfg.c (execute_warn_function_return): Break out noreturn
warning too..
(execute_warn_function_noreturn): ... here.
(pass_warn_function_noreturn): New pass.
* tree-pass.h (pass_warn_function_noreturn): Declare
* tree-optimize.c (init_tree_optimization_passes): Move return
warnings early and add noreturn warnings at place of previous
return warnings.

From-SVN: r99696

19 years agotree-ssa-live.c (tpa_init, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Sat, 14 May 2005 13:05:37 +0000 (13:05 +0000)]
tree-ssa-live.c (tpa_init, [...]): Use VEC instead of VARRAY.

* tree-ssa-live.c (tpa_init, tpa_delete, tpa_compact,
root_var_init, type_var_init): Use VEC instead of VARRAY.
* tree-ssa-live.h (tree_partition_associator_d): Change the
type of trees to VEC(tree,heap)*.
(tpa_tree): Use VEC instead of VARRAY.

From-SVN: r99695

19 years agofold-const.c (div_if_zero_remainder): New function.
Richard Guenther [Sat, 14 May 2005 12:53:20 +0000 (12:53 +0000)]
fold-const.c (div_if_zero_remainder): New function.

2005-05-14  Richard Guenther  <rguenth@gcc.gnu.org>

* fold-const.c (div_if_zero_remainder): New function.
(try_move_mult_to_index): Use it.

* g++.dg/tree-ssa/tmmti-2.C: New testcase.

From-SVN: r99694

19 years agotree-eh.c (leh_tf_state): Change the type of dest_array to VEC(tree,heap)*.
Kazu Hirata [Sat, 14 May 2005 03:25:44 +0000 (03:25 +0000)]
tree-eh.c (leh_tf_state): Change the type of dest_array to VEC(tree,heap)*.

* tree-eh.c (leh_tf_state): Change the type of dest_array to
VEC(tree,heap)*.
(maybe_record_in_goto_queue, lower_try_finally_onedest,
lower_try_finally_copy, lower_try_finally_switch,
lower_try_finally): Use VEC instead of VARRAY.

From-SVN: r99693

19 years agocris.h (Node: Register Classes): Remove obsoleted comment regarding defined register...
Hans-Peter Nilsson [Sat, 14 May 2005 02:33:25 +0000 (02:33 +0000)]
cris.h (Node: Register Classes): Remove obsoleted comment regarding defined register classes.

* config/cris/cris.h (Node: Register Classes): Remove obsoleted
comment regarding defined register classes.
(LEGITIMIZE_RELOAD_ADDRESS): Do not define.

From-SVN: r99692

19 years agotree-optimize.c (init_tree_optimization_passes): Move pass_merge_phi before the first...
Kazu Hirata [Sat, 14 May 2005 00:46:12 +0000 (00:46 +0000)]
tree-optimize.c (init_tree_optimization_passes): Move pass_merge_phi before the first pass_dominator.

* tree-optimize.c (init_tree_optimization_passes): Move
pass_merge_phi before the first pass_dominator.

From-SVN: r99691

19 years agore PR libgcj/21557 (Hash synchronization: Thread.interrupt() can make _Jv_MonitorEnte...
Bryce McKinlay [Sat, 14 May 2005 00:42:46 +0000 (00:42 +0000)]
re PR libgcj/21557 (Hash synchronization: Thread.interrupt() can make _Jv_MonitorEnter hang)

2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>

PR libgcj/21557
* java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
interrupt status flag if _Jv_CondWait is interrupted.

From-SVN: r99687

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

[[Split portion of a mixed commit.]]

From-SVN: r99684.2

19 years agoarm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache unconditional.
Richard Earnshaw [Fri, 13 May 2005 21:56:58 +0000 (21:56 +0000)]
arm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache unconditional.

* arm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache
unconditional.

From-SVN: r99680

19 years agoarm.c (arm_size_return_regs): New.
Josh Conner [Fri, 13 May 2005 21:13:17 +0000 (21:13 +0000)]
arm.c (arm_size_return_regs): New.

2005-05-13  Josh Conner  <jconner@apple.com>

* config/arm/arm.c (arm_size_return_regs): New.
(thumb_unexpanded_epilogue): replace in-line calculation
of return registers with call to arm_size_return_regs.
(use_return_insn): Include test of which registers are
being used to hold return values, to accommodate
vector return values.

From-SVN: r99679

19 years agoSystemClassLoader.java (init): Handle empty element in path.
Tom Tromey [Fri, 13 May 2005 20:20:56 +0000 (20:20 +0000)]
SystemClassLoader.java (init): Handle empty element in path.

* gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
element in path.

From-SVN: r99676

19 years agosysv4.opt (mlittle): Handle.
Aldy Hernandez [Fri, 13 May 2005 19:52:39 +0000 (19:52 +0000)]
sysv4.opt (mlittle): Handle.

* config/rs6000/sysv4.opt (mlittle): Handle.

* config/rs6000/rs6000.c (rs6000_handle_option): Set
target_flags_explicit when appropriate.

From-SVN: r99675

19 years agore PR middle-end/20714 (emit_no_conflict_block does invalid reordering)
J"orn Rennecke [Fri, 13 May 2005 18:22:57 +0000 (18:22 +0000)]
re PR middle-end/20714 (emit_no_conflict_block does invalid reordering)

PR middle-end/20714:
* optabs.c (no_conflict_data): New struct.
(no_conflict_move_test): New function.
(emit_no_conflict_block): Use it.

From-SVN: r99674

19 years agoinvoke.texi (Debugging Options): Option -fdump-translation-unit only works with C...
Adam Nemet [Fri, 13 May 2005 17:51:16 +0000 (17:51 +0000)]
invoke.texi (Debugging Options): Option -fdump-translation-unit only works with C++ now.

* doc/invoke.texi (Debugging Options): Option
-fdump-translation-unit only works with C++ now.

From-SVN: r99673

19 years ago20041218-2.c: Add __attribute__((packed)).
Julian Brown [Fri, 13 May 2005 17:34:45 +0000 (17:34 +0000)]
20041218-2.c: Add __attribute__((packed)).

* gcc.c-torture/execute/20041218-2.c: Add __attribute__((packed)).
* gcc.dg/intmax_t-1.c: Disable on *arm*-*-*elf*.

From-SVN: r99672

19 years agoCorrect mixup in last entry
Hans-Peter Nilsson [Fri, 13 May 2005 17:09:56 +0000 (17:09 +0000)]
Correct mixup in last entry

From-SVN: r99670

19 years agoReplace calls to abort in CRIS port.
Hans-Peter Nilsson [Fri, 13 May 2005 17:08:29 +0000 (17:08 +0000)]
Replace calls to abort in CRIS port.

* config/cris/cris.h (CRIS_ASSERT): New macro.
* config/cris/cris.md ("*movsi_internal"): Use CRIS_ASSERT and
internal_error instead of abort.
("movsi"): Ditto.  Unquote preparation statement section.
* config/cris/cris.c (ASSERT_PLT_UNSPEC): Define in terms of
CRIS_ASSERT.
("call", "call_value"): Ditto, but use gcc_assert where
appropriate.  Tweak comments.
(cris_op_str): Call internal_error, not abort.
(cris_print_operand): Tweak "abort" reference to "die" in comment.
(cris_initial_elimination_offset): Call gcc_unreachable, not abort.
(cris_notice_update_cc): Call internal_error, not abort.
(cris_expand_return, cris_expand_prologue, cris_gen_movem_load)
(cris_emit_movem_store, cris_asm_output_symbol_ref)
(cris_output_addr_const_extra): Use CRIS_ASSERT, don't call abort.
(cris_symbol, cris_got_symbol): Use CRIS_ASSERT instead of
ENABLE_CHECKING-guarded abort call.
(cris_split_movdx): Use CRIS_ASSERT instead of abort with test.
Use internal_error at end of test-chain.

From-SVN: r99669

19 years agore PR rtl-optimization/20769 (bt-load.c doesn't take nonlocal gotos into account.)
J"orn Rennecke [Fri, 13 May 2005 16:56:11 +0000 (16:56 +0000)]
re PR rtl-optimization/20769 (bt-load.c doesn't take nonlocal gotos into account.)

PR rtl-optimization/20769:
* bt-load.c (compute_defs_uses_and_gen): Check for the blockage
pattern emitted by expand_nl_goto_receiver.

PR middle-end/20793:
* integrate.c (allocate_initial_values): Update register liveness
information.

From-SVN: r99668

19 years ago* arm.c (arm_return_in_memory): Add handling for vector return types.
Josh Conner [Fri, 13 May 2005 16:44:16 +0000 (16:44 +0000)]
* arm.c (arm_return_in_memory): Add handling for vector return types.

From-SVN: r99666

19 years agomips.h (processor_type): Add new PROCESSOR_4KP name.
David Ung [Fri, 13 May 2005 15:24:35 +0000 (15:24 +0000)]
mips.h (processor_type): Add new PROCESSOR_4KP name.

* config/mips/mips.h (processor_type): Add new PROCESSOR_4KP
name.
* config/mips/mips.c: Add 4km alias.
* config/mips/mips.md: Add 4kp to cpu attrib and include 4k.md.
* config/mips/4k.md: New file, add 4Kc/4Kp DFA pipeline
description.

From-SVN: r99664

19 years ago1.cc: Use initialization instead of copying as the string is used only once.
Magnus Fromreide [Fri, 13 May 2005 15:24:30 +0000 (17:24 +0200)]
1.cc: Use initialization instead of copying as the string is used only once.

2005-05-13  Magnus Fromreide  <magfr@lysator.liu.se>

* testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
initialization instead of copying as the string is used only once.
* testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.

From-SVN: r99663

19 years ago* MAINTAINERS (Write After Approval): Add self.
David Ung [Fri, 13 May 2005 15:21:49 +0000 (15:21 +0000)]
* MAINTAINERS (Write After Approval): Add self.

From-SVN: r99662

19 years agotrans-stmt.c (gfc_trans_forall_1): Fix comment typo.
Paul Brook [Fri, 13 May 2005 14:34:29 +0000 (14:34 +0000)]
trans-stmt.c (gfc_trans_forall_1): Fix comment typo.

2005-05-13  Paul Brook  <paul@codesourcery.com>

* trans-stmt.c (gfc_trans_forall_1): Fix comment typo.

From-SVN: r99660

19 years agoc-decl.c (finish_function): Suppress "control reaches end of non-void function" when...
Jan Hubicka [Fri, 13 May 2005 14:00:55 +0000 (16:00 +0200)]
c-decl.c (finish_function): Suppress "control reaches end of non-void function" when...

* c-decl.c (finish_function): Suppress "control reaches end of
non-void function" when "no return statement in function
returning non-void" is issued.

From-SVN: r99659

19 years agobuiltins-43.c: Use gimple dump instead of generic.
Jan Hubicka [Fri, 13 May 2005 13:57:19 +0000 (15:57 +0200)]
builtins-43.c: Use gimple dump instead of generic.

* gcc.dg/builtins-43.c: Use gimple dump instead of generic.
* gcc.dg/fold-xor-?.c: Likewise.
* gcc.dg/pr15784-?.c: Likewise.
* gcc.dg/pr20922-?.c: Likewise.
* gcc.dg/tree-ssa/20050128-1.c: Likewise.
* gcc.dg/tree-ssa/pr17598.c: Likewise.
* gcc.dg/tree-ssa/pr20470.c: Likewise.

* tree-inline.c (copy_body_r): Simplify substituted ADDR_EXPRs.
* tree-optimize.c (pass_gimple): Kill.
(init_tree_optimization_passes): Kill pass_gimple.
* tree-cfg.c (build_tree_cfg): Do verify_stmts to check that we are gimple.
* tree-dump.c (dump_files): Rename .generic to .gimple.*

From-SVN: r99658

19 years agore PR rtl-optimization/20756 (Clobbers of deleted insns are processed, but left out)
Joern Rennecke [Fri, 13 May 2005 13:34:17 +0000 (14:34 +0100)]
re PR rtl-optimization/20756 (Clobbers of deleted insns are processed, but left out)

PR rtl-optimization/20756:
* basic-block.h (PROP_DEAD_INSN): Define.
* flow.c (propagate_one_insn): Set during mark_set_regs call
for a dead insn.
(mark_set_1): Emit a clobber when we are about to delete a dead insn
that kills a live register.

From-SVN: r99657

19 years agoFix last ChangeLog entry.
Ulrich Weigand [Fri, 13 May 2005 12:27:10 +0000 (12:27 +0000)]
Fix last ChangeLog entry.

From-SVN: r99656

19 years agore PR rtl-optimization/20756 (Clobbers of deleted insns are processed, but left out)
J"orn Rennecke [Fri, 13 May 2005 12:25:28 +0000 (12:25 +0000)]
re PR rtl-optimization/20756 (Clobbers of deleted insns are processed, but left out)

PR rtl-optimization/20756:
* basic-block.h (PROP_DEAD_INSN): Define.
* flow.c (propagate_one_insn): Set during mark_set_regs call
for a dead insn.
(mark_set_1): Emit a clobber when we are about to delete a dead insn
that kills a live register.

From-SVN: r99655

19 years agos390.md: ("DBL"): New mode attribute.
Adrian Straetling [Fri, 13 May 2005 12:21:01 +0000 (12:21 +0000)]
s390.md: ("DBL"): New mode attribute.

2005-05-13  Adrian Straetling  <straetling@de.ibm.com>

* config/s390.md: ("DBL"): New mode attribute.
("*movmem_long_64", "*movmem_long_31"): Merge to "*movmem_long".
("*clrmem_long_64", "*clrmem_long_31"): Merge to "*clrmem_long".
("*cmpmem_long_64", "*cmpmem_long_31"): Merge to "*cmpmem_long".

From-SVN: r99654

19 years agoc-format.c (check_format_arg): Handle string literals of the form &"string"[offset].
Richard Guenther [Fri, 13 May 2005 09:48:12 +0000 (09:48 +0000)]
c-format.c (check_format_arg): Handle string literals of the form &"string"[offset].

2005-05-14  Richard Guenther  <rguenth@gcc.gnu.org>

* c-format.c (check_format_arg): Handle string literals of
the form &"string"[offset].

* g++.dg/warn/format4.C: New testcase.

From-SVN: r99652

19 years agoUpdate the address and telephone number of the FSF organization
Nick Clifton [Fri, 13 May 2005 08:03:47 +0000 (08:03 +0000)]
Update the address and telephone number of the FSF organization

From-SVN: r99650

19 years agocreate_testsuite_files: Fix.
Benjamin Kosnik [Fri, 13 May 2005 03:46:26 +0000 (03:46 +0000)]
create_testsuite_files: Fix.

2005-05-12  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/create_testsuite_files: Fix.

From-SVN: r99648

19 years ago3000.md, [...]: Update copyright.
Kazu Hirata [Fri, 13 May 2005 03:19:57 +0000 (03:19 +0000)]
3000.md, [...]: Update copyright.

* config/mips/3000.md, config/mips/4000.md,
config/mips/4100.md, config/mips/4300.md, config/mips/4600.md,
config/mips/5000.md, config/mips/7000.md, config/mips/9000.md,
config/mips/generic.md, config/pdp11/pdp11.md,
config/sh/crt1.asm, config/sh/lib1funcs.asm,
config/sh/sh-modes.def, config/sh/sh-protos.h,
config/sh/shmedia.md, config/sh/ushmedia.h: Update copyright.

From-SVN: r99647