platform/upstream/linaro-gcc.git
19 years ago * configure.ac: Remove spaces around assignment to
drow [Tue, 17 May 2005 15:00:26 +0000 (15:00 +0000)]
* configure.ac: Remove spaces around assignment to
gcc_cv_ld_sysroot.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99833 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-17 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Tue, 17 May 2005 14:28:49 +0000 (14:28 +0000)]
2005-05-17  Richard Guenther  <rguenth@gcc.gnu.org>

  * gcc.dg/compat/generate-random.c: Do not include
  libiberty.h.
  * gcc.dg/compat/generate-random_r.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99832 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/rs6000/aix.h (TARGET_ALTIVEC_VRSAVE): Delete.
dje [Tue, 17 May 2005 14:25:07 +0000 (14:25 +0000)]
    * config/rs6000/aix.h (TARGET_ALTIVEC_VRSAVE): Delete.
        * config/rs6000/rs6000.c (rs6000_explicit_options): Add
        aix_struct_ret.
        (rs6000_override_options): Do not protect TARGET_ALTIVEC_VRSAVE.
        Modify aix_struct_return variable, not target_flags.
        (rs6000_handle_option): Do not protect TARGET_ALTIVEC_VRSAVE.
        (rs6000_return_in_memory): Test aix_struct_return.
        * config/rs6000/rs6000.opt (maix-struct-return): Convert to
        independent variable.  Report mxl-compat.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99831 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/bfin/bfin.md (eh_return): Add missing DONE.
bernds [Tue, 17 May 2005 13:10:26 +0000 (13:10 +0000)]
 * config/bfin/bfin.md (eh_return): Add missing DONE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99830 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * read-rtl.c (struct macro_traverse_data): Add unknown_mode_attr
ian [Tue, 17 May 2005 12:50:32 +0000 (12:50 +0000)]
* read-rtl.c (struct macro_traverse_data): Add unknown_mode_attr
field.
(mode_attr_index): Remove check for defined attribute.  Remove
infile parameter.  Change all callers.
(apply_mode_maps): Add unknown parameter.  Change caller.  Always
return after finding attribute.
(apply_macro_to_rtx): Add unknown_mode_attr parameter.  Change
callers.
(apply_macro_traverse): Set mtd->unknown_mode_attr.
(read_rtx): Use mtd.unknown_mode_attr to check for an undefined
attribute used for a mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99829 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoadd tree-ssa-math-opts.c for real
bonzini [Tue, 17 May 2005 12:10:19 +0000 (12:10 +0000)]
add tree-ssa-math-opts.c for real

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99828 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-17 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 17 May 2005 10:26:27 +0000 (10:26 +0000)]
2005-05-17  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.am (Makefile.deps): Do not create native.list and
bytecodes.list.
(all_native_compiled_dirs, all_java_dirs): Compute dir list here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99827 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agogcc:
bonzini [Tue, 17 May 2005 09:55:44 +0000 (09:55 +0000)]
gcc:
2005-05-17  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.in: Add tree-ssa-math-opts.c.
* expr.c (expand_expr_real_1) <case RDIV_EXPR>: Never emit as a*(1/b).
* fold-const.c (distribute_real_division): New.
(fold_binary) <case PLUS_EXPR, case MINUS_EXPR>: Use it.
* tree-pass.h (pass_cse_reciprocals): New.
* tree-optimize.c (init_tree_optimization_passes): Run it.
* tree-ssa-math-opts.c: New file.
* doc/passes.texi: Document the new pass.

gcc/testsuite:
2005-05-17  Paolo Bonzini  <bonzini@gnu.org>

* gcc.dg/fold-div-1.c, gcc.dg/recip-1.c, gcc.dg/recip-2.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99826 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-17 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Tue, 17 May 2005 09:00:03 +0000 (09:00 +0000)]
2005-05-17  Richard Guenther  <rguenth@gcc.gnu.org>

PR middle-end/21595
* builtins.c (fold_builtin_constant_p): Handle
&"string cst"[0] as constant.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99825 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/sse.md (mulv16qi3, mulv2di3): New.
rth [Tue, 17 May 2005 08:15:41 +0000 (08:15 +0000)]
    * config/i386/sse.md (mulv16qi3, mulv2di3): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99824 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-11 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 17 May 2005 07:33:39 +0000 (07:33 +0000)]
2005-05-11  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac (--enable-libgcj-multifile): Remove.

* Makefile.am (all_native_compiled_source_files,
(all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
all_libgcj_lo_files, all_xlib_lo_files,
all_java_deps_files, all_java_stamp_files,
all_java_filelist_files): New variables.
(EXTRA_DIST): New Automake variable.
(CLEANFILES): Add .stamp, .list and .lo files.
(%.list, %.lo, %.stamp, Makefile.deps): New rules.
(classes.stamp): Depend on $(all_java_stamp_files).
(libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
going through write_entries_to_file.

(all_java_source_files, all_property_files): Move earlier.
(libgcj_la_OBJECTS, javao_files, xlib_javao_files,
all_java_class_files): Remove.
(gtk_awt_peer_sources): Rename to...
(gtk_awt_peer_source_files): ... this.  Adjust throughout.

(ONESTEP): Remove.
(libgcj0_convenience_la_SOURCES): Remove Java source files.
(libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
(libgcj0_convenience_la_DEPENDENCIES): Likewise.
(libgcj_la_SOURCES): Remove.
(lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
(lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
(lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.

* configure: Regenerate.
* Makefile.in: Regenerate.
* external/Makefile.in: Regenerate.
* external/sax/Makefile.in: Regenerate.
* external/w3c_dom/Makefile.in: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libltdl/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99823 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/21454
jakub [Tue, 17 May 2005 06:51:48 +0000 (06:51 +0000)]
PR c++/21454
* decl.c (maybe_deduce_size_from_array_init): Call
cp_apply_type_quals_to_decl after completing array type.

* g++.dg/opt/const4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99817 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/21492
jakub [Tue, 17 May 2005 06:48:19 +0000 (06:48 +0000)]
PR middle-end/21492
* cfgcleanup.c (try_crossjump_to_edge): update_forwarder_flag for
src2 if src2 has been split.

* g++.dg/opt/crossjump1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99816 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR tree-optimization/21610
jakub [Tue, 17 May 2005 06:45:49 +0000 (06:45 +0000)]
PR tree-optimization/21610
* c-typeck.c (decl_constant_value_for_broken_optimization): If not
returning DECL, call unshare_expr.

* gcc.c-torture/compile/20050516-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99815 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/cris/cris.md: Unquote preparation and output statements.
hp [Tue, 17 May 2005 06:37:06 +0000 (06:37 +0000)]
* config/cris/cris.md: Unquote preparation and output statements.
  (BWD, WD, BW): New, mode-macros.
(S, s, m, mm, nbitsm1): New, mode-attrs.
(szext, shift, shiftrt, ncond, ocond, rcond): New, code-macros.
(u, su, shlr, slr, ncond, ocond, rcond, rCC, oCC, roCC): New,
code-attrs.
("tst<mode>"): Replace "tstqi", "tsthi" and "tstsi".
("*cmp_ext<mode>"): Replace "*cmp_extsi" and "*cmp_exthi".
("*cmp_swapext<mode>"): Replace "*cmp_swapextqi" and
"*cmp_swapexthi".
("cmp<mode>"): Replace "cmphi" and "cmpqi".
("movdi"): Move misplaced head comment regarding necessity of
movdi from movsi to here.
("*mov_side<mode>_biap"): Replace "*mov_sideqi_biap" and
"*mov_sidehi_biap".
("*mov_side<mode>"): Replace "*mov_sideqi" and "*mov_sidehi".
("*mov_side<mode>_biap_mem", "*mov_sidehi_biap_mem"): Replace
"*mov_sideqi_biap_mem".
("*mov_side<mode>_mem"): Replace "*mov_sideqi_mem" and
"*mov_sidehi_mem".
("*clear_side<mode>_biap"): Replace "*clear_sidesi_biap",
"*clear_sidehi_biap" and "*clear_sideqi_biap".
("*clear_side<mode>"): Replace "*clear_sidesi", "*clear_sidehi"
and "*clear_sideqi".
("*ext_side<mode>si_biap"): Replace "*ext_sideqisi_biap" and
"*ext_sidehisi_biap".
("*ext_side<mode>si"): Replace "*ext_sideqisi" and
"*ext_sidehisi".
("reload_in<mode>"): Replace "reload_inhi" and "reload_inqi".
("reload_out<mode>"): Replace "reload_outhi" and "reload_outqi".
("extend<mode>di2"): Replace "extendhidi2" and "extendqidi2".
("extend<mode>si2"): Replace "extendhisi2" and "extendqisi2".
("zero_extend<mode>si2"): Replace "zero_extendhisi2" and
"zero_extendqisi2".
("*op_side<mode>_biap"): Replace "*op_sideqi_biap",
"*op_sidehi_biap" and "*op_sidesi_biap".
("*op_side<mode>"): Replace "*op_sideqi", "*op_sidehi" and
"*op_sidesi".
("*op_swap_side<mode>_biap"): Replace "*op_swap_sideqi_biap",
"*op_swap_sidehi_biap" and "*op_swap_sidesi_biap".
("*op_swap_side<mode>"): Replace "*op_swap_sideqi",
"*op_swap_sidehi" and "*op_swap_sidesi".
("sub<mode>3"): Replace "subhi3" and "subqi3", correcting a typo
in the N alternative of "subqi3".
("*extop<mode>si_side_biap"): Replace "*extopqisi_side_biap" and
"*extophisi_side_biap".
("*extop<mode>si_side"): Replace "*extopqisi_side" and
"*extophisi_side".
("*extop<mode>si_swap_side_biap"): Replace
"*extopqisi_swap_side_biap" and "*extophisi_swap_side_biap".
("*extop<mode>si_swap_side"): Replace "*extopqisi_swap_side" and
"*extophisi_swap_side".
("*extop<mode>si"): Replace "*extopqisi" and "*extophisi".
("*extop<mode>si_swap"): Replace "*extopqisi_swap" and
"*extophisi_swap".
("<u>mul<s><mode>3"): Replace "umulhisi3", "umulqihi3",
"mulqihi3", "mulhisi3" and "mulhisi3".
("<u>mulsidi3"): Replace "mulsidi3" and "umulsidi3".
("<su>mulsi3_highpart"): Replace "smulsi3_highpart" and
"umulsi3_highpart".
("xor<mode>3"): Replace "xorhi3" and "xorqi3".
("neg<mode>2"): Replace "negsi2", "neghi2" and "negqi2".
("one_cmpl<mode>2"): Replace "one_cmplhi2" and "one_cmplqi2".
("<shlr>si3"): Replace "ashrsi3", "lshrsi3" and "ashlsi3".
("ashr<mode>3"): Replace "ashrhi3" and "ashrqi3".
("*expanded_<shlr><mode>"): Replace "*expanded_ashrhi",
"*expanded_ashrqi", "*expanded_lshrhi" and "*expanded_lshrqi".
("*<shlr><mode>_lowpart"): Replace "*ashrhi_lowpart",
"*ashrqi_lowpart", "*lshrhi_lowpart" and "*lshrqi_lowpart".
("lshr<mode>3"): Replace "lshrhi3" and "lshrqi3".
("ashl<mode>3"): Replace "ashlhi3" and "ashlqi3".
("*ashl<mode>_lowpart"): Replace "*ashlqi_lowpart" and
"*ashlhi_lowpart".
("abs<mode>2"): Replace "abshi2" and "absqi2".
("b<ncond>"): Replace "beq", "bne", "bgtu", "bltu", "bgeu" and
"bleu".
("b<ocond>"): Replace "bgt" and "ble".
("b<rcond>"): Replace "blt" and "bge".
("*b<ncond>_reversed"): Replace "*beq_reversed", "*bne_reversed",
"*bgtu_reversed", "*bltu_reversed", "*bgeu_reversed" and
"*bleu_reversed".
("*b<ocond>_reversed"): Replace "*bgt_reversed" and
"*ble_reversed".
("*b<rcond>_reversed"): Replace "*blt_reversed" and
"*blt_reversed".
("s<ncond>"): Replace "sgeu", "sltu", "seq", "sgtu", "sleu" and
"sne".
("s<rcond>"): Replace "sge" and "slt".
("s<ocond>"): Replace "sgt" and "sle".
("clear.[bwd] [rx=rx+rz.S2]"): Replace split clear.d
[rx=rx+rz.S2], clear.w [rx=rx+rz.S2] and clear.b [rx=rx+rz.S2].
("clear.[bwd] [rx=rx+i]"): Replace splits clear.d [rx=rx+i],
clear.w [rx=rx+i] and clear.b [rx=rx+i].

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99814 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * varasm.c (struct constant_descriptor_tree): Add hash field.
jakub [Tue, 17 May 2005 06:34:48 +0000 (06:34 +0000)]
* varasm.c (struct constant_descriptor_tree): Add hash field.
(const_desc_hash): Just return hash field.
(const_desc_eq): If hash values are different, return 0 immediately.
(output_constant_def): Compute hash field of temporary key, use
htab_find_slot_with_hash instead of htab_find_slot.  Set hash in
newly built constant descriptor.
(lookup_constant_def): Compute hash field of temporary key, use
htab_find_with_hash instead of htab_find.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99813 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR fortran/15080
jakub [Tue, 17 May 2005 06:31:51 +0000 (06:31 +0000)]
PR fortran/15080
* trans-stmt.c (generate_loop_for_temp_to_lhs): Remove SIZE and COUNT2
arguments.  If LSS is gfc_ss_terminator, increment COUNT1 by 1, instead
of incrementing COUNT2 and using COUNT1+COUNT2 increment COUNT1 and use
just that as index.
(generate_loop_for_rhs_to_temp): Likewise.
(compute_overall_iter_number): Add INNER_SIZE_BODY argument.
It non-NULL, add it to body.
(allocate_temp_for_forall_nest_1): New function, split from
allocate_temp_for_forall_nest.
(allocate_temp_for_forall_nest): Add INNER_SIZE_BODY argument,
propagate it down to compute_overall_iter_number.  Use
allocate_temp_for_forall_nest_1.
(gfc_trans_assign_need_temp): Remove COUNT2.  Call
compute_inner_temp_size into a new stmtblock_t.  Adjust calls to
allocate_temp_for_forall_nest, generate_loop_for_rhs_to_temp
and generate_loop_for_temp_to_lhs.
(gfc_trans_pointer_assign_need_temp): Adjust calls to
allocate_temp_for_forall_nest.
(gfc_evaluate_where_mask): Call compute_inner_temp_size into a new
stmtblock_t.  Call compute_overall_iter_number just once, then
allocate_temp_for_forall_nest_1 twice with the same size.
Initialize mask indexes if nested_forall_info != NULL.
(gfc_trans_where_2): Initialize mask indexes before calling
gfc_trans_nested_forall_loop.

* gfortran.fortran-torture/execute/forall_3.f90: Remove comment
about the test failing.
* gfortran.fortran-torture/execute/where_7.f90: New test.
* gfortran.fortran-torture/execute/where_8.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99812 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/sse.md (mulv4si3): New.
rth [Tue, 17 May 2005 04:33:42 +0000 (04:33 +0000)]
    * config/i386/sse.md (mulv4si3): New.

        * lib/target-supports.exp (check_effective_target_vect_int_mul): Add
        i?86 and x86_64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99811 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * java/nio/charset/Charset.java (encode, decode): Synchronize on
tromey [Tue, 17 May 2005 01:52:02 +0000 (01:52 +0000)]
* java/nio/charset/Charset.java (encode, decode): Synchronize on
'this', not the class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99810 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Tue, 17 May 2005 00:16:38 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99806 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/cris/cris.h (EXTRA_CONSTRAINT_T): Remove FIXME and
hp [Tue, 17 May 2005 00:07:54 +0000 (00:07 +0000)]
* config/cris/cris.h (EXTRA_CONSTRAINT_T): Remove FIXME and
tests for noncanonical versions of reg+constant and
reg+reg*{1,2,4}.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99803 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR tree-opt/21399
rth [Mon, 16 May 2005 23:14:02 +0000 (23:14 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99801 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * decl.c (build_library_fn_1): Move setting TREE_NOTHROW ...
rth [Mon, 16 May 2005 23:05:45 +0000 (23:05 +0000)]
    * decl.c (build_library_fn_1): Move setting TREE_NOTHROW ...
        (build_library_fn): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99800 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.dg/compat/generate-random.c (config.h): Do not include.
mmitchel [Mon, 16 May 2005 22:52:26 +0000 (22:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99799 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-16 Caroline Tice <ctice@apple.com>
ctice [Mon, 16 May 2005 21:37:01 +0000 (21:37 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99796 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gnu/java/net/protocol/http/Headers.java (parse): Include final
tromey [Mon, 16 May 2005 21:00:49 +0000 (21:00 +0000)]
* gnu/java/net/protocol/http/Headers.java (parse): Include final
character of line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99794 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR libgcj/21606:
tromey [Mon, 16 May 2005 20:27:48 +0000 (20:27 +0000)]
PR libgcj/21606:
* java/net/URI.java (unquote): Handle lower-case letters as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99792 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-common.c (c_common_truthvalue_conversion): Use fold_build2
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 performing code transformations
to avoid error messages about constructs not it the user's code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99791 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
tromey [Mon, 16 May 2005 19:01:52 +0000 (19:01 +0000)]
2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99789 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99787 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/21556
rth [Mon, 16 May 2005 18:22:48 +0000 (18:22 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99785 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99783 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-copy.c (copy_prop_visit_assignment): Clean up by
kazu [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99782 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix vec_merge patterns for Altivec ppc.
fjahanian [Mon, 16 May 2005 15:24:09 +0000 (15:24 +0000)]
Fix vec_merge patterns for Altivec ppc.
OKed by Geoff Keating.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99779 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-data-ref.c (compute_all_dependences): Change the type
kazu [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)**.
(compute_data_dependences_for_loop): Change the type of
allrelations to VEC(ddr_p,heap)*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99778 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99777 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * getpwd.c: Remove unneeded prototype getcwd and move getwd so
aj [Mon, 16 May 2005 13:52:39 +0000 (13:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99775 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (options.c): Tell optc-gen.awk to include config.h,
rsandifo [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.
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99774 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR ada/20270
neroden [Mon, 16 May 2005 11:58:44 +0000 (11:58 +0000)]
PR ada/20270
* Makefile.in: Make TGT_LIB behave correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99773 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-16 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 16 May 2005 10:45:59 +0000 (10:45 +0000)]
2005-05-16  Paolo Carlini  <pcarlini@suse.de>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99769 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-16 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 16 May 2005 08:43:14 +0000 (08:43 +0000)]
2005-05-16  Paolo Bonzini  <bonzini@gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99767 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-scalar-evolution.c (set_nb_iterations_in_loop): Only
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-chrec.c (chrec_convert): Only clear TREE_OVERFLOW on
CONSTANT_CLASS_P tree nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99765 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-15 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 16 May 2005 02:11:59 +0000 (02:11 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99760 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-15 Daniel Berlin <dberlin@dberlin.org>
dberlin [Mon, 16 May 2005 01:12:07 +0000 (01:12 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99759 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-16 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Mon, 16 May 2005 00:51:38 +0000 (00:51 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99757 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99755 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99750 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99749 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99748 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99747 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99746 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Remove
gerald [Sun, 15 May 2005 20:03:57 +0000 (20:03 +0000)]
* jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Remove
unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99745 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99742 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99741 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99740 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agogcc/java:
tromey [Sun, 15 May 2005 18:28:29 +0000 (18:28 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99739 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99738 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99737 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99736 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99735 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99733 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99732 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99731 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-15 Eli Zaretskii <eliz@gnu.org>
aj [Sun, 15 May 2005 16:36:40 +0000 (16:36 +0000)]
2005-05-15  Eli Zaretskii  <eliz@gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99729 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-15 Eli Zaretskii <eliz@gnu.org>
aj [Sun, 15 May 2005 16:35:44 +0000 (16:35 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99728 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * m4/eoshift1.m4: Initialize variables to avoid warnings.
aj [Sun, 15 May 2005 15:50:09 +0000 (15:50 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99726 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99724 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * intrinsics/pack_generic.c (pack): Remove unneeded calculation.
aj [Sun, 15 May 2005 15:37:18 +0000 (15:37 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99723 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * intrinsics/system_clock.c (system_clock_4, system_clock_8): Add
aj [Sun, 15 May 2005 15:33:12 +0000 (15:33 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99722 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * io/unit.c (is_internal_unit): Add void as parameter list.
aj [Sun, 15 May 2005 13:25:19 +0000 (13:25 +0000)]
* io/unit.c (is_internal_unit): Add void as parameter list.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99721 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99720 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * runtime/normalize.c (almostone_r4, almostone_r8): Fix parameter
aj [Sun, 15 May 2005 12:44:42 +0000 (12:44 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99719 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * intrinsics/chdir.c, intrinsics/getlog.c, intrinsics/link.c,
aj [Sun, 15 May 2005 08:25:52 +0000 (08:25 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99716 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99715 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99714 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-15 Feng Wang <fengwang@nudt.edu.cn>
fengwang [Sun, 15 May 2005 02:45:29 +0000 (02:45 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99711 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/sh/sh.c (sh_output_mi_thunk): Check cfun->cfg instead
kkojima [Sun, 15 May 2005 02:02:58 +0000 (02:02 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99710 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99708 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agogcc/
kazu [Sat, 14 May 2005 20:32:59 +0000 (20:32 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99705 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-optimize.c (init_tree_optimization_passes): Move
kazu [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99704 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/vax/vax.c: (print_operand_address) Use gcc_unreachable() and
danglin [Sat, 14 May 2005 18:08:20 +0000 (18:08 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99703 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/vax/vax.md: define_constant VAXens AP, FP, SP and PC
danglin [Sat, 14 May 2005 17:55:33 +0000 (17:55 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99702 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/vax/vax.c: (override_options) Remove 'register' keyword.
danglin [Sat, 14 May 2005 17:50:00 +0000 (17:50 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99701 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99700 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-14 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Sat, 14 May 2005 15:42:01 +0000 (15:42 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99699 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago Patch by Richard Henderson:
hubicka [Sat, 14 May 2005 14:32:39 +0000 (14:32 +0000)]
Patch by Richard Henderson:
* tree-eh.c (tree_can_throw_internal, tree_can_throw_external):
Handle RESX expressions properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99698 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-eh.c (record_stmt_eh_region): Use add_stmt_to_eh_region.
hubicka [Sat, 14 May 2005 14:27:09 +0000 (14:27 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99697 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-cfg.c (execute_warn_function_return): Break out noreturn
hubicka [Sat, 14 May 2005 14:24:49 +0000 (14:24 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99696 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-live.c (tpa_init, tpa_delete, tpa_compact,
kazu [Sat, 14 May 2005 13:05:37 +0000 (13:05 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99695 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-14 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Sat, 14 May 2005 12:53:20 +0000 (12:53 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99694 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-eh.c (leh_tf_state): Change the type of dest_array to
kazu [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)*.
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99693 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/cris/cris.h (Node: Register Classes): Remove obsoleted
hp [Sat, 14 May 2005 02:33:25 +0000 (02:33 +0000)]
* config/cris/cris.h (Node: Register Classes): Remove obsoleted
comment regarding defined register classes.
(LEGITIMIZE_RELOAD_ADDRESS): Do not define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99692 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-optimize.c (init_tree_optimization_passes): Move
kazu [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99691 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
bryce [Sat, 14 May 2005 00:42:46 +0000 (00:42 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99687 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99684 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99680 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-05-13 Josh Conner <jconner@apple.com>
pbrook [Fri, 13 May 2005 21:13:17 +0000 (21:13 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99679 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
tromey [Fri, 13 May 2005 20:20:56 +0000 (20:20 +0000)]
* gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
element in path.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99676 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/rs6000/sysv4.opt (mlittle): Handle.
aldyh [Fri, 13 May 2005 19:52:39 +0000 (19:52 +0000)]
* config/rs6000/sysv4.opt (mlittle): Handle.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99675 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/20714:
amylaar [Fri, 13 May 2005 18:22:57 +0000 (18:22 +0000)]
PR middle-end/20714:
* optabs.c (no_conflict_data): New struct.
(no_conflict_move_test): New function.
(emit_no_conflict_block): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99674 138bc75d-0d04-0410-961f-82ee72b054a4