OSDN Git Service
steven [Mon, 26 Mar 2007 19:37:11 +0000 (19:37 +0000)]
* ifcvt.c (noce_try_store_flag_constants): Don't check
no_new_pseudos here.
(noce_try_store_flag_constants): Don't check no_new_pseudos.
(noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove_arith,
noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
noce_try_sign_mask): Likewise.
(if_convert): Check no_new_pseudos here.
(cond_exec_process_if_block, noce_process_if_block, find_if_block):
Remove prototypes.
(struct noce_if_info): Add then_bb, else_bb, join_bb members.
(noce_get_condition): Handle new then_else_reversed argument.
(noce_init_if_info): Remove, fold into noce_find_if_block.
(noce_process_if_block): Take a struct noce_if_info as the
argument. Don't set up one based on ce_if_info. Update pointer
references accordingly.
(cond_move_process_if_block): Likewise.
(process_if_block): Removed.
(find_if_block): Removed. Move functionality two new functions,
noce_find_if_block and cond_exec_find_if_block.
(noce_find_if_block): New function. Be aware of IF-THEN-JOIN
blocks and the symmetric IF-ELSE-JOIN case.
(cond_exec_find_if_block): Also new function mostly based on old
find_if_block and process_if_block.
(find_if_header): Replace find_if_block call with separately
guarded calls to noce_find_if_block and cond_exec_find_if_block.
(find_cond_trap): Update noce_get_condition call.
(dead_or_predicable): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123223
138bc75d-0d04-0410-961f-
82ee72b054a4
daney [Mon, 26 Mar 2007 18:15:31 +0000 (18:15 +0000)]
* configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
fork, execvp, execinfo.h, pthread_mutexattr_settype,
pthread_mutexattr_setkind_np and sys/wait.h.
* Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* include/config.h.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* configure: Regenerate.
* gcj/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123221
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 26 Mar 2007 15:37:47 +0000 (15:37 +0000)]
2007-03-26 H.J. Lu <hongjiu.lu@intel.com>
* acx.m4 (ACX_BUGURL): Set BUGURL first. Quote $BUGURL first
when setting REPORT_BUGS_TEXI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123218
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 26 Mar 2007 14:09:06 +0000 (14:09 +0000)]
* lib/gcc-dg.exp (gcc-dg-debug-runtest): Remove build file trivial.S.
* gcc.dg/debug/dwarf2/dwarf2.exp: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123217
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 26 Mar 2007 13:25:26 +0000 (13:25 +0000)]
* inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
__STDC_VERSION__ < 199901L.
(glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
with #ifdef __GNUC_GNU_INLINE__.
(glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
with defined(__GNUC_STDC_INLINE__).
(glibc_c99_inline_4): Change select, add second c_fix_arg.
Replace #if __STDC_VERSION__ < 199901L with
#ifdef __GNUC_GNU_INLINE__.
* fixincl.x: Regenerated.
* tests/base/bits/string2.h: Update.
* tests/base/sys/sysmacros.h: Update.
* tests/base/sys/stat.h: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123216
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 26 Mar 2007 13:23:17 +0000 (13:23 +0000)]
* config/i386/i386.c (IX86_BUILTIN_CMPNEPD, IX86_BUILTIN_CMPNESD):
Remove.
(IX86_BUILTIN_PSLLW128, IX86_BUILTIN_PSLLD128, IX86_BUILTIN_PSLLQ128,
IX86_BUILTIN_PSRAW128, IX86_BUILTIN_PSRAD128, IX86_BUILTIN_PSRLW128,
IX86_BUILTIN_PSRLD128, IX86_BUILTIN_PSRLQ128): Remove.
(ix86_init_mmx_sse_builtins): Remove v8hi_ftype_v8hi_v2di and
v4si_ftype_v4si_v2di. Remove __builtin_ia32_psllw128,
__builtin_ia32_pslld128, __builtin_ia32_psllq128,
__builtin_ia32_psrlw128, __builtin_ia32_psrld128,
__builtin_ia32_psrlq128, __builtin_ia32_psraw128 and
__builtin_ia32_psrad128 builtins.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123215
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 26 Mar 2007 10:41:41 +0000 (10:41 +0000)]
2007-03-26 Benjamin Kosnik <bkoz@redhat.com>
* include/c_compatibility/complex.h: Without
__GXX_EXPERIMENTAL_CXX0X__ include_next complex.h.
* include/c_compatibility/fenv.h: Same.
* include/c_compatibility/inttypes.h: Same.
* include/c_compatibility/stdbool.h: Same.
* include/c_compatibility/stdint.h: Same.
* include/c_compatibility/tgmath.h: Same.
* include/tr1/cinttypes: Use include_next.
* include/tr1/cstdint: Same.
* include/tr1/cstdbool: Same.
* acinclude.m4 (GLIBCXX_ENABLE_C99): Add check for tgmath.h
* configure: Regenerate.
* config.h.in: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123214
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 26 Mar 2007 08:34:01 +0000 (08:34 +0000)]
* reg-stack.c (replace_reg): Use IN_RANGE macro in gcc_assert().
* config/i386/constraints.md
(define_constraint "I"): Use IN_RANGE macro.
(define_constraint "J"): Ditto.
(define_constraint "K"): Ditto.
(define_constraint "M"): Ditto.
(define_constraint "N"): Ditto.
(define_constraint "O"): Ditto.
* config/i386/predicates.md
(define_predicate "register_no_elim_operand"): Use IN_RANGE macro.
(define_predicate "const_0_to_3_operand"): Ditto.
(define_predicate "const_0_to_7_operand"): Ditto.
(define_predicate "const_0_to_15_operand"): Ditto.
(define_predicate "const_0_to_63_operand"): Ditto.
(define_predicate "const_0_to_255_operand"): Ditto.
(define_predicate "const_1_to_31_operand"): Ditto.
(define_predicate "const_2_to_3_operand"): Ditto.
(define_predicate "const_4_to_7_operand"): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123210
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 26 Mar 2007 06:08:54 +0000 (06:08 +0000)]
* gfortran.dg/use_[567].f90: Use correct cleanup-modules dg directive.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123209
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 26 Mar 2007 03:41:29 +0000 (03:41 +0000)]
2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31199
* gfortran.dg/fmt_t_4.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123207
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 26 Mar 2007 03:26:51 +0000 (03:26 +0000)]
Fix date in entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123206
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 26 Mar 2007 03:23:15 +0000 (03:23 +0000)]
2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31199
*io/io.h: Add saved_pos to gfc_unit structure.
*io/open.c (new_unit): Initialize saved_pos.
*io/transfer.c (data_transfer_init): Set max_pos to value in saved_pos.
(next_record_w): Fix whitespace.
(finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
later use. If not ADVANCE="no" set saved_pos to zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123205
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 25 Mar 2007 23:17:29 +0000 (23:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123203
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sun, 25 Mar 2007 20:17:51 +0000 (20:17 +0000)]
2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/31297
* gfortran.dg/backspace_5.f: Initialize variable(s).
* gfortran.dg/backspace_6.f: Likewise.
* gfortran.dg/char_bounds_check_fail_1: Likewise.
* gfortran.dg/direct_io_2.f90: Likewise.
* gfortran.dg/write_back.f: Likewise.
* gfortran.dg/write_rewind_2.f: Likewise.
* gfortran.dg/write_rewind_1.f: Likewise.
* gfortran.dg/write_rewind_2.f: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123200
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 25 Mar 2007 16:29:15 +0000 (16:29 +0000)]
2007-03-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/functional: Formatting fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123199
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 25 Mar 2007 12:44:40 +0000 (12:44 +0000)]
* config/rs6000/rs6000.c (rs6000_emit_prologue): Always clobber LR
in SImode for save_world.
* config/rs6000/altivec.md (save_world, restore_world): Convert to
LR hard reg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123198
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Sun, 25 Mar 2007 11:08:29 +0000 (11:08 +0000)]
PR tree-optimization/30784
* fold-const.c (fold_ternary): Handle CONSTRUCTOR in case
BIT_FIELD_REF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123197
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Sun, 25 Mar 2007 09:01:23 +0000 (09:01 +0000)]
PR fortran/30877
* fortran/interface.c (check_operator_interface): Implement
the standard checks on user operators extending intrinsic operators.
* fortran/resolve.c (resolve_operator): If the ranks of operators
don't match, don't error out but try the user-defined ones first.
* gfortran.dg/operator_1.f90: New test.
* gfortran.dg/operator_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123196
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sun, 25 Mar 2007 08:29:10 +0000 (08:29 +0000)]
2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/31196
* intrinsics/reshape_generic.c (reshape_internal): Increment
correct variable.
2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/31196
* gfortran.dg/reshape_transpose_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123195
138bc75d-0d04-0410-961f-
82ee72b054a4
revitale [Sun, 25 Mar 2007 06:53:02 +0000 (06:53 +0000)]
fix in tree-if-conv.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123194
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 25 Mar 2007 02:41:54 +0000 (02:41 +0000)]
* config/rs6000/darwin.md (load_macho_picbase): Ignore operand 0.
(load_macho_picbase_{si,di}): Convert to LR hard reg.
(call_indirect_nonlocal_darwin64): Same.
(call_nonlocal_darwin64): Same.
(call_value_indirect_nonlocal_darwin64): Same.
(call_value_nonlocal_darwin64): Same.
(sibcall_nonlocal_darwin64): Same.
(sibcall_value_nonlocal_darwin64): Same.
(sibcall_symbolic_64): Same.
(sibcall_value_symbolic_64): Same.
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Remove
LR pseudo.
(rs6000_emit_load_toc_table): Same.
* config/rs6000/altivec.md (restore_world): Convert to LR hard reg.
* config/rs6000/rs6000.md (mulh_call): Convert to LR hard reg.
(mull_call): Same.
(divss_call): Same.
(divus_call): Same.
(quoss_call): Same.
(quous_call): Same.
(load_toc_v4_pic_si): Same
(load_toc_v4_PIC_1): Same.
(load_toc_v4_PIC_1b): Same.
(call_indirect_aix{32,64}): Same.
(call_value_indirect_aix{32,64}): Same.
(call): Same.
(call_value): Same.
(call_local{32,64}): Same.
(call_value_local{32,64}): Same.
(call_indirect_nonlocal_aix{32,64}): Same.
(call_nonlocal_aix{32,64}): Same.
(call_value_indirect_nonlocal_aix{32,64}): Same.
(call_value_nonlocal_aix{32,64}): Same.
(call_indirect_nonlocal_sysv<mode>): Same.
(call_nonlocal_sysv<mode>): Same.
(call_value_indirect_nonlocal_sysv<mode>): Same.
(call_value_nonlocal_sysv<mode>): Same.
(sibcall): Same.
(sibcall_local{32,64}): Same.
(sibcall_value_local{32,64}): Same.
(sibcall_nonlocal_aix{32,64}): Same.
(sibcall_value_nonlocal_aix{32,64}): Same.
(sibcall_value_nonlocal_aix{32,64}): Same.
(sibcall_nonlocal_sysv<mode>): Same.
(sibcall_value): Same.
(sibcall_value_nonlocal_sysv<mode>): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123193
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Sun, 25 Mar 2007 01:07:45 +0000 (01:07 +0000)]
2007-03-24 Paul Brook <paul@codesourcery.com>
* config/arm/lib1funcs.asm (div0): Use ARM_FUNC_START and do_push.
* config/arm/linux-eabi.h: Remove legacy syscall hack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123192
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 25 Mar 2007 00:17:27 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123190
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Sat, 24 Mar 2007 20:19:51 +0000 (20:19 +0000)]
PR fortran/30655
* expr.c (check_dimension): Fix logic of comparisons.
* gfortran.dg/bounds_check_6.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123187
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 24 Mar 2007 19:28:37 +0000 (19:28 +0000)]
* config/ia64/constraints.md: New file.
* config/ia64/predicates.md: Replace CONST_OK_FOR_? with
satisfies_constraint_?.
* config/ia64/ia64.c (ia64_move_ok, ia64_legitimate_constant_p,
ia64_reload_gp, spill_restore_mem, ia64_expand_prologue,
ia64_expand_epilogue, ia64_split_return_addr_rtx, ia64_rtx_costs,
ia64_output_mi_thunk): Likewise.
(ia64_const_ok_for_letter_p): Remove.
(ia64_const_double_ok_for_letter_p): Remove.
(ia64_extra_constraint): Remove.
* config/ia64/ia64.h (REG_CLASS_FROM_LETTER): Remove.
(CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_L,
CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O, CONST_OK_FOR_P,
CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_G,
CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT,
EXTRA_MEMORY_CONSTRAINT): Remove.
* config/ia64/ia64.md: Include constriants.md. Replace
CONST_OK_FOR_? with satisfies_constraint_?.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123186
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Sat, 24 Mar 2007 17:04:47 +0000 (17:04 +0000)]
Add BID decimal support
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123185
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sat, 24 Mar 2007 14:17:34 +0000 (14:17 +0000)]
2007-03-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31215
* trans-expr.c (gfc_apply_interface_mapping_to_expr): Return
int result that is non-zero if the expression is the function
result. Only the characteristics of the result expression
can be used in a procedure interface, so simplify LEN in situ
using its character length.
PR fortran/31219
PR fortran/31200
* trans-expr.c (gfc_conv_function_call): Do not use
gfc_conv_expr_reference for actual pointer function with formal
target because a temporary is created that does not transfer
the reference correctly. Do not indirect formal pointer
functions since it is the function reference that is needed.
2007-03-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31219
* gfortran.dg/pointer_function_actual_1.f90: New test.
PR fortran/31200
* gfortran.dg/pointer_function_actual_2.f90: New test.
PR fortran/31215
* gfortran.dg/result_in_spec_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123184
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sat, 24 Mar 2007 12:30:58 +0000 (12:30 +0000)]
2007-03-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31215
* trans-expr.c (gfc_apply_interface_mapping_to_expr): Return
int result that is non-zero if the expression is the function
result. Only the characteristics of the result expression
can be used in a procedure interface, so simplify LEN in situ
using its character length.
PR fortran/31219
PR fortran/31200
* trans-expr.c (gfc_conv_function_call): Do not use
gfc_conv_expr_reference for actual pointer function with formal
target because a temporary is created that does not transfer
the reference correctly. Do not indirect formal pointer
functions since it is the function reference that is needed.
2007-03-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31219
* gfortran.dg/pointer_function_actual_1.f90: New test.
PR fortran/31200
* gfortran.dg/pointer_function_actual_2.f90: New test.
PR fortran/31215
* gfortran.dg/result_in_spec_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123183
138bc75d-0d04-0410-961f-
82ee72b054a4
brooks [Sat, 24 Mar 2007 09:41:55 +0000 (09:41 +0000)]
* gfortran.h: Edit comments on GFC_STD_*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123182
138bc75d-0d04-0410-961f-
82ee72b054a4
brooks [Sat, 24 Mar 2007 09:39:01 +0000 (09:39 +0000)]
* invoke.texi: Misc. small typo fixes.
(-Wcharacter-truncation): Add.
(-Wnonstd-intrinsics): Correct spelling.
(-std=): Edit.
(-fintrinsic-modules-path): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123181
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sat, 24 Mar 2007 07:13:17 +0000 (07:13 +0000)]
* testsuite/libffi.call/return_fl2.c (return_fl): Mark as static.
Use 'volatile float sum' to create sum of floats to avoid false
negative due to excess precision on ix86 targets.
(main): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123180
138bc75d-0d04-0410-961f-
82ee72b054a4
zaks [Sat, 24 Mar 2007 00:33:20 +0000 (00:33 +0000)]
* MAINTAINERS (Modulo Scheduler): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123178
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 24 Mar 2007 00:17:13 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123176
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 23 Mar 2007 23:21:46 +0000 (23:21 +0000)]
* fold-const.c (fold_binary): Correct warning for X - c >= X.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123172
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 23 Mar 2007 23:19:25 +0000 (23:19 +0000)]
* tree-dump.c (dump_files): Correct comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123171
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 23 Mar 2007 23:17:02 +0000 (23:17 +0000)]
* tree-vrp.c (operand_less_p): Ignore fold overflow warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123170
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Fri, 23 Mar 2007 23:10:37 +0000 (23:10 +0000)]
Fix accidental commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123169
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Fri, 23 Mar 2007 23:06:52 +0000 (23:06 +0000)]
Remove the patch from ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123168
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Fri, 23 Mar 2007 23:05:28 +0000 (23:05 +0000)]
* tracer.c (tracer): Don't take FLAGS argument. Assert we are
in cfglayout mode. Don't go into and out of cfglayout mode.
Link the blocks in the order of the constructed traces.
(rest_of_handle_tracer): Adjust call to tracer.
* loop-init.c (rtl_loop_init): Assert we are in cfglayout mode.
Don't go into cfglayout mode.
(rtl_loop_done): Don't go out of cfglayout mode.
* cfglayout.c (relink_block_chain): New function, split out from...
(fixup_reorder_chain): ...here. Remove redundant checking.
(cfg_layout_finalize): Don't clear the header, footer, and aux
fields here, move the code to do so to relink_block_chain. Likewise
for free_original_copy_tables.
* rtl.h (tracer): Update prototype.
* bb-reorder.c (reorder_basic_blocks): Don't take FLAGS argument.
Assert we are in cfglayout mode. Don't go into and out of cfglayout
mode. Use relink_block_chain to serialize the CFG according to the
new basic block order. Move targetm.cannot_modify_jumps_p check from
here...
(gate_handle_reorder_blocks): ...to here.
(duplicate_computed_gotos): Move targetm.cannot_modify_jumps_p check
from here...
(gate_duplicate_computed_gotos): ...to here.
(rest_of_handle_reorder_blocks): Don't see if anything has changed,
something always changes when going into and out of cfglayout mode.
Perform an expensive cfg cleanup while going into cfglayout mode.
Always update liveness information on HAVE_conditional_execution
targets. Reserialize the basic blocks and go out of cfglayout mode.
* reg-stack.c: Include cfglayout.h.
(rest_of_handle_stack_regs): Go into and out of cfglayout mode around
the call to reorder_basic_blocks.
* basic-block.h (reorder_basic_blocks): Update prototype.
(relink_block_chain): New prototype.
* passes.c (pass_outof_cfg_layout_mode): Move after cse2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123167
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 23 Mar 2007 22:30:18 +0000 (22:30 +0000)]
2007-03-23 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc:
Likewise use std::numeric_limits<>::max().
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc:
Minor tweaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123166
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 23 Mar 2007 22:30:09 +0000 (22:30 +0000)]
2007-03-23 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc:
Likewise use std::numeric_limits<>::max().
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc:
Minor tweaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123165
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 23 Mar 2007 19:44:46 +0000 (19:44 +0000)]
* config/mips/mips.md (type, hazard, *movdi_32bit,
*movdi_gp32_fp64, *movdi_64bit, *movsi_internal, movcc,
*movhi_internal, *movqi_internal, *movsf_hardfloat,
*movdf_hardfloat_64bit, *movdf_hardfloat_32bit, *movdf_softfloat,
movv2sf_hardfloat_64bit, load_df_low, load_df_high, store_df_high,
mthc1, mfhc1): Change xfer instruction type to mfc and mtc, as
applicable.
(movcc): Change first xfer to multi.
* config/mips/24k.md, config/mips/4100.md, config/mips/4300.md,
config/mips/5000.md, config/mips/5400.md, config/mips/5500.md,
config/mips/5k.md, config/mips/7000.md, config/mips/9000.md,
config/mips/generic.md: Change reservations using "xfer" to use
"mfc,mtc".
* config/mips/sb1.md (ir_sb1_mtxfer): Use "mtc" instead of
using match_operand.
(ir_sb1_mfxfer): Use "mfc" instead of using match_operand.
* config/mips/sr71k.md (ir_sr70_xfer_from): Use "mfc" instead of
examining mode.
(ir_sr70_xfer_to): Use "mtc" instead of examining mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123164
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 23 Mar 2007 19:37:28 +0000 (19:37 +0000)]
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc
(test02): Use std::numeric_limits<>::max() to get suitable large
values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123163
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Fri, 23 Mar 2007 19:25:19 +0000 (19:25 +0000)]
2007-03-23 Andreas Tobler <a.tobler@schweiz.org>
* testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for
*-*-darwin*.
* testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library
and use it if found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123162
138bc75d-0d04-0410-961f-
82ee72b054a4
brooks [Fri, 23 Mar 2007 18:40:46 +0000 (18:40 +0000)]
* MAINTAINERS (fortran 95 front end): Add myself.
(c++ front end): whitespace fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123161
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Fri, 23 Mar 2007 17:12:32 +0000 (17:12 +0000)]
2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for
REPORT_BUGS_TEXI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123160
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 23 Mar 2007 16:34:51 +0000 (16:34 +0000)]
* config/i386/i386.c: Remove unnecessary function declarations.
Move targetm definition, and all related macros, to the end of
the file. Resort some functions to put definitions before uses.
(ix86_attribute_table): Make static. Move to end of file.
(ix86_gimplify_va_arg): Make static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123159
138bc75d-0d04-0410-961f-
82ee72b054a4
gary [Fri, 23 Mar 2007 11:25:46 +0000 (11:25 +0000)]
2007-03-23 Gary Benson <gbenson@redhat.com>
* link.cc (_Jv_Linker::resolve_method_entry):
Ensure that the argument types and the return type of the
found method match those expected by the calling method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123156
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Fri, 23 Mar 2007 07:00:56 +0000 (07:00 +0000)]
PR fortran/30834
* arith.c (complex_pow): Rewrite to handle large power.
(gfc_arith_power): Handle large power in the real and integer
cases.
* gfortran.dg/integer_exponentiation_3.F90: New test.
* gfortran.dg/integer_exponentiation_4.f90: New test.
* gfortran.dg/integer_exponentiation_5.F90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123154
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 23 Mar 2007 04:39:08 +0000 (04:39 +0000)]
* cp-tree.h (current_tempalte_parms): Improve documentation.
* pt.c (current_template_args): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123153
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 23 Mar 2007 04:37:40 +0000 (04:37 +0000)]
PR c++/30863
* parser.c (cp_parser_parse_and_diagnose_invalid_type_name): Do
not consume tokens when failing.
PR c++/30863
* g++.dg/template/error24.C: New test.
* g++.dg/parse/tmpl-outside1.C: Tweak error markers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123152
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 23 Mar 2007 04:31:21 +0000 (04:31 +0000)]
Mark Mitchell <mark@codesourcery.com>
PR c++/31273
* call.c (standard_conversion): Use type_decays_to. Keep FCODE
consistent with FROM.
PR c++/31273
* g++.dg/expr/bitfield7.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123150
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 23 Mar 2007 02:58:46 +0000 (02:58 +0000)]
* error.c (dump_expr): Handle dependent names that designate types.
* cxx-pretty-print.c (pp_cxx_unqualified_id): Handle TYPENAME_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123148
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 23 Mar 2007 02:51:56 +0000 (02:51 +0000)]
* acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123147
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 23 Mar 2007 02:02:38 +0000 (02:02 +0000)]
* config/i386/i386.c (ix86_function_regparm): Early exit for 64-bit;
don't increase local_regparm with force_align_arg_pointer check.
(ix86_function_sseregparm): Assert 32-bit.
(type_has_variadic_args_p): New.
(ix86_return_pops_args): Early exit for 64-bit. Reindent; use
type_has_variadic_args_p.
(ix86_function_arg_regno_p): Use == 0 instead of ! test for eax.
(init_cumulative_args): Remove TARGET_DEBUG_ARG. Remove zero_cum;
use memset instead. Do maybe_vaarg check first; skip attribute
tests if true; skip attribute tests for 64-bit.
(construct_container): Remove TARGET_DEBUG_ARG.
(function_arg_advance_32, function_arg_advance_64): Split out ...
(function_arg_advance): ... from here.
(function_arg_32, function_arg_64): Split out ...
(function_arg): ... from here.
(ix86_pass_by_reference): Tidy.
(ix86_function_value_regno_p): Rearrange w/ switch on regno.
(function_value_32): New, from parts of ix86_function_value
and ix86_value_regno.
(function_value_64): New, from parts of ix86_function_value
and ix86_libcall_value.
(ix86_function_value_1): New.
(ix86_function_value, ix86_libcall_value): Use it.
(return_in_memory_32, return_in_memory_64): Split out ...
(ix86_return_in_memory): ... from here.
(ix86_struct_value_rtx): Skip for 64-bit.
(ix86_libcall_value, ix86_value_regno): Remove.
(setup_incoming_varargs_64): Split out ...
(ix86_setup_incoming_varargs): ... from here.
(ix86_va_start): Remove TARGET_DEBUG_ARG.
(legitimate_address_p, legitimize_address): Remove TARGET_DEBUG_ADDR.
* config/i386/i386-protos.h (ix86_function_value): Remove.
* config/i386/i386.opt (TARGET_DEBUG_ADDR, TARGET_DEBUG_ARG): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123146
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 23 Mar 2007 00:17:46 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123142
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Fri, 23 Mar 2007 00:13:19 +0000 (00:13 +0000)]
2007-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31052
* file_pos.c: Update Copyright year.
* io/open.c (test_endfile): Restore test_endfile to fix SPEC regression.
Update Copyright year.
* io/io.h: Same.
* io/unix.c (is_special): Add missing type for this function.
Update Copyright year.
* io/transfer.c (next_record_r): Restore test_endfile.
(st_read): Fix whitespace. Update Copyright year
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123139
138bc75d-0d04-0410-961f-
82ee72b054a4
daney [Fri, 23 Mar 2007 00:06:41 +0000 (00:06 +0000)]
PR libgcj/31228
* configure.ac: Add checks for getrlimit and sys/resource.h.
* include/posix.h (_Jv_platform_close_on_exec): Remove.
* include/config.h.in: Regenerate.
* configure: Regenerate.
* gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
_Jv_platform_close_on_exec;
* gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
(accept): Likewise.
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
* java/lang/natPosixProcess.cc: Include sys/resource.h.
(nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
pipes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123138
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Thu, 22 Mar 2007 23:04:24 +0000 (23:04 +0000)]
2007-03-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR other/23572
* c-lex.c (interpret_float): On overflow, emit pedantic warning if
infinities not supported, otherwise emit warning if -Woverflow. On
underflow, emit warning if -Woverflow.
* real.c (real_from_string): Return -1 if underflow, +1 if overflow
and 0 otherwise.
* real.h (real_from_string): Update declaration
testsuite/
* gcc.dg/float-range-4.c: New.
* gcc.dg/float-range-1.c: Update. Test for a warning.
* gcc.dg/float-range-3.c: New.
* gcc.dg/float-range-5.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123137
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Thu, 22 Mar 2007 22:51:50 +0000 (22:51 +0000)]
PR fortran/31262
* trans-const.c (gfc_conv_mpz_to_tree): Allow integer constants
larger than twice the width of a HOST_WIDE_INT.
* gfortran.dg/no_range_check_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123136
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 22 Mar 2007 21:33:45 +0000 (21:33 +0000)]
* defaults.h (OUTGOING_REG_PARM_STACK_SPACE): Provide default.
* calls.c (compute_argument_block_size, expand_call,
emit_library_call_value_1): Don't ifdef OUTGOING_REG_PARM_STACK_SPACE.
* expr.c (block_move_libcall_safe_for_call_parm): Likewise.
* function.c (STACK_DYNAMIC_OFFSET): Likewise.
* doc/tm.texi (OUTGOING_REG_PARM_STACK_SPACE): Update.
* config/alpha/unicosmk.h, config/bfin/bfin.h, config/iq2000/iq2000.h,
config/mips/mips.h, config/mn10300/mn10300.h, config/mt/mt.h,
config/pa/pa.h, config/rs6000/rs6000.h, config/score/score.h,
config/spu/spu.h, config/v850/v850.h (OUTGOING_REG_PARM_STACK_SPACE):
Set to 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123135
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 22 Mar 2007 20:38:27 +0000 (20:38 +0000)]
* c-incpath.c (add_sysroot_to_chain): New.
(merge_include_chains): Add sysroot argument. Call
add_sysroot_to_chain if sysrooted.
(register_include_chains): Update call to merge_include_chains.
* doc/cppopts.texi: Document use of '=' in include directory
arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123134
138bc75d-0d04-0410-961f-
82ee72b054a4
mueller [Thu, 22 Mar 2007 19:46:16 +0000 (19:46 +0000)]
Fix typos in ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123133
138bc75d-0d04-0410-961f-
82ee72b054a4
mueller [Thu, 22 Mar 2007 19:44:09 +0000 (19:44 +0000)]
2007-03-22 Dirk Mueller <dmueller@suse.de>
* g++.old-deja/g++.brendan/warnings2.C: Don't use -pedantic.
* g++.dg/other/static1.C: Remove stray semicolon.
* g++.dg/other/init1.C: Likewise.
* g++.dg/rtti/dyncast1.C: Likewise.
* g++.dg/tree-ssa/pr17153.C: Likewise.
* g++.dg/lookup/disamb1.C: Likewise.
* g++.dg/lookup/scoped2.C: Likewise.
* g++.dg/lookup/friend7.C: Likewise.
* g++.dg/parse/parse4.C: Likewise.
* g++.dg/parse/parse5.C: Likewise.
* g++.dg/expr/pr29066.C: Likewise.
* g++.dg/expr/cast4.C: Likewise.
* g++.dg/tc1/dr193.C: Likewise.
* g++.dg/tc1/dr213.C: Likewise.
* g++.dg/abi/dcast1.C: Likewise.
* g++.dg/abi/covariant2.C: Likewise.
* g++.dg/inherit/covariant11.C: Likewise.
* g++.dg/inherit/covariant9.C: Likewise.
* g++.dg/inherit/covariant10.C: Likewise.
* g++.dg/init/static3.C: Likewise.
* g++.dg/init/init-ref3.C: Likewise.
* g++.dg/init/ref10.C: Likewise.
* g++.dg/template/meminit2.C: Likewise.
* g++.dg/template/using9.C: Likewise.
* g++.dg/template/friend9.C: Likewise.
* g++.dg/template/ref1.C: Likewise.
* g++.old-deja/g++.warn/inline.C: Likewise.
* g++.old-deja/g++.robertl/eb91.C: Likewise.
* g++.old-deja/g++.robertl/eb46.C: Likewise.
* g++.old-deja/g++.robertl/eb34.C: Likewise.
* g++.old-deja/g++.robertl/eb43.C: Likewise.
* g++.old-deja/g++.robertl/eb26.C: Likewise.
* g++.old-deja/g++.robertl/eb116.C: Likewise.
* g++.old-deja/g++.brendan/copy5.C: Likewise.
* g++.old-deja/g++.brendan/overload8.C: Likewise.
* g++.old-deja/g++.brendan/overload11.C: Likewise.
* g++.old-deja/g++.brendan/copy7.C: Likewise.
* g++.old-deja/g++.brendan/crash38.C: Likewise.
* g++.old-deja/g++.brendan/template11.C: Likewise.
* g++.old-deja/g++.brendan/err-msg3.C: Likewise.
* g++.old-deja/g++.brendan/crash50.C: Likewise.
* g++.old-deja/g++.brendan/crash16.C: Likewise.
* g++.old-deja/g++.jason/pmem2.C: Likewise.
* g++.old-deja/g++.jason/parse9.C: Likewise.
* g++.old-deja/g++.jason/byval2.C: Likewise.
* g++.old-deja/g++.jason/overload8.C: Likewise.
* g++.old-deja/g++.jason/pmf8.C: Likewise.
* g++.old-deja/g++.jason/template33.C: Likewise.
* g++.old-deja/g++.jason/return3.C: Likewise.
* g++.old-deja/g++.jason/scoping2.C: Likewise.
* g++.old-deja/g++.jason/virtual.C: Likewise.
* g++.old-deja/g++.jason/opeq3.C: Likewise.
* g++.old-deja/g++.jason/template27.C: Likewise.
* g++.old-deja/g++.jason/synth6.C: Likewise.
* g++.old-deja/g++.jason/ref8.C: Likewise.
* g++.old-deja/g++.jason/offset1.C: Likewise.
* g++.old-deja/g++.other/static20.C: Likewise.
* g++.old-deja/g++.other/array1.C: Likewise.
* g++.old-deja/g++.other/new3.C: Likewise.
* g++.old-deja/g++.other/array2.C: Likewise.
* g++.old-deja/g++.other/overload9.C: Likewise.
* g++.old-deja/g++.other/cast6.C: Likewise.
* g++.old-deja/g++.other/ptrmem8.C: Likewise.
* g++.old-deja/g++.other/eh4.C: Likewise.
* g++.old-deja/g++.other/using7.C: Likewise.
* g++.old-deja/g++.other/init18.C: Likewise.
* g++.old-deja/g++.other/dyncast1.C: Likewise.
* g++.old-deja/g++.other/dyncast2.C: Likewise.
* g++.old-deja/g++.other/dtor11.C: Likewise.
* g++.old-deja/g++.pt/static11.C: Likewise.
* g++.old-deja/g++.pt/crash19.C: Likewise.
* g++.old-deja/g++.pt/overload12.C: Likewise.
* g++.old-deja/g++.pt/crash46.C: Likewise.
* g++.old-deja/g++.pt/mi1.C: Likewise.
* g++.old-deja/g++.pt/vaarg3.C: Likewise.
* g++.old-deja/g++.pt/nontype5.C: Likewise.
* g++.old-deja/g++.pt/local5.C: Likewise.
* g++.old-deja/g++.pt/typename2.C: Likewise.
* g++.old-deja/g++.pt/explicit80.C: Likewise.
* g++.old-deja/g++.pt/auto_ptr.C: Likewise.
* g++.old-deja/g++.law/visibility1.C: Likewise.
* g++.old-deja/g++.law/visibility2.C: Likewise.
* g++.old-deja/g++.law/virtual2.C: Likewise.
* g++.old-deja/g++.law/operators19.C: Likewise.
* g++.old-deja/g++.law/parsing10.C: Likewise.
* g++.old-deja/g++.law/visibility4.C: Likewise.
* g++.old-deja/g++.law/operators4.C: Likewise.
* g++.old-deja/g++.law/dtors2.C: Likewise.
* g++.old-deja/g++.law/missed-error3.C: Likewise.
* g++.old-deja/g++.law/visibility10.C: Likewise.
* g++.old-deja/g++.law/scope3.C: Likewise.
* g++.old-deja/g++.law/casts2.C: Likewise.
* g++.old-deja/g++.law/code-gen5.C: Likewise.
* g++.old-deja/g++.law/operators33.C: Likewise.
* g++.old-deja/g++.law/friend4.C: Likewise.
* g++.old-deja/g++.mike/pmf7.C: Likewise.
* g++.old-deja/g++.mike/p5611.C: Likewise.
* g++.old-deja/g++.mike/net37.C: Likewise.
* g++.old-deja/g++.mike/p3570.C: Likewise.
* g++.old-deja/g++.mike/p5718.C: Likewise.
* g++.old-deja/g++.mike/net21.C: Likewise.
* g++.old-deja/g++.mike/p1862.C: Likewise.
* g++.old-deja/g++.mike/p4511.C: Likewise.
* g++.old-deja/g++.mike/virt3.C: Likewise.
* g++.old-deja/g++.mike/p16146.C: Likewise.
* g++.old-deja/g++.mike/p1989.C: Likewise.
* g++.old-deja/g++.mike/p5571.C: Likewise.
* g++.old-deja/g++.gb/scope10.C: Likewise.
* g++.old-deja/g++.abi/primary5.C: Likewise.
* g++.old-deja/g++.abi/empty2.C: Likewise.
* g++.old-deja/g++.abi/arraynew.C: Likewise.
* g++.old-deja/g++.eh/vbase4.C: Likewise.
* g++.old-deja/g++.eh/ptr1.C: Likewise.
* g++.old-deja/g++.eh/cleanup1.C: Likewise.
* g++.old-deja/g++.bob/template3.C: Likewise.
* g++.old-deja/g++.bob/inherit1.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123132
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Thu, 22 Mar 2007 18:37:16 +0000 (18:37 +0000)]
2006-03-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31193
* trans-intrinsic.c (gfc_size_in_bytes): Remove function.
(gfc_conv_intrinsic_array_transfer): Remove calls to previous.
Explicitly extract TREE_TYPEs for source and mold. Use these
to calculate length of source and mold, except for characters,
where the se string_length is used. For mold, the TREE_TYPE is
recalculated using gfc_get_character_type_len so that the
result is correctly cast for character literals and substrings.
Do not use gfc_typenode_for_spec for the final cast.
2006-03-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31193
* gfortran.dg/transfer_array_intrinsic_3.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123131
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 22 Mar 2007 16:43:41 +0000 (16:43 +0000)]
2007-03-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/21_strings/headers/cstdlib/functions_std.cc: Without
C99 support, _GLIBCXX_USE_WCHAR_T not defined, so
dg-require-c-std.
* testsuite/tr1/6_containers/headers/functional/synopsis.cc: Same.
* testsuite/27_io/headers/iostream/synopsis.cc: Same.
* testsuite/27_io/headers/streambuf/types_std.cc: Same.
* testsuite/27_io/headers/sstream/types_std.cc: Same.
* testsuite/27_io/headers/ostream/types_std.cc: Same.
* testsuite/27_io/headers/istream/types_std.cc: Same.
* testsuite/27_io/headers/iostream/types_std.cc: Same.
* testsuite/27_io/headers/fstream/types_std.cc: Same.
* testsuite/21_strings/headers/string/types_std.cc: Same.
* testsuite/21_strings/headers/cwctype/functions_std.cc: Same.
* testsuite/21_strings/headers/cwctype/types_std.cc: Same.
* testsuite/21_strings/headers/cwchar/functions_std.cc: Same.
* testsuite/21_strings/headers/cwchar/types_std.cc: Same.
* include/Makefile.am (c_compatibility_headers): Add fenv.h.
* include/Makefile.in: Regenerate.
* configure.host: Update comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123130
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 22 Mar 2007 15:37:25 +0000 (15:37 +0000)]
PR fortran/20897
fortran/
* decl.c (gfc_match_derived_decl): Reliably reject
'doubleprecision' and 'doublecomplex' as type names.
testsuite/
* gfortran.dg/derived_name_1.f90: New.
* gfortran.dg/derived_name_2.f: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123129
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 22 Mar 2007 14:59:10 +0000 (14:59 +0000)]
* config/i386/i386.md (cmp<mode>): Rename from cmpsf and cmpdf.
Macroize expander using SSEMODEF mode macro. Use SSE_FLOAT_MODE_P.
(*cmpfp_<mode>): Rename from *cmpfp_sf and *cmpfp_df. Macroize
insn pattern using X87MODEF12 mode macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123128
138bc75d-0d04-0410-961f-
82ee72b054a4
froydnj [Thu, 22 Mar 2007 13:01:07 +0000 (13:01 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123126
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 22 Mar 2007 07:00:08 +0000 (07:00 +0000)]
* testsuite/config/default.exp: New file.
* testsuite/lib/libgomp.exp: New file.
* testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init,
libgomp_target_compile, libgomp_option_help, libgomp_option_proc,
load_lib *, load_gcc_lib *): Move to libgomp.exp.
(libgomp_load): Remove.
* testsuite/lib/libgomp.exp (libgomp_init): Compute
always_ld_library_path, not ld_library_path. Set additional_flags
to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets.
(target_compile): Do not call libgomp_init. Append lang_library_path
and lang_link_flags to options.
* testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2. Set
ld_library_path from always_ld_library_path. Set LD_LIBRARY_PATH
here.
* testsuite/libgomp.c++/c++.exp: Set ld_library_path from
always_ld_library_path. Set LD_LIBRARY_PATH here.
* testsuite/libgomp.fortran/fortran.exp: Ditto.
* testsuite/libgomp.c/atomic-1.c: Set dg-options to
"-O2 -march=pentium" for ilp32 x86 targets. Simplify check for
CX8 flag.
* testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for
lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3.
* testsuite/libgomp.c/pr29947-1.c: Remove default dg-options.
* testsuite/libgomp.c/pr29947-1.c: Ditto.
* testsuite/libgomp.c/atomic-10.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123125
138bc75d-0d04-0410-961f-
82ee72b054a4
spark [Thu, 22 Mar 2007 06:18:33 +0000 (06:18 +0000)]
2007-03-21 Seongbae Park <seongbae.park@gmail.com>
* regmove.c (regmove_optimize): Use reg_mentioned_p
instead of reg_overlap_mentioned_p for DST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123124
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 22 Mar 2007 00:17:55 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123122
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 21 Mar 2007 20:09:15 +0000 (20:09 +0000)]
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
of glob. Quote arguments with single quotes too.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123117
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 21 Mar 2007 19:43:14 +0000 (19:43 +0000)]
* testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
dg-final cleanup-modules line.
* testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise.
* testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise.
* testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise.
* testsuite/libgomp.fortran/threadprivate2.f90: Likewise.
* testsuite/libgomp.fortran/reduction5.f90: Likewise.
* testsuite/libgomp.fortran/threadprivate3.f90: Likewise.
* testsuite/libgomp.fortran/threadprivate1.f90: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123116
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Wed, 21 Mar 2007 18:45:40 +0000 (18:45 +0000)]
* c.opt: Fixup for Objective-C/C++.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123114
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Wed, 21 Mar 2007 16:02:32 +0000 (16:02 +0000)]
* explow.c (convert_memory_address): Fold memory reference when
POINTERS_EXTEND_UNSIGNED < 0
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123113
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 21 Mar 2007 15:52:23 +0000 (15:52 +0000)]
PR target/31245
* config/i386/emmintrin.h (__m128i, __m128d): Mark may_alias.
* config/i386/mmintrin.h (__m64): Likewise.
* config/i386/xmmintrin.h (__m128): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123112
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 21 Mar 2007 12:21:33 +0000 (12:21 +0000)]
gcc/
* config/vxworks.h (VXWORKS_ADDITIONAL_CPP_SPEC): Remove -D options.
(VXWORKS_OS_CPP_BUILTINS): Define.
* config/i386/vxworks.h (VXWORKS_CPU_DEFINE): Fold into...
(TARGET_OS_CPP_BUILTINS): ...here. Use VXWORKS_OS_CPP_BUILTINS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123108
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 21 Mar 2007 09:11:25 +0000 (09:11 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_nonpic): New
procedure.
* gcc.target/i386/
20020616-1.c: Use an alternative to %ebx
when compiling PIC.
* gcc.target/i386/asm-4.c: Require nonpic.
* gcc.target/i386/cmov1.c: Likewise.
* gcc.target/i386/mul.c: Likewise.
* gcc.target/i386/pr21291.c: Require nonpic or ! ilp32.
* gcc.target/i386/ssetype-1.c: Require nonpic.
* gcc.target/i386/ssetype-3.c: Likewise.
* gcc.target/i386/ssetype-5.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123107
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 21 Mar 2007 09:10:08 +0000 (09:10 +0000)]
gcc/
* rtl.h (constant_pool_reference_p): Delete.
(find_constant_src): Declare.
* rtlanal.c (find_constant_src): New function.
* simplify-rtx.c (constant_pool_reference_p): Delete.
* config/i386/i386.md: Use find_constant_src instead of
constant_pool_reference_p/avoid_constant_pool_reference pairs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123106
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 21 Mar 2007 09:08:04 +0000 (09:08 +0000)]
gcc/testsuite/
* gcc.c-torture/execute/builtins/chk.h (LOCAL): Define.
* gcc.c-torture/execute/builtins/sprintf-chk.c (s1): Make LOCAL.
* gcc.c-torture/execute/builtins/stpcpy-chk.c (s1): Likewise.
* gcc.c-torture/execute/builtins/strcpy-chk.c (s1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123105
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 21 Mar 2007 09:07:19 +0000 (09:07 +0000)]
gcc/
* doc/invoke.texi (-fpie, -fPIE): Document __pie__ and __PIE__.
* c-cppbuiltin.c (c_cpp_builtins): Define them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123104
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 21 Mar 2007 05:21:31 +0000 (05:21 +0000)]
* config/arm/elf.h (TARGET_ASM_DESTRUCTOR): Define.
* config/arm/arm.c (arm_elf_asm_cdtor): New function.
(arm_elf_asm_constructor): Use it.
(arm_elf_asm_destructor): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123103
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 21 Mar 2007 00:18:38 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123100
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Tue, 20 Mar 2007 23:43:33 +0000 (23:43 +0000)]
* jump.c (mark_jump_label): Treat SEQUENCE specially.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123096
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Tue, 20 Mar 2007 23:09:39 +0000 (23:09 +0000)]
* configure.ac: Add missing check for gettimeofday.
* config.h.in: Renegerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123094
138bc75d-0d04-0410-961f-
82ee72b054a4
spark [Tue, 20 Mar 2007 15:42:37 +0000 (15:42 +0000)]
2007-03-19 Seongbae Park <seongbae.park@gmail.com>
PR tree-optimization/30590
* g++.dg/opt/pr30590.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123087
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 20 Mar 2007 14:13:30 +0000 (14:13 +0000)]
* config/vxlib.c (tls_delete_hook): Use TCB for kernel tasks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123086
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 20 Mar 2007 12:45:19 +0000 (12:45 +0000)]
2007-03-19 Andrew Haley <aph@redhat.com>
PR tree-optimization/31264
* tree-vrp.c (register_edge_assert_for_1): Don't look though
VIEW_CONVERT_EXPRs.
2007-03-20 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/PR31264.java: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123085
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 20 Mar 2007 08:31:13 +0000 (08:31 +0000)]
2007-03-19 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/30907
* fwprop.c (forward_propagate_into): Never propagate inside a loop.
(fwprop_init): Always call loop_optimizer_initialize.
(fwprop_done): Always call loop_optimizer_finalize.
(fwprop): We always have loop info now.
(gate_fwprop_addr): Remove.
(pass_fwprop_addr): Use gate_fwprop as gate.
PR rtl-optimization/30841
* df-problems.c (df_ru_local_compute, df_rd_local_compute,
df_chain_alloc): Call df_reorganize_refs unconditionally.
* df-scan.c (df_rescan_blocks, df_reorganize_refs): Change
refs_organized to refs_organized_size.
(df_ref_create_structure): Use refs_organized_size instead of
bitmap_size if refs had been organized, and keep refs_organized_size
up-to-date.
* df.h (struct df_ref_info): Change refs_organized to
refs_organized_size.
(DF_DEFS_SIZE, DF_USES_SIZE): Use refs_organized_size instead of
bitmap_size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123084
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 20 Mar 2007 03:16:25 +0000 (03:16 +0000)]
* except.c (output_function_exception_table): Do not reference the
EH personality routine for functions that do not require an
exception table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123082
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 20 Mar 2007 00:17:48 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123080
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 19 Mar 2007 23:26:14 +0000 (23:26 +0000)]
PR c/30762
* c-typeck.c (convert_for_assignment): Call comptypes for
RECORD_TYPE or UNION_TYPE.
* gcc.dg/pr30762-1.c: New test.
* gcc.dg/pr30762-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123073
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 19 Mar 2007 23:24:43 +0000 (23:24 +0000)]
PR inline-asm/30505
* reload1.c (reload): Do invalid ASM checking after
cleanup_subreg_operands.
* gcc.target/i386/pr30505.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123072
138bc75d-0d04-0410-961f-
82ee72b054a4
shinwell [Mon, 19 Mar 2007 21:00:14 +0000 (21:00 +0000)]
gcc/testsuite/
* gcc.target/arm/register-variables.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123071
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 19 Mar 2007 19:52:19 +0000 (19:52 +0000)]
* tree-cfg.c (find_taken_edge): Tighten conditions for
optimizing computed gotos.
* PR tree-optimization/30984
* gcc.c-torture/pr30984.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123067
138bc75d-0d04-0410-961f-
82ee72b054a4
kristerw [Mon, 19 Mar 2007 17:08:14 +0000 (17:08 +0000)]
2007-03-18 Krister Walfridsson <cato@df.lth.se>
PR target/30058
* inclhack.def (netbsd_c99_inline_1): New.
* fixincl.x: Regenerate.
* tests/base/signal.h: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123065
138bc75d-0d04-0410-961f-
82ee72b054a4
matz [Mon, 19 Mar 2007 17:07:29 +0000 (17:07 +0000)]
* builtins.c (expand_builtin_sync_operation,
expand_builtin_compare_and_swap,
expand_builtin_lock_test_and_set): Care for extending CONST_INTs
correctly.
* config/i386/sync.md (sync_double_compare_and_swapdi_pic,
sync_double_compare_and_swap_ccdi_pic): Use "SD" as constraint
for operand 3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123064
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 19 Mar 2007 16:58:54 +0000 (16:58 +0000)]
2007-03-19 Paolo Carlini <pcarlini@suse.de>
* include/tr1/tuple (get(_Tuple_impl<>&, get(const _Tuple_impl<>&):
Rename as __get_helper.
(get(tuple<>&, get(const tuple<>&)): Forward to the latter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123063
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Mon, 19 Mar 2007 15:17:55 +0000 (15:17 +0000)]
2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
* doc/tm.texi: Add brackets around the return type of
TARGET_SECONDARY_RELOAD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123062
138bc75d-0d04-0410-961f-
82ee72b054a4