OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago2005-06-01 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 1 Jun 2005 14:27:46 +0000 (14:27 +0000)]
2005-06-01  Paul Thomas  <pault@gcc.gnu.org>

* fortran/Changelog: Entry for this morning's patch.

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

18 years ago * except.c (struct eh_region): Kill unused fields.
hubicka [Wed, 1 Jun 2005 12:07:50 +0000 (12:07 +0000)]
* except.c (struct eh_region): Kill unused fields.
* basic-block.h (struct basic_block_def): Likewise.

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

18 years ago PR rtl-optimization/21767
amylaar [Wed, 1 Jun 2005 11:38:53 +0000 (11:38 +0000)]
PR rtl-optimization/21767
* rtl.h (function_invariant_p): Re-add declaration.
* reload1.c (function_invariant_p): No longer static.
* ifcvt.c (dead_or_predicable): Remove REG_EQUAL notes that
might have become invalid.

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

18 years ago PR c/21536
jakub [Wed, 1 Jun 2005 10:23:17 +0000 (10:23 +0000)]
PR c/21536
PR c/20760
* gimplify.c (gimplify_decl_expr): Call gimplify_type_sizes
on variable sizes types if a decl is a pointer to a VLA.
(gimplify_type_sizes): Handle POINTER_TYPE and REFERENCE_TYPE.
Call gimplify_type_sizes on aggregate fields.  Prevent infinite
recursion.

* gcc.dg/20050527-1.c: New test.

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

18 years ago * fold-const.c (fold_ternary): Optimize BIT_FIELD_REF of VECTOR_CST.
jakub [Wed, 1 Jun 2005 10:13:36 +0000 (10:13 +0000)]
* fold-const.c (fold_ternary): Optimize BIT_FIELD_REF of VECTOR_CST.

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

18 years ago * config/i386/xmmintrin.h (_mm_setzero_ps, _mm_set_ss, _mm_set1_ps,
jakub [Wed, 1 Jun 2005 10:07:54 +0000 (10:07 +0000)]
* config/i386/xmmintrin.h (_mm_setzero_ps, _mm_set_ss, _mm_set1_ps,
_mm_set_ps, _mm_setr_ps): Add __extension__.
* config/i386/emmintrin.h (_mm_set_sd, _mm_set1_pd, _mm_set_pd,
_mm_setr_pd, _mm_setzero_pd, _mm_set_epi64x, _mm_set_epi64x,
_mm_set_epi32, _mm_set_epi16, _mm_set_epi8, _mm_setzero_si128):
Likewise.
(_mm_clflush): Don't use return in void function.

* gcc.dg/i386-sse-12.c: New test.

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

18 years ago * config/i386/emmintrin.h (_mm_castpd_ps, _mm_castpd_si128,
jakub [Wed, 1 Jun 2005 10:02:31 +0000 (10:02 +0000)]
* config/i386/emmintrin.h (_mm_castpd_ps, _mm_castpd_si128,
_mm_castps_pd, _mm_castps_si128, _mm_castsi128_ps, _mm_castsi128_pd):
Use __inline instead of inline.

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

18 years ago PR fortran/21729
jakub [Wed, 1 Jun 2005 10:00:19 +0000 (10:00 +0000)]
PR fortran/21729
* resolve.c (resolve_contained_fntype): Use sym->attr.untyped
to avoid giving error multiple times.
(resolve_entries): Don't error about BT_UNKNOWN here.
(resolve_unknown_f): Capitalize IMPLICIT for consistency.
(resolve_fntype): New function.
(gfc_resolve): Call resolve_fntype.

* gfortran.dg/implicit_5.f90: New test.

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

18 years ago2005-06-01 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Wed, 1 Jun 2005 09:34:15 +0000 (09:34 +0000)]
2005-06-01  Richard Guenther  <rguenth@gcc.gnu.org>

* fold-const.c (fold_binary): Fix types in strlen vs.
zero comparison folding.

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

18 years ago * configure.ac (HAVE_AS_JSRDIRECT_RELOCS): New.
rth [Wed, 1 Jun 2005 08:19:44 +0000 (08:19 +0000)]
    * configure.ac (HAVE_AS_JSRDIRECT_RELOCS): New.
        * config.in, configure: Rebuild.
        * config/alpha/alpha.c (print_operand): Add 'j'.
        * alpha.md (divmodsi_internal_er_1): Use it.
        (divmoddi_internal_er_1): Likewise.

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

18 years ago2005-06-01 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 1 Jun 2005 07:18:20 +0000 (07:18 +0000)]
2005-06-01  Paul Thomas  <pault@gcc.gnu.org>

* fortran/trans-expr.c (gfc_conv_variable): Clean up bracketting.
* fortran/trans-expr.c (gfc_conv_function_call): Insert spaces.
Correct comments and replace convert of integer_one_node with
build_int_cst.

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

18 years ago * system.h (TARGET_OPTIONS, TARGET_SWITCHES): Poison.
rsandifo [Wed, 1 Jun 2005 07:02:36 +0000 (07:02 +0000)]
* system.h (TARGET_OPTIONS, TARGET_SWITCHES): Poison.
* opts.h (print_filtered_help): Delete.
* opts.c (handle_option, decode_options): Remove calls to
set_target_switch.
(print_target_help): New function.
(common_option, print_help): Call print_target_help instead of
display_target_options.
(print_filtered_help): Make static.
* toplev.h (display_target_options, set_target_switch): Delete.
* toplev.c (target_switches, target_options, display_target_options)
(set_target_switch): Delete.
(print_switch_values): Remove handling of TARGET_SWITCHES and
TARGET_OPTIONS.
(default_get_pch_validity): Likewise.  Only treat target_flags
specially if targetm.check_pch_target_flags is nonnull.
(pch_option_mismatch): New function.
(default_pch_valid_p): Use it.  Remove handling of TARGET_SWITCHES
and TARGET_OPTIONS.  Only treat target_flags specially if
targetm.check_pch_target_flags is nonnull.
* config/ia64/ia64.c (ia64_override_options): Don't mention
TARGET_OPTIONS in comment.
* config/m68k/m68k-none.h (CC1_SPEC): Likewise.
* doc/invoke.texi: Remove a reference to TARGET_SWITCHES.
* doc/tm.texi (TARGET_DEFAULT_TARGET_FLAGS): Don't mention the
interaction with TARGET_SWITCHES.
(TARGET_@var{featurename}, TARGET_SWITCHES, TARGET_OPTIONS): Delete.

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

18 years ago * config/sh/sh.c (multcosts): Check sh_multcost rather than
rsandifo [Wed, 1 Jun 2005 06:58:41 +0000 (06:58 +0000)]
* config/sh/sh.c (multcosts): Check sh_multcost rather than
sh_multcost_str.
(sh_register_move_cost): Likewise sh_gettrcost and sh_gettrcost_str.
(sh_multcost_str, sh_gettrcost_str, sh_div_str, sh_divsi3_libfunc)
(cut2_workaround_str): Delete.
* config/sh/sh.h (SUBTARGET_OPTIONS, TARGET_OPTIONS)
(TARGET_SH5_CUT2_WORKAROUND, sh_multcost_str, sh_gettrcost_str)
(sh_div_str, sh_divsi3_libfunc, cut2_workaround_str): Delete.
* config/sh/sh.opt (mcut2-workaround, mdiv=, mdivsi3_libfunc=)
(mgettrcost=, multcost=): New options.

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

18 years ago * opts.h (cl_option_state): New structure.
rsandifo [Wed, 1 Jun 2005 06:55:47 +0000 (06:55 +0000)]
* opts.h (cl_option_state): New structure.
(get_option_state): Declare.
* opts.c (get_option_state): New function.
* toplev.c (option_affects_pch_p): New function.
(default_get_pch_validity): Store the state of all options for which
option_affects_pch_p returns true.
(default_pch_valid_p): Check the state of those options here.
Only check target_flags separately if targetm.check_pch_target_Flags
is nonnull or if TARGET_SWITCHES is defined.

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

18 years ago * config/sh/sh-protos.h (sh_pch_valid_p): Delete.
rsandifo [Wed, 1 Jun 2005 06:52:51 +0000 (06:52 +0000)]
* config/sh/sh-protos.h (sh_pch_valid_p): Delete.
(missing from yesterday's checkin)

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

18 years ago * config/mips/mips-protos.h (mips_use_ins_ext_p): Remove parameter
rsandifo [Wed, 1 Jun 2005 06:04:22 +0000 (06:04 +0000)]
* config/mips/mips-protos.h (mips_use_ins_ext_p): Remove parameter
names.

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

18 years ago2005-06-01 Mostafa Hagog <mustafa@il.ibm.com>
hagog [Wed, 1 Jun 2005 05:26:41 +0000 (05:26 +0000)]
2005-06-01 Mostafa Hagog <mustafa@il.ibm.com>

* modulo-sched.c (undo_generate_reg_moves ): Fix PR 21138.

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

18 years ago2005-06-01 Mostafa Hagog <mustafa@il.ibm.com>
hagog [Wed, 1 Jun 2005 05:17:59 +0000 (05:17 +0000)]
2005-06-01 Mostafa Hagog <mustafa@il.ibm.com>

      * gcse.c (compute_transp, load_killed_in_block): Use MEM_READONLY_P.

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

18 years ago2005-06-01 Feng Wang <fengwang@nudt.edu.cn>
fengwang [Wed, 1 Jun 2005 03:44:43 +0000 (03:44 +0000)]
2005-06-01  Feng Wang  <fengwang@nudt.edu.cn>

        PR fortran/20883
        * fortran/io.c (resolve_tag): Fix error message.

2005-06-01  Feng Wang  <fengwang@nudt.edu.cn>

        PR fortran/20883
        * gfortran/assign_4.f90: New test.
        * gfortran/assign_2.f90: Change compile to run.

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

18 years ago2005-06-01 David.Billinghurst <David.Billinghurst@riotinto.com>
billingd [Wed, 1 Jun 2005 03:04:34 +0000 (03:04 +0000)]
2005-06-01  David.Billinghurst  <David.Billinghurst@riotinto.com>

PR target/21854
* config/mips/mips-protos.h: Declare mips_use_ins_ext_p

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

18 years ago * errors.h (warning, error, fatal, internal_error): Add printf
ghazi [Wed, 1 Jun 2005 02:55:50 +0000 (02:55 +0000)]
* errors.h (warning, error, fatal, internal_error): Add printf
attribute.
* genmodes.c (make_vector_mode): Fix format arguments.

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

18 years ago * basic-block.h, bb-reorder.c, c-gimplify.c, config/darwin.c,
ghazi [Wed, 1 Jun 2005 02:51:18 +0000 (02:51 +0000)]
* basic-block.h, bb-reorder.c, c-gimplify.c, config/darwin.c,
config/rs6000/rs6000-c.c, dominance.c, gimple-low.c, gimplify.c,
lambda-code.c, lambda-trans.c, tree-browser.c, tree-cfg.c,
tree-chrec.c, tree-data-ref.c, tree-dfa.c, tree-eh.c,
tree-if-conv.c, tree-into-ssa.c, tree-loop-linear.c,
tree-mudflap.c, tree-nomudflap.c, tree-outof-ssa.c,
tree-pretty-print.c, tree-scalar-evolution.c, tree-sra.c,
tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dom.c,
tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-live.c,
tree-ssa-operands.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
tree-ssa-propagate.c, tree-ssa-sink.c, tree-ssa-threadupdate.c,
tree-ssa-uncprop.c, tree-ssa.c, tree-vect-analyze.c,
tree-vect-transform.c, tree-vectorizer.c, vec.c: Don't include
errors.h and include toplev.h if necessary.

* rtl.c, varray.c: If we're compiling as a GENERATOR_FILE, include
errors.h otherwise include toplev.h.

* Makefile.in: Update dependencies.

ada:
* misc.c: Don't include errors.h.

fortran:
* fortran/trans-decl.c: Don't include errors.h.
* fortran/Make-lang.in: Updates dependencies.

java:
* java/verify-glue.c: Don't include errors.h and include toplev.h.
* java/Make-lang.in: Updates dependencies.

treelang:
* treelang/lex.l, treelang/parse.y: Don't include errors.h and
include toplev.h.
* treelang/Make-lang.in: Updates dependencies.

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

18 years ago * config/i386/cygming.h (NO_PROFILE_COUNTERS): Define.
dannysmith [Wed, 1 Jun 2005 00:50:21 +0000 (00:50 +0000)]
* config/i386/cygming.h (NO_PROFILE_COUNTERS): Define.

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

18 years agoIndex: ChangeLog
geoffk [Wed, 1 Jun 2005 00:45:24 +0000 (00:45 +0000)]
Index: ChangeLog
2005-05-31  Geoffrey Keating  <geoffk@geoffk.org>

* config/rs6000/rs6000.md (sync_boolcshort_internal): New.
* config/rs6000/rs6000.c (rs6000_emit_sync): Shift count must
be complemented for big-endian.  Mask for AND must be rotated,
not shifted.  Handle short operands with NOT on the memory
operation.

Index: testsuite/ChangeLog
2005-05-31  Geoffrey Keating  <geoffk@geoffk.org>

* lib/target-supports.exp
(check_effective_target_sync_char_short): New.
* gcc.dg/sync-2.c: New.

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

18 years ago2005-05-30 Daniel Berlin <dberlin@dberlin.org>
dberlin [Wed, 1 Jun 2005 00:39:49 +0000 (00:39 +0000)]
2005-05-30  Daniel Berlin  <dberlin@dberlin.org>

* c-objc-common.c (c_tree_printer): Check flag before hashtable.
Use DECL_DEBUG_EXPR and SET_DECL_DEBUG_EXPR.
* dwarf2out.c (dwarf2out_var_location): Ditto.
* toplev.c (default_tree_printer): Ditto.
* tree-outof-ssa.c (create_temp): Ditto.
* tree-sra.c (instantiate_element): Ditto.
* var-tracking.c (track_expr_p): Ditto.
* tree.c (struct tree_map): New structure.
(debug_expr_for_decl): New.
(tree_map_eq): New function.
(tree_map_hash): Ditto.
(tree_map_marked_p): Ditto.
(print_debug_expr_statistics): Ditto.
(decl_debug_expr_lookup): Ditto.
(decl_debug_expr_insert): Ditto.
(dump_tree_statistics): Dump debug_expr hashtable stats.
* tree.h (DECL_DEBUG_EXPR): Change
(SET_DECL_DEBUG_EXPR): Add.

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

18 years ago * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET
amodra [Wed, 1 Jun 2005 00:33:09 +0000 (00:33 +0000)]
* src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET
to call ffi_closure_helper_SYSV.  Append @local instead.
* src/powerpc/sysv.S (ffi_call_SYSV): Likewise for ffi_prep_args_SYSV.

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

18 years ago * configure.ac: Add --enable-secureplt.
amodra [Wed, 1 Jun 2005 00:30:26 +0000 (00:30 +0000)]
* configure.ac: Add --enable-secureplt.
(HAVE_AS_REL16): Test for R_PPC_REL16 relocs.
* config.in: Regenerate.
* configure: Regenerate.
* config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add
rs6000/secureplt.h to tm_file when enable_secureplt.
* doc/invoke.texi (msecure-plt, mbss-plt): Document.
* doc/install.texi: Document --enable-targets and --enable-secureplt.
Correct xrefs to "Using the GNU Compiler Collection (GCC)".
* config/rs6000/secureplt.h: New file.
* config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define.
(SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without
assembler support.
(CC1_SECURE_PLT_DEFAULT_SPEC): Define.
(CC1_SPEC): Delete duplicate mno-sdata.  Invoke cc1_secure_plt_default.
(SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default.
* config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options.
* config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle
TARGET_SECURE_PLT got register load sequence.
(rs6000_emit_prologue): Call rs6000_emit_load_toc_table when
TARGET_SECURE_PLT.
(rs6000_elf_declare_function_name): Don't emit toc address offset
word when TARGET_SECURE_PLT.
* config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*.
(load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT.
(load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns.
(call, call_value): Mark pic_offset_table_rtx used for sysv pic and
TARGET_SECURE_PLT.
(call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT
and -fPIC.
* config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31".
(__trampoline_setup): Likewise.  Init r30 before plt call.

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

18 years ago* expr.c (convert_move): When a partial_int requires multiple
dj [Wed, 1 Jun 2005 00:20:13 +0000 (00:20 +0000)]
* expr.c (convert_move): When a partial_int requires multiple
conversion steps, make sure successive steps convert the
intermediate value, not the original value.

* expmed.c (expand_mult): Convert partial_int multiplies to
shift/add combinations too.

* genmodes.c (mode_data): Add wider_2x.
(calc_wider_mode): Calculate twice-wider mode too.
(emit_mode_wider): Emit twice-wider mode too.
* machmode.h (mode_2xwider, GET_MODE_2XWIDER_MODE): New.
* expr.c (expand_expr_real_1): Use it for expanding
multiplies.

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

18 years agoDaily bump.
gccadmin [Wed, 1 Jun 2005 00:16:31 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago PR tree-optimization/21817
rakdver [Tue, 31 May 2005 23:07:25 +0000 (23:07 +0000)]
PR tree-optimization/21817
* tree-ssa-loop-im.c (for_each_index): Handle VECTOR_CST.

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

18 years ago2005-05-31 Pat Haugen <pthaugen@us.ibm.com>
dje [Tue, 31 May 2005 21:29:05 +0000 (21:29 +0000)]
2005-05-31  Pat Haugen  <pthaugen@us.ibm.com>

        * loop.c (loop_invariant_p, valid_initial_value_p): Revert last
        change.

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

18 years ago2005-05-31 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 31 May 2005 18:31:55 +0000 (18:31 +0000)]
2005-05-31  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/20534 (contd)
* include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
__gnu_debug::__fancy_abort.
* src/debug.cc: Define the latter.
* include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
assert.
* config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.

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

18 years agocp:
nathan [Tue, 31 May 2005 17:43:26 +0000 (17:43 +0000)]
cp:
PR c++/21165
* init.c (integral_constant_value): Check the type of the
initializer, not the decl.
testsuite:
PR c++/21165
* g++.dg/template/init5.C: New.

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

18 years ago2005-05-30 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 31 May 2005 17:39:03 +0000 (17:39 +0000)]
2005-05-30  Paul Thomas  <pault@gcc.gnu.org>

* gfortran.dg/char_initialiser_actual.f90:
Test character initialisers as actual arguments.
* gfortran.dg/char_pointer_comp_assign.f90:
Test character pointer structure component assignments.
* gfortran.dg/char_array_structure_constructor.f90:
Test character components in structure constructors.

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

18 years ago2005-05-30 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 31 May 2005 17:19:11 +0000 (17:19 +0000)]
2005-05-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/18109
PR fortran/18283
PR fortran/19107
* fortran/trans-array.c (gfc_conv_expr_descriptor): Obtain the
string length from the expression typespec character length value
and set temp_ss->stringlength and backend_decl. Obtain the
tree expression from gfc_conv_expr rather than gfc_conv_expr_val.
Dereference the expression to obtain the character.
* fortran/trans-expr.c (gfc_conv_component_ref): Remove the
dereference of scalar character pointer structure components.
* fortran/trans-expr.c (gfc_trans_subarray_assign): Obtain the
string length for the structure component from the component
expression.

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

18 years ago2005-05-31 Andrew pinski <pinskia@physics.uc.edu>
pinskia [Tue, 31 May 2005 16:40:09 +0000 (16:40 +0000)]
2005-05-31  Andrew pinski  <pinskia@physics.uc.edu>

        PR middle-end/20931
        * g++.dg/opt/pr20931.C: New test.

2005-05-31  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/20931
        PR middle-end/20946
        * fold-const.c (fold_checksum_tree): Copy types also if
        TYPE_CONTAINS_PLACEHOLDER_INTERNAL is set.
        Don't call fold_checksum_tree for TREE_LIST's TREE_CHAIN
        first.
        Tail recurse TREE_LIST's TREE_CHAIN.

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

18 years ago2005-05-31 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 31 May 2005 16:29:16 +0000 (16:29 +0000)]
2005-05-31  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/21732
        * tree-ssa-copy.c (dump_copy_of): Create a bitmap and don't visit a
        SSA_NAME twice and cause the loop to become finite.  Remove the test
        for val.

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

18 years ago PR testsuite/20772
aj [Tue, 31 May 2005 16:28:30 +0000 (16:28 +0000)]
PR testsuite/20772
* g++.dg/abi/dtor1.C, g++.dg/abi/empty10.C, g++.dg/abi/layout3.C,
g++.dg/eh/simd-2.C, g++.dg/opt/cse2.C,
g++.old-deja/g++.ext/asmspec1.C,
g++.old-deja/g++.other/regstack.C,
gcc.dg/20000614-1.c, gcc.dg/20000807-1.c, gcc.dg/20000904-1.c,
gcc.dg/20001127-1.c, gcc.dg/20010202-1.c, gcc.dg/20010520-1.c,
gcc.dg/20011009-1.c, gcc.dg/20011029-2.c, gcc.dg/20020224-1.c,
gcc.dg/20020531-1.c, gcc.dg/20020616-1.c, gcc.dg/980226-1.c,
gcc.dg/980414-1.c, gcc.dg/980520-1.c, gcc.dg/980709-1.c,
gcc.dg/990117-1.c, gcc.dg/990130-1.c, gcc.dg/990213-2.c,
gcc.dg/990214-1.c, gcc.dg/991129-1.c, gcc.dg/991209-1.c,
gcc.dg/991214-1.c, gcc.dg/asm-1.c, gcc.dg/attr-returns_twice-1.c,
gcc.dg/clobbers.c, gcc.dg/i386-387-7.c, gcc.dg/i386-387-8.c,
gcc.dg/i386-3dnowA-1.c, gcc.dg/i386-3dnowA-2.c, gcc.dg/i386-asm-1.c
gcc.dg/i386-asm-2.c, gcc.dg/i386-asm-3.c, gcc.dg/i386-bitfield3.c
gcc.dg/i386-call-1.c, gcc.dg/i386-memset-1.c,
gcc.dg/i386-signbit-3.c, gcc.dg/i386-ssefn-1.c,
gcc.dg/i386-ssefn-2.c, gcc.dg/i386-ssefn-3.c, gcc.dg/i386-ssefn-4.c
gcc.dg/i386-volatile-1.c, gcc.dg/i386-xorps.c, gcc.dg/pr12092-1.c
gcc.dg/pr14289-1.c, gcc.dg/pr19236-1.c, gcc.dg/pr20204.c,
gcc.dg/pr9771-1.c, gcc.dg/register-var-1.c,
gcc.dg/sibcall-5.c, gcc.dg/charset/asm3.c,
gcc.dg/cpp/trad/num-sign.c: Run tests also on x86_64.

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

18 years ago2005-05-31 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 31 May 2005 16:21:08 +0000 (16:21 +0000)]
2005-05-31  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-cfg.c (verify_expr): Add checking for COND_EXPR's conditional
        expression.

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

18 years ago * doc/tm.texi (TARGET_GET_PCH_VALIDITY, TARGET_PCH_VALID_P): Tweak
rsandifo [Tue, 31 May 2005 15:51:42 +0000 (15:51 +0000)]
* doc/tm.texi (TARGET_GET_PCH_VALIDITY, TARGET_PCH_VALID_P): Tweak
the documentation to make it more future-proof.
(TARGET_CHECK_PCH_TARGET_FLAGS): Document this new hook.
* target.h (gcc_target): Add check_pch_target_flags.
* target-def.h (TARGET_CHECK_PCH_TARGET_FLAGS): New macro.
(TARGET_INITIALIZER): Include it.
* toplev.c (default_pch_valid_p): Use targetm.check_pch_target_flags.
* config/sh/sh.h (sh_pch_valid_p): Delete.
* config/sh/sh.c (TARGET_PCH_VALID_P, sh_pch_valid_p): Delete.
(sh_check_pch_target_flags): New function.
(TARGET_CHECK_PCH_TARGET_FLAGS): Override default.

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

18 years ago * fold-const.c (extract_array_ref): Handle more cases,
law [Tue, 31 May 2005 14:33:29 +0000 (14:33 +0000)]
    * fold-const.c (extract_array_ref): Handle more cases,
        do some useful canonicalization of the base.
        (fold_binary): Explicitly deal with arrays of zero-sized
        structures during folding of &a[i] == &a[j].

        * gcc.dg/tree-ssa/foldaddr-1.c: New test.

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

18 years ago * sv.po: Update.
jsm28 [Tue, 31 May 2005 13:34:33 +0000 (13:34 +0000)]
* sv.po: Update.

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

18 years ago * doc/install.texi (sparc-sun-solaris2*): Update note
ebotcazou [Tue, 31 May 2005 12:56:43 +0000 (12:56 +0000)]
* doc/install.texi (sparc-sun-solaris2*): Update note
about Sun bug 4910101.

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

18 years ago * doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
ebotcazou [Tue, 31 May 2005 12:26:38 +0000 (12:26 +0000)]
* doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
failure with Sun WorkShop 6 99/08/18 as.

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

18 years agoDaily bump.
gccadmin [Tue, 31 May 2005 00:16:47 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago2005-05-30 Pat Haugen <pthaugen@us.ibm.com>
dje [Mon, 30 May 2005 23:34:08 +0000 (23:34 +0000)]
2005-05-30  Pat Haugen  <pthaugen@us.ibm.com>

        * loop.c (loop_invariant_p, valid_initial_value_p): Use
        regs_invalidated_by_call instead of call_used_regs.

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

18 years ago * gfortran.h (GFC_STD_LEGACY): New "standard" macro. Reindent.
sayle [Mon, 30 May 2005 22:16:08 +0000 (22:16 +0000)]
* gfortran.h (GFC_STD_LEGACY): New "standard" macro.  Reindent.
* options.c (gfc_init_options): By default, allow legacy extensions
but warn about them.
(gfc_post_options): Make -pedantic warn about legacy extensions
even with -std=legacy.
(gfc_handle_option): Make -std=gnu follow the default behaviour
of warning about legacy extensions, but allowing them. Make the
new -std=legacy accept everything and warn about nothing.
* lang.opt (std=legacy): New F95 command line option.
* invoke.texi: Document both -std=f2003 and -std=legacy.
* gfortran.texi: Explain the two types of extensions and document
how they are affected by the various -std= command line options.

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

18 years ago2005-05-30 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 30 May 2005 22:02:30 +0000 (22:02 +0000)]
2005-05-30  Paolo Carlini  <pcarlini@suse.de>

* include/std/std_complex.h (log(const complex<_Tp>&)): When
_GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.

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

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

PR middle-end/21743
* gcc.dg/builtins-1.c: Activate disabled clog test.
* gcc.dg/torture/builtin-attr-1.c: Likewise.

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

18 years ago2005-05-30 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 30 May 2005 20:15:46 +0000 (20:15 +0000)]
2005-05-30  Paolo Carlini  <pcarlini@suse.de>

PR middle-end/21743
* builtins.def (BUILT_IN_CLOG, BUILT_IN_CLOGF, BUILT_IN_CLOGL):
Enable.
* doc/extend.texi: Add clog, clogf, clogl.

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

18 years ago2005-05-29 Paul Thomas <pault@gcc.gnu.org>
pault [Mon, 30 May 2005 20:00:50 +0000 (20:00 +0000)]
2005-05-29 Paul Thomas  <pault@gcc.gnu.org>

* testsuite/Changelog: Make up for my omission
to update for PR16939 etc patches.

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

18 years ago2005-05-29 Paul Thomas <pault@gcc.gnu.org>
pault [Mon, 30 May 2005 19:52:02 +0000 (19:52 +0000)]
2005-05-29 Paul Thomas  <pault@gcc.gnu.org>

* fortran/Changelog: Make up for my omission
to update for PR16939 etc patches.

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

18 years ago2005-05-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 30 May 2005 18:48:59 +0000 (18:48 +0000)]
2005-05-30  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/20303
* c-pragma.c: Include "vec.h".
(handle_pragma_visibility): Use VEC.

* doc/invoke.texi: Remove the nested visibility push limit.

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

18 years ago PR rtl-optimization/15422
sayle [Mon, 30 May 2005 18:02:08 +0000 (18:02 +0000)]
PR rtl-optimization/15422
* reg-stack.c (starting_stack_p): New static global.
(straighten_stack): Delete prototype. Change to update the stack
before the current insn.
(subst_stack_regs): Update call to straighten stack.
(emit_swap_insn): Delete prototype.  For the first insn in a
basic block, update stack_in instead of emitting a real swap.
(change_stack): When changing the stack before the first insn
in a basic block, update stack_in instead of emitting real code.
(compensate_edges): Clear starting_stack_p during compensation.
(convert_regs_1): Keep track of starting_stack_p whilst processing
a basic block.

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

18 years agoFix typo
mmitchel [Mon, 30 May 2005 16:29:22 +0000 (16:29 +0000)]
Fix typo

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

18 years agoFix typo
mmitchel [Mon, 30 May 2005 16:22:53 +0000 (16:22 +0000)]
Fix typo

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

18 years ago PR c++/21784
mmitchel [Mon, 30 May 2005 16:20:29 +0000 (16:20 +0000)]
PR c++/21784
* name-lookup.c (do_nonmember_using_decl): Ignore builtin
functions, even when the used name is not a function.

PR c++/21784
* g++.dg/lookup/using14.C: New test.

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

18 years ago2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
bryce [Mon, 30 May 2005 16:02:38 +0000 (16:02 +0000)]
2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>

PR libgcj/21821
* gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
MAXPATHLEN. Format exception message using a StringBuffer instead.

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

18 years ago * operators.def, optimize.c: Update copyright.
kazu [Mon, 30 May 2005 15:44:28 +0000 (15:44 +0000)]
* operators.def, optimize.c: Update copyright.

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

18 years ago * trans-expr.c: Fix comment typos.
kazu [Mon, 30 May 2005 15:33:32 +0000 (15:33 +0000)]
* trans-expr.c: Fix comment typos.

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

18 years ago * tree-ssa-ccp.c (const_val): Make it static.
kazu [Mon, 30 May 2005 15:23:54 +0000 (15:23 +0000)]
* tree-ssa-ccp.c (const_val): Make it static.

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

18 years ago * gcc.dg/c99-math-double-1.c, gcc.dg/c99-math-float-1.c,
kazu [Mon, 30 May 2005 15:13:30 +0000 (15:13 +0000)]
* gcc.dg/c99-math-double-1.c, gcc.dg/c99-math-float-1.c,
gcc.dg/c99-math-long-double-1.c, gcc.dg/c99-math.h: Remove
trailing ^M.

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

18 years ago * trans-expr.c: Remove trailing ^M.
kazu [Mon, 30 May 2005 15:03:46 +0000 (15:03 +0000)]
* trans-expr.c: Remove trailing ^M.

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

18 years ago * libgfortran/ChangeLog: fix date for previous commit.
fxcoudert [Mon, 30 May 2005 07:41:23 +0000 (07:41 +0000)]
* libgfortran/ChangeLog: fix date for previous commit.

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

18 years ago PR libfortran/20179
fxcoudert [Mon, 30 May 2005 07:38:36 +0000 (07:38 +0000)]
PR libfortran/20179
* io/unix.c (fd_close): Add test so that we don't close()
stdout and stderr.

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

18 years ago2005-05-29 Geoffrey Keating <geoffk@apple.com>
geoffk [Mon, 30 May 2005 06:10:05 +0000 (06:10 +0000)]
2005-05-29  Geoffrey Keating  <geoffk@apple.com>

PR target/21761
* config/rs6000/rs6000.md: Remove stray TARGET_32BIT from
pattern involving `:P'.

Index: testsuite/ChangeLog
2005-05-29  Geoffrey Keating  <geoffk@apple.com>

PR target/21761
* gcc.c-torture/compile/pr21761.c: New.

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

18 years ago * g++.old-deja/g++.eh/badalloc1.C: Make XFAIL only on darwin
geoffk [Mon, 30 May 2005 05:58:49 +0000 (05:58 +0000)]
* g++.old-deja/g++.eh/badalloc1.C: Make XFAIL only on darwin
before darwin8.

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

18 years ago * Makefile.in (install-cpp): Depend on installdirs.
geoffk [Mon, 30 May 2005 05:53:21 +0000 (05:53 +0000)]
* Makefile.in (install-cpp): Depend on installdirs.

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

18 years ago * tree-outof-ssa.c (_elim_graph): Change the type of edge_list
kazu [Mon, 30 May 2005 02:12:42 +0000 (02:12 +0000)]
* tree-outof-ssa.c (_elim_graph): Change the type of edge_list
to VEC(int,heap)*.
(new_elim_graph, clear_elim_graph, delete_elim_graph,
elim_graph_add_edge, elim_graph_remove_succ_edge,
FOR_EACH_ELIM_GRAPH_SUCC, FOR_EACH_ELIM_GRAPH_PRED): Use VEC
instead of VARRAY.

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

18 years ago2005-05-29 Michael Koch <konqueror@gmx.de>
tromey [Mon, 30 May 2005 02:01:15 +0000 (02:01 +0000)]
2005-05-29  Michael Koch  <konqueror@gmx.de>

PR libgcj/20273:
* java/util/LinkedHashMap.java (access): Set 'root.pred'.

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

18 years ago * raise.c (db): Add ATTRIBUTE_PRINTF_2.
ghazi [Mon, 30 May 2005 01:54:08 +0000 (01:54 +0000)]
* raise.c (db): Add ATTRIBUTE_PRINTF_2.

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

18 years agoCredit Janne for the issue patch.
kargl [Mon, 30 May 2005 00:27:11 +0000 (00:27 +0000)]
Credit Janne for the issue patch.

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

18 years agoPR fortran/20846
kargl [Mon, 30 May 2005 00:19:43 +0000 (00:19 +0000)]
PR fortran/20846
* gfortran.dg/inquire_8.f90: New test.

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

18 years ago fortran/PR20846
kargl [Mon, 30 May 2005 00:17:03 +0000 (00:17 +0000)]
 fortran/PR20846
 * io.c (gfc_match_inquire): Implement constraints on UNIT and FILE usage.

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

18 years agoDaily bump.
gccadmin [Mon, 30 May 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.
ghazi [Mon, 30 May 2005 00:04:09 +0000 (00:04 +0000)]
* ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.

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

18 years ago * cgraphunit.c, ipa-inline.c, loop-iv.c, modulo-sched.c,
kazu [Sun, 29 May 2005 19:38:34 +0000 (19:38 +0000)]
* cgraphunit.c, ipa-inline.c, loop-iv.c, modulo-sched.c,
opts.c, postreload-gcse.c, tree-browser.def, tree-eh.c,
tree-ssa-copyrename.c, tree-vect-analyze.c: Fix typos and
follow spelling conventions in error/dump messages.

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

18 years ago * ifcvt.c (noce_emit_move_insn): Construct a SET pattern directly
sayle [Sun, 29 May 2005 18:56:42 +0000 (18:56 +0000)]
* ifcvt.c (noce_emit_move_insn): Construct a SET pattern directly
if the RHS isn't suitable for calling emit_move_insn.

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

18 years ago * ChangeLog: add PR numbers
fxcoudert [Sun, 29 May 2005 18:38:11 +0000 (18:38 +0000)]
    * ChangeLog: add PR numbers
        * gfortran.dg/dollar_edit_descriptor-1.f: Add correct dg-options.

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

18 years ago * tree-ssa-ccp.c (ccp_fold): Return immediately after calling
kazu [Sun, 29 May 2005 18:28:44 +0000 (18:28 +0000)]
* tree-ssa-ccp.c (ccp_fold): Return immediately after calling
fold_unary and fold_binary.

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

18 years ago2005-05-29 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 29 May 2005 16:03:43 +0000 (16:03 +0000)]
2005-05-29 Paul Thomas  <pault@gcc.gnu.org>

* gfortran.dg/char_pointer_assign.f90:
Test character-pointerassignments and pointer assignments.
* gfortran.dg/char_pointer_dummy.f90:
Test character-pointer dummy arguments.
* gfortran.dg/char_pointer_func.f90:
Test character-pointer function returns.
* gfortran.dg/char_pointer_dependency.f90:
Test character-pointer functions with dependencies.

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

18 years ago2005-05-29 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 29 May 2005 16:02:09 +0000 (16:02 +0000)]
2005-05-29 Paul Thomas  <pault@gcc.gnu.org>

PR fortran/16939
PR fortran/17192
PR fortran/17193
PR fortran/17202
PR fortran/18689
PR fortran/18890
PR fortran/21297
* fortran/trans-array.c (gfc_conv_resolve_dependencies): Add string
length to temp_ss for character pointer array assignments.
* fortran/trans-expr.c (gfc_conv_variable): Correct errors in
dereferencing of characters and character pointers.
* fortran/trans-expr.c (gfc_conv_function_call): Provide string
length as return argument for various kinds of handling of return.
Return a char[]* temporary for character pointer functions and
dereference the temporary upon return.

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

18 years ago * reg-stack.c (propagate_stack): Always copy the source stack to
sayle [Sun, 29 May 2005 15:37:44 +0000 (15:37 +0000)]
* reg-stack.c (propagate_stack): Always copy the source stack to
the destination.  This routine is now only called when this is safe.
(better_edge): New function split out from convert_regs_1 to
determine which of two edges is better to propagate across.
(convert_regs_1):  We need only search for a best edge if the
stack layout hasn't been defined yet.  Use better_edge to help
find beste.  No longer traverse unnecessary edges.

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

18 years ago2005-05-29 Keith Besaw <kbesaw@us.ibm.com>
dorit [Sun, 29 May 2005 13:14:42 +0000 (13:14 +0000)]
2005-05-29  Keith Besaw  <kbesaw@us.ibm.com>

        * tree-ssa-alias.c (new_type_alias): New procedure to
        create a type memory tag for a pointer with a may-alias
        set determined from a variable declaration.
        * tree-flow.h: export declaration of new_type_alias
        * tree-optimize.c (init_tree_optimization_passes): document
        that pass_may_alias cannot be called after pass_vectorize.
        * tree-vect-transform (vect_create_data_ref_ptr): Call
        new_type_alias when an type memory tag isn't available
        for a reference.
        (vectorizable_store): Use copy_virtual_operands to update
        virtual defs in place (so that loop_version can be called).
        Call mark_for_renaming for the virtual defs in case peeling
        is done and virtual uses outside the loop need to be updated.

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

18 years ago * gfortran.dg/output_exponents_1.f90: New test.
fxcoudert [Sun, 29 May 2005 12:44:37 +0000 (12:44 +0000)]
* gfortran.dg/output_exponents_1.f90: New test.

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

18 years ago * gfortran.dg/dollar_edit_descriptor-1.f: New test.
fxcoudert [Sun, 29 May 2005 12:33:30 +0000 (12:33 +0000)]
* gfortran.dg/dollar_edit_descriptor-1.f: New test.

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

18 years ago PR libfortran/20006
fxcoudert [Sun, 29 May 2005 12:22:49 +0000 (12:22 +0000)]
PR libfortran/20006
* io.c (format_item_1): Add check and extension warning for
$ edit descriptor.
* io/format.c (parse_format_list): Set repeat count of $ format
node to 1.
* io/transfer.c (read_sf): Add g.seen_dollar to the test
concerning advancing I/O.
(data_transfer_init): Likewise.
(finalize_transfer): Likewise.

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

18 years ago PR tree-optimization/21639
dorit [Sun, 29 May 2005 06:47:08 +0000 (06:47 +0000)]
PR tree-optimization/21639
        * tree-complex.c (pass_lower_vector_s): Remove TODO_ggc_collect.

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

18 years ago * cal.c, decl.c, init.c, raise.c, trans.c, utils2.c: Fix
kazu [Sun, 29 May 2005 03:57:15 +0000 (03:57 +0000)]
* cal.c, decl.c, init.c, raise.c, trans.c, utils2.c: Fix
comment typos.
* gnat_rm.texi, gnat_ugn.texi: Fix typos.

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

18 years agoDaily bump.
gccadmin [Sun, 29 May 2005 00:16:18 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago PR c++/21340
mmitchel [Sun, 29 May 2005 00:16:05 +0000 (00:16 +0000)]
PR c++/21340
* method.c (implicitly_declare_fn): Clear processing_template_decl
when generating implicit declaration.

PR c++/21340
* g++.dg/init/ctor6.C: New test.

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

18 years ago PR tree-optimization/21562
hubicka [Sat, 28 May 2005 22:27:04 +0000 (22:27 +0000)]
PR tree-optimization/21562
* cfgexpand.c (construct_init_block): Deal properly with the case
of entry edge not pointing to very first basic block.

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

18 years ago2005-05-28 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 28 May 2005 21:57:03 +0000 (21:57 +0000)]
2005-05-28  Paolo Carlini  <pcarlini@suse.de>

Revert:
2005-05-18  Paolo Carlini  <pcarlini@suse.de>
    Nathan Myers  <ncm@cantrip.org>

PR libstdc++/19495
* include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
size_type instead of char and rename to _Raw_alloc.
* include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
Use the above.
* src/bitmap_allocator.cc: Add instantiation for size_type.
* src/mt_allocator.cc: Likewise.
* src/pool_allocator.cc: Likewise.
* include/ext/array_allocator.h: Tweak slightly, avoid assuming
the existence of an _Array::begin() and size() members.
* testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
of size_type, instead of char, thus avoiding problems with
rebinds, not treated correctly by array_allocator.

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

18 years ago * basic-block.h: Remove forward declaration of bb_ann_d.
kazu [Sat, 28 May 2005 21:19:59 +0000 (21:19 +0000)]
* basic-block.h: Remove forward declaration of bb_ann_d.

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

18 years ago * Makefile.in (OBJS-common): Add tree-cfgcleanup.o.
kazu [Sat, 28 May 2005 21:09:17 +0000 (21:09 +0000)]
* Makefile.in (OBJS-common): Add tree-cfgcleanup.o.
* tree-flow.h: Add prototypes for start_recording_case_labels
and end_recording_case_labels.
* tree-cfg.c (start_recording_case_labels,
end_recording_case_labels): Export.
(cleanup_tree_cfg_loop, modified_noreturn_calls,
cleanup_control_flow, cleanup_control_expr_graph,
remove_fallthru_edge, phi_alternatives_equal,
tree_forwarder_block_p, has_abnormal_incoming_edge_p,
remove_forwarder_block, cleanup_forwarder_blocks,
remove_forwarder_block_with_phi, merge_phi_nodes,
gate_merge_phi, pass_merge_phi): Move to ...
* tree-cfgcleanup.c: ... here.

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

18 years ago * tree-ssa-ccp.c (ccp_fold): Remove code that produces
kazu [Sat, 28 May 2005 21:03:53 +0000 (21:03 +0000)]
* tree-ssa-ccp.c (ccp_fold): Remove code that produces
non-gimple min minvariant.

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

18 years ago* gfortran.dg/subnormal_1.f90: new test.
kargl [Sat, 28 May 2005 18:35:20 +0000 (18:35 +0000)]
* gfortran.dg/subnormal_1.f90: new test.

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

18 years ago* arith.c (gfc_arith_init_1): Fix off by one problem;
kargl [Sat, 28 May 2005 18:28:31 +0000 (18:28 +0000)]
* arith.c (gfc_arith_init_1): Fix off by one problem;
  (gfc_check_integer_range): Chop extra bits in subnormal numbers.

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

18 years ago * tree-ssa-threadupdate.c: (create_edge_and_update_destination_phis):
hubicka [Sat, 28 May 2005 18:03:56 +0000 (18:03 +0000)]
* tree-ssa-threadupdate.c: (create_edge_and_update_destination_phis):
Update profile.
* value-prof.c (tree_divmod_fixed_value_transform): Be more verbose in
debug output.
(tree_mod_subtract): Fix profile updating code.
(tree_divmod_values_to_profile): Do not produce useless value profilers
for divisions.

* tree-prof.exp: Fix comment.
* value-prof-1.c: New.
* value-prof-2.c: New.
* value-prof-3.c: New.
* value-prof-4.c: New.

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

18 years ago* intrinsic.texi: added documentation for BIT_SIZE, BTEST, CHAR, CEILING
kargl [Sat, 28 May 2005 16:41:31 +0000 (16:41 +0000)]
* intrinsic.texi: added documentation for BIT_SIZE, BTEST, CHAR, CEILING
  and CMPLX

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