OSDN Git Service

pf3gnuchains/gcc-fork.git
13 years ago * gcc.target/i386/pr34256.c: Update number of mov insns
uros [Sun, 24 Feb 2008 17:29:10 +0000 (17:29 +0000)]
    * gcc.target/i386/pr34256.c: Update number of mov insns
        for PIC targets.

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

13 years ago* trans-array.c (gfc_conv_descriptor_data_get,
tobi [Sun, 24 Feb 2008 16:43:23 +0000 (16:43 +0000)]
* trans-array.c (gfc_conv_descriptor_data_get,
gfc_conv_descriptor_data_set_internal,
gfc_conv_descriptor_data_addr, gfc_conv_descriptor_offset,
gfc_conv_descriptor_dtype, gfc_conv_descriptor_dimension,
gfc_conv_descriptor_stride, gfc_conv_descriptor_lbound,
gfc_conv_descriptor_ubound, gfc_trans_create_temp_array,
gfc_conv_array_transpose, gfc_grow_array,
gfc_trans_array_constructor_subarray,
gfc_trans_array_constructor_value, gfc_trans_scalarized_loop_end,
gfc_array_init_size, gfc_array_allocate, gfc_array_deallocate,
gfc_conv_array_initializer, gfc_trans_array_bounds,
gfc_trans_auto_array_allocation, gfc_trans_dummy_array_bias,
gfc_get_dataptr_offset, gfc_conv_array_parameter,
gfc_trans_dealloc_allocated, get_full_array_size,
gfc_duplicate_allocatable, structure_alloc_comps): Use fold_buildN
instead of buildN.
* trans-expr.c (gfc_conv_expr_present, gfc_conv_missing_dummy,
gfc_conv_component_ref, gfc_conv_cst_int_power,
gfc_conv_function_call, gfc_trans_structur_assign): Likewise.
* trans-common.c (create_common): Likewise.
* trans-openmp.c (gfc_trans_omp_atomic, gfc_trans_omp_do):
Likewise.
* trans-const.c (gfc_conv_constant_to_tree): Likewise.
* trans-stmt.c (gfc_trans_goto, gfc_trans_return, gfc_trans_do,
gfc_trans_integer_select, gfc_trans_character_select,
gfc_trans_forall_loop, compute_overall_iter_number,
gfc_trans_forall_1, gfc_evaluate_where_mask, gfc_trans_allocate,
gfc_trans_deallocate): Likewise.
* trans.c (gfc_build_addr_expr, gfc_trans_runtime_check,
gfc_allocate_with_status, gfc_allocate_array_with_status,
gfc_deallocate_with_status): Likewise.
* f95-lang.c (gfc_truthvalue_conversion): Likewise.
* trans-io.c (set_parameter_const, set_parameter_value,
set_parameter_ref, set_string, set_internal_unit, io_result,
set_error_locus, nml_get_addr_expr, transfer_expr): Likewise.
* trans-decl.c (gfc_build_qualified_array, build_entry_thunks,
gfc_get_fake_result_decl, gfc_trans_auto_character_variable,
gfc_generate_function_code): Likewise.
* convert.c (convert): Likewise.
* trans-intrinsic.c (gfc_conv_intrinsic_conversion,
build_fixbound_expr, build_fix_expr, gfc_conv_intrinsic_aint,
gfc_conv_intrinsic_int, gfc_conv_intrinsic_imagpart,
gfc_conv_intrinsic_conjg, gfc_conv_intrinsic_abs,
gfc_conv_intrinsic_cmplx, gfc_conv_intrinsic_mod,
gfc_conv_intrinsic_dim, gfc_conv_intrinsic_dprod,
gfc_conv_intrinsic_ctime, gfc_conv_intrinsic_fdate,
gfc_conv_intrinsic_ttynam, gfc_conv_intrinsic_minmax,
gfc_conv_intrinsic_minmax_char, gfc_conv_intrinsic_count,
gfc_conv_intrinsic_arith, gfc_conv_intrinsic_dot_product,
gfc_conv_intrinsic_minmaxloc, gfc_conv_intrinsic_minmaxval,
gfc_conv_intrinsic_btest, gfc_conv_intrinsic_not,
gfc_conv_intrinsic_ibits, gfc_conv_intrinsic_ishft,
gfc_conv_intrinsic_ichar, gfc_conv_intrinsic_size,
gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_transfer,
gfc_conv_allocated, gfc_conv_associated, gfc_conv_intrinsic_trim,
gfc_conv_intrinsic_repeat): Likewise.

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

13 years ago http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
dnovillo [Sun, 24 Feb 2008 16:40:32 +0000 (16:40 +0000)]
gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html

PR 33738
* tree-vrp.c (vrp_evaluate_conditional): With
-Wtype-limits, emit a warning when comparing against a
constant outside the natural range of OP0's type.
* c.opt (Wtype-limits): Move ...
* common.opt (Wtype-limits): ... here.

testsuite/ChangeLog

PR 33738
* g++.dg/warn/pr33738.C: New.

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

13 years agoFix ChangeLog entry date.
dje [Sun, 24 Feb 2008 14:38:46 +0000 (14:38 +0000)]
Fix ChangeLog entry date.

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

13 years ago2008-02-21 Edmar Wienskoski <edmar@freescale.com>
dje [Sun, 24 Feb 2008 14:38:03 +0000 (14:38 +0000)]
2008-02-21  Edmar Wienskoski  <edmar@freescale.com>

        * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3.
        * config/rs6000/e300c2c3.md: New file.
        * config/rs6000/rs6000.c (processor_costs): Add new costs for
        e300c2 and e300c3.
        (rs6000_override_options): Add e300c2 and e300c3 cases to
        processor_target_table. Do not allow usage of Altivec or Spe
        with e300 cores. Initialize rs6000_cost for e300c2 and e300c3.
        (rs6000_issue_rate): Set issue rate for e300c2 and e300c3.
        * config/rs6000/rs6000.h (processor_type): Add
        PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3.
        (ASM_CPU_SPEC): Add e300c2 and e300c3.
        * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2
        and ppce300c3. Include e300c2c3.md.

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

13 years ago PR libfortran/32841
fxcoudert [Sun, 24 Feb 2008 11:59:09 +0000 (11:59 +0000)]
PR libfortran/32841
* acinclude.m4: Don't use HAVE_MATH_H.
* configure: Regenerate.

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

13 years agogcc/testsuite/
rsandifo [Sun, 24 Feb 2008 11:22:19 +0000 (11:22 +0000)]
gcc/testsuite/
* gcc.c-torture/execute/nest-align-1.x: New file.

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

13 years agocp
dannysmith [Sun, 24 Feb 2008 09:19:39 +0000 (09:19 +0000)]
cp
PR c++/34749
* friend.c (do_friend): Call cplus_decl_attributes earlier.

testsuite
PR c++/34749
* g++.dg.ext/dllimport13.C: New test.

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

13 years ago * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT
dje [Sun, 24 Feb 2008 02:43:13 +0000 (02:43 +0000)]
    * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT
        instead of TARGET_STRICT_ALIGN.

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

13 years agoDaily bump.
gccadmin [Sun, 24 Feb 2008 00:17:49 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago * explow.c (memory_address): Assert that the generated address is
jsm28 [Sat, 23 Feb 2008 21:11:25 +0000 (21:11 +0000)]
* explow.c (memory_address): Assert that the generated address is
valid.

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

13 years ago PR libfortran/24685
fxcoudert [Sat, 23 Feb 2008 20:10:29 +0000 (20:10 +0000)]
PR libfortran/24685
* gfortran.dg/large_real_kind_form_io_2.f90: XFAIL on
powerpc*-apple-darwin*.

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

13 years ago PR target/25477
fxcoudert [Sat, 23 Feb 2008 18:42:04 +0000 (18:42 +0000)]
PR target/25477

* config/darwin-protos.h: Add darwin_patch_builtins prototype.
* config/darwin-ppc-ldouble-patch.def: New file.
* config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro.
* config/rs6000/rs6000.c (rs6000_init_builtins): Call
SUBTARGET_INIT_BUILTINS if defined.
* config/darwin.c (darwin_patch_builtin,
darwin_patch_builtins): New functions.

* trans-expr.c (gfc_conv_power_op): Use BUILT_IN_CPOW{F,,L}.
* f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_CPOW{F,,L}.
* trans.h (gfor_fndecl_math_cpow, gfor_fndecl_math_cpowf,
gfor_fndecl_math_cpowl10, gfor_fndecl_math_cpowl16): Remove.
* trans-decl.c: Likewise.

* gfortran.dg/large_real_kind_2.F90: Split testing of ERF and
ERFC into gfortran.dg/large_real_kind_3.F90.
* gfortran.dg/large_real_kind_3.F90: New test.

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

13 years ago2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Sat, 23 Feb 2008 17:58:48 +0000 (17:58 +0000)]
2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR rtl-opt/33512
        * simplify-rtx.c (simplify_binary_operation_1): Add simplification
        of (and X (ior (not X) Y) and (and (ior (not X) Y) X).

2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR rtl-opt/33512
        * gcc.dg/and-1.c: New test.

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

13 years ago2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Sat, 23 Feb 2008 17:08:12 +0000 (17:08 +0000)]
2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR pch/35027
        * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH
        file" warning condtional on -Winvalid-PCH.

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

13 years ago * expmed.c (extract_bit_field): Always use adjust_address for MEM.
drow [Sat, 23 Feb 2008 15:45:03 +0000 (15:45 +0000)]
* expmed.c (extract_bit_field): Always use adjust_address for MEM.

* gcc.c-torture/execute/20080222-1.c: New test.

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

13 years ago PR target/22076
uros [Sat, 23 Feb 2008 15:24:02 +0000 (15:24 +0000)]
    PR target/22076
        PR target/34256

        * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to
        prevent reload from using MMX registers.
        (*mov<mode>_internal): Ditto.
        (*movv2sf_internal_rex64): Ditto.
        (*movv2sf_internal): Ditto.

testsuite/ChangeLog:

        PR target/22076
        PR target/34256
        * gcc.target/i386/pr22076.c: New test.
        * gcc.target/i386/pr34256.c: New test.
        * gcc.target/i386/vecinit-5.c: New test.
        * gcc.target/i386/vecinit-6.c: New test.
        * gcc.target/i386/vecinit-[1-4].c: Check that no MMX register is used.

        * g++.dg/compat/struct-layout-1.h: Do not include <mmintrin.h> and
        <xmmintrin.h>, define __m64 and __m128 directly.
        * g++.dg/compat/struct-layout-1_generate.c: Add -mno-mmx for x86.

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

13 years agogcc/:
rwild [Sat, 23 Feb 2008 14:04:12 +0000 (14:04 +0000)]
gcc/:
PR documentation/31569
* doc/install.texi2html: Use makeinfo --no-number-sections.

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

13 years ago * MAINTAINERS (OpenMP): Add myself.
jakub [Sat, 23 Feb 2008 09:25:19 +0000 (09:25 +0000)]
* MAINTAINERS (OpenMP): Add myself.

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

13 years ago * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to
froydnj [Sat, 23 Feb 2008 01:00:42 +0000 (01:00 +0000)]
* config/rs6000/rs6000.c (rs6000_legitimize_address): Check to
ensure that we can address an entire entity > 8 bytes.  Don't
generate reg+reg addressing for such data.

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

13 years ago * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign
froydnj [Sat, 23 Feb 2008 00:35:20 +0000 (00:35 +0000)]
* config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign
strings when optimizing for size, unless the target cares about
alignment.

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

13 years agoDaily bump.
gccadmin [Sat, 23 Feb 2008 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago * regclass.c (current_pass): Remove declaration.
tromey [Fri, 22 Feb 2008 21:39:12 +0000 (21:39 +0000)]
* regclass.c (current_pass): Remove declaration.

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

13 years ago2008-02-22 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Fri, 22 Feb 2008 21:21:11 +0000 (21:21 +0000)]
2008-02-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/34715
        * decl.c (duplicate_decls): Merge DECL_DISREGARD_INLINE_LIMITS for
        template decls' function decl.

2008-02-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/34715
        * g++.dg/ext/always_inline-1.C: New test.
        * g++.dg/ext/always_inline-2.C: New test.
        * g++.dg/ext/always_inline-3.C: New test.
        * g++.dg/ext/always_inline-4.C: New test.

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

13 years ago * testsuite/libmudflap.c/fail8-frag.c: Adjust scan pattern for
uros [Fri, 22 Feb 2008 21:18:36 +0000 (21:18 +0000)]
    * testsuite/libmudflap.c/fail8-frag.c: Adjust scan pattern for
        mudflap dead object.
        * testsuite/libmudflap.c/fail9-frag.c: Ditto.

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

13 years ago * config/avr/libgcc.S (__RAMPZ__): Define.
aesok [Fri, 22 Feb 2008 20:16:50 +0000 (20:16 +0000)]
* config/avr/libgcc.S (__RAMPZ__): Define.
(__do_copy_data): Add for devices with 128KB code memory.

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

13 years ago * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
froydnj [Fri, 22 Feb 2008 12:59:05 +0000 (12:59 +0000)]
* config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
Use spe_abi.
* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise.

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

13 years ago * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for
hp [Fri, 22 Feb 2008 11:17:14 +0000 (11:17 +0000)]
* config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for
GENNONACR_REGS.

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

13 years ago * gcc.target/cris/asm-b-1.c: New test.
hp [Fri, 22 Feb 2008 11:16:18 +0000 (11:16 +0000)]
* gcc.target/cris/asm-b-1.c: New test.

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

13 years ago/testsuite
paolo [Fri, 22 Feb 2008 11:02:00 +0000 (11:02 +0000)]
/testsuite
2008-02-22  Paolo Carlini  <pcarlini@suse.de>

PR c++/35282
* g++.dg/template/nontype17.C: Add.

/cp
2008-02-22  Paolo Carlini  <pcarlini@suse.de>

PR c++/35282
Revert:
2008-02-14  Paolo Carlini  <pcarlini@suse.de>

        PR c++/28743
        * pt.c (determine_specialization): In case of function templates,
when the type of DECL does not match FN there is no match.

/testsuite
2008-02-22  Paolo Carlini  <pcarlini@suse.de>

PR c++/35282
Revert:
2008-02-14  Paolo Carlini  <pcarlini@suse.de>

        PR c++/28743
* g++.dg/template/nontype17.C: New.
        * g++.dg/template/nontype16.C: Add error.

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

13 years ago2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 22 Feb 2008 06:21:47 +0000 (06:21 +0000)]
2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34907
* iresolve.c (resolve_mask_arg): Add gfc_clear_ts to initialize
structure.
(gfc_resolve_aint): Likewise.
(gfc_resolve_anint): Likewise.
(gfc_resolve_besn): Likewise.
(gfc_resolve_cshift): Likewise.
(gfc_resolve_ctime): Likewise.
(gfc_resolve_eoshift): Likewise.
(gfc_resolve_index_func): Likewise.
(gfc_resolve_isatty): Likewise.
(gfc_resolve_malloc): Likewise.
(gfc_resolve_rrspacing): Likewise.
(gfc_resolve_scale): Likewise.
(gfc_resolve_set_exponent): Likewise.
(gfc_resolve_spacing): Likewise.
(gfc_resolve_spacing): Likewise.
(gfc_resolve_fgetc): Likewise.
(gfc_resolve_fputc): Likewise.
(gfc_resolve_ftell): Likewise.
(gfc_resolve_ttynam): Likewise.
(gfc_resolve_alarm_sub): Likewise.
(gfc_resolve_mvbits): Likewise.
(gfc_resolve_getarg): Likewise.
(gfc_resolve_signal_sub): Likewise.
(gfc_resolve_exit): Likewise.
(gfc_resolve_flush): Likewise.
(gfc_resolve_free): Likewise.
(gfc_resolve_ctime_sub): Likewise.
(gfc_resolve_fgetc_sub): Likewise.
(gfc_resolve_fputc_sub): Likewise.
(gfc_resolve_fseek_sub): Likewise.
(gfc_resolve_ftell_sub): Likewise.
(gfc_resolve_ttynam_sub): Likewise.

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

13 years agogcc/:
rwild [Fri, 22 Feb 2008 06:17:46 +0000 (06:17 +0000)]
gcc/:
PR c/19999
* c-typeck.c (build_binary_op): Warn about floating point
comparisons if FLOAT_TYPE_P, not only for REAL_TYPE.

gcc/cp/:
* typeck.c (build_binary_op): Warn about floating point
comparisons if FLOAT_TYPE_P, not only for REAL_TYPE.

gcc/testsuite/:
* gcc.dg/Wfloat-equal-1.c: New.
* g++.dg/warn/Wfloat-equal-1.C: New.

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

13 years agogcc-fortran/:
rwild [Fri, 22 Feb 2008 06:01:51 +0000 (06:01 +0000)]
gcc-fortran/:
* gfc-internals.texi: Fix typos and markup nits.
* gfortran.texi: Likewise.
* intrinsic.texi: Likewise.

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

13 years ago PR target/34526
janis [Fri, 22 Feb 2008 01:55:40 +0000 (01:55 +0000)]
PR target/34526
* config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment.
(rs6000_explicit_options): Split abi into spe_abi and altivec_abi,
add vrsave.
(rs6000_override_options): Set altivec_abi as default, not override,
for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for
TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI
is used; use new member spe_abi.
(rs6000_handle_option): Set rs6000_explicit_options.vrsave; use
spe_abi and altivec_abi.

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

13 years agoDaily bump.
gccadmin [Fri, 22 Feb 2008 00:18:10 +0000 (00:18 +0000)]
Daily bump.

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

13 years ago * tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo.
bje [Thu, 21 Feb 2008 21:48:08 +0000 (21:48 +0000)]
* tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo.

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

13 years agoPR bootstrap/35273
rwild [Thu, 21 Feb 2008 19:55:39 +0000 (19:55 +0000)]
PR bootstrap/35273
* config.build (build_file_translate): Set to `CMD //c' only if
it works.
* Makefile.in (build_file_translate): Improve comment.

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

13 years ago * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL,
hubicka [Thu, 21 Feb 2008 16:52:54 +0000 (16:52 +0000)]
* predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL,
PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL,
PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update.

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

13 years ago PR target/35264
matz [Thu, 21 Feb 2008 12:38:35 +0000 (12:38 +0000)]
    PR target/35264
        * config/i386/i386.c (ix86_expand_branch): Add missing breaks.

        * gcc.dg/pr35264.c: New testcase.

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

13 years ago * config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc,
uros [Thu, 21 Feb 2008 10:51:19 +0000 (10:51 +0000)]
* config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc,
movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P
as insn constraint.
* config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn
from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and
SSE_VEC_FLOAT_MODE_P as insn constraint.
(<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns.
(sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and
sse4a_movntdf using MODEF mode iterator.
(sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and
sse4a_vmmovntv4sf using SSEMODEF2P mode iterator.
(sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns.
(sse4_1_blendvp<ssemodesuffixf2c>): Ditto.
(sse4_1_dpp<ssemodesuffixf2c>): Ditto.
(sse4_1_roundp<ssemodesuffixf2c>): Ditto.
(sse4_1_rounds<ssemodesuffixf2c>): Ditto.

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

13 years ago2008-02-21 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 21 Feb 2008 09:38:07 +0000 (09:38 +0000)]
2008-02-21  Richard Guenther  <rguenther@suse.de>

* tree.def (PAREN_EXPR): New tree code.
* fold-const.c (fold_unary): Remove PAREN_EXPR around constants
and PAREN_EXPR.
* tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR.
* expr.c (expand_expr_real_1): Likewise.
* tree-inline.c (estimate_num_insns_1): Likewise.
* tree-complex.c (expand_complex_move): Likewise.
* tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x)
as plain x.

* trans-expr.c (gfc_conv_expr_op): Expand INTRINSIC_PARENTHESES
as unary PAREN_EXPR for real and complex typed expressions.
(gfc_conv_unary_op): Fold the built tree.

* gfortran.dg/reassoc_1.f90: New testcase.
* gfortran.dg/reassoc_2.f90: Likewise.
* gfortran.dg/reassoc_3.f90: Likewise.

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

13 years ago2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 21 Feb 2008 02:33:17 +0000 (02:33 +0000)]
2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/34974
* gfortran.dg/fmt_t_7.f: New test.

PR libfortran/35132
* gfortran.dg/streamio_15.f90: New test.

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

13 years ago2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 21 Feb 2008 02:27:07 +0000 (02:27 +0000)]
2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/35132
* io/transfer.c (next_record_w): Truncate after the last record for
STREAM I/O.

PR libfortran/34954
* io/transfer.c (data_transfer_init): Initialize dtp->rec if writing.

PR libfortran/34974
* io/transfer.c (formatted_transfer_scalar): Flush the buffer if skips
is less than zero. (next_record_w): Use sseek to position the file to
the max position reached.

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

13 years ago2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 21 Feb 2008 02:22:45 +0000 (02:22 +0000)]
2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/35036
* gfortran.dg/fmt_zero_digits.f90: Revise test.

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

13 years ago2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 21 Feb 2008 02:20:27 +0000 (02:20 +0000)]
2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/35036
* write_float.def (output_float):  Add error checks for zero digits
after decimal point in E and D format specifiers.

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

13 years agoDaily bump.
gccadmin [Thu, 21 Feb 2008 00:17:40 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago PR target/35225
kkojima [Wed, 20 Feb 2008 23:37:58 +0000 (23:37 +0000)]
PR target/35225
* config/sh/sh.c (find_barrier): Don't go past 'from' argument.

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

13 years ago PR target/35190
kkojima [Wed, 20 Feb 2008 23:35:41 +0000 (23:35 +0000)]
PR target/35190
* config/sh/sh.md (jump_compact): Disable for crossing jumps.

* config/sh/sh.c (find_barrier): Don't go past
NOTE_INSN_SWITCH_TEXT_SECTIONS note.

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

13 years ago* config/h8300/h8300.md (insv): Force source operand to be a register.
dj [Wed, 20 Feb 2008 21:31:56 +0000 (21:31 +0000)]
* config/h8300/h8300.md (insv): Force source operand to be a register.
* config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn
as a jump, not as a plain insn.

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

13 years agogcc/ChangeLog:
spark [Wed, 20 Feb 2008 21:19:14 +0000 (21:19 +0000)]
gcc/ChangeLog:

2008-02-20  Seongbae Park <seongbae.park@gmail.com>

* doc/invoke.texi (Warning Options): Add new option
-Wframe-larger-than=.
(-Wframe-larger-than): Document.

* flags.h (warn_frame_larger_than, frame_larger_than_size):
Add declarations for new option variables.

* final.c (final_start_function): Check the frame size
before emission and issue a Wframe-larger-than warning.

* opts.c (warn_frame_larger_than, frame_larger_than_size):
Add definitions for new option variables.
(common_handle_option): Handle new option OPT_Wframe_larger_than_.

* common.opt (Wframe-larger-than=): New option.

gcc/testsuite/ChangeLog:

2008-02-20  Seongbae Park <seongbae.park@gmail.com>

* gcc.dg/Wframe-larger-than.c: New option test.

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

13 years ago PR libgcj/24170:
tromey [Wed, 20 Feb 2008 19:09:09 +0000 (19:09 +0000)]
PR libgcj/24170:
* java/io/natFilePosix.cc (File::performList): Don't use
readdir_r.
* configure, include/config.h.in: Rebuilt.
* configure.ac: Don't check for readdir_r.

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

13 years ago * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template.
uros [Wed, 20 Feb 2008 18:32:14 +0000 (18:32 +0000)]
    * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template.
        (<sse>_div<mode>3): Ditto.
        (<sse>_vmdiv<mode>3): Ditto.
        (<sse>_vmsqrt<mode>2): Ditto.
        (*smax<mode>3): Ditto.
        (sse5_frcz<mode>2): Ditto.
        (sse5_vmfrcz<mode>2): Ditto.  Use TARGET_SSE5 instead of TARGET_ROUND
        as insn constraint.

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

13 years ago2008-02-20 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 20 Feb 2008 18:21:14 +0000 (18:21 +0000)]
2008-02-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34997
        * match.c (gfc_match_name): Improve error message for '$'.

2008-02-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34997
        * gfortran.dg/dollar_sym_1.f90: New.
        * gfortran.dg/dollar_sym_2.f90: New.

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

13 years ago2008-02-20 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 20 Feb 2008 17:25:52 +0000 (17:25 +0000)]
2008-02-20  Richard Guenther  <rguenther@suse.de>

PR middle-end/35265
* builtins.c (validate_arg): If we want an INTEGER_TYPE,
be happy with INTEGRAL_TYPE_P.

* gcc.dg/builtins-66.c: New testcase.

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

13 years ago * mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.
uros [Wed, 20 Feb 2008 15:31:19 +0000 (15:31 +0000)]
* mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.

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

13 years ago * ChangeLog: Whitespace fixes.
uros [Wed, 20 Feb 2008 15:16:16 +0000 (15:16 +0000)]
* ChangeLog: Whitespace fixes.
* gcc/ChangeLog: Ditto.
* config/ChangeLog: Ditto.

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

13 years ago2008-02-20 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 20 Feb 2008 14:14:55 +0000 (14:14 +0000)]
2008-02-20  Richard Guenther  <rguenther@suse.de>

* fold-const.c (split_tree): Associate floatig-point expressions
if flag_associative_math is set.

* gcc.dg/fold-reassoc-1.c: New testcase.
* gcc.dg/tree-ssa/recip-3.c: Adjust to not compute d/d.

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

13 years ago2008-02-20 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 20 Feb 2008 14:13:47 +0000 (14:13 +0000)]
2008-02-20  Richard Guenther  <rguenther@suse.de>

* tree.h (fold_real_zero_addition_p): Declare.
* fold-const.c (fold_real_zero_addition_p): Export.
* tree-ssa-reassoc.c (eliminate_using_constants): Also handle
floating-point operations with zero and one.

* gcc.dg/tree-ssa/reassoc-13.c: New testcase.

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

13 years ago2008-02-20 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 20 Feb 2008 14:10:40 +0000 (14:10 +0000)]
2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/32009
        PR bootstrap/32161

        * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
        * configure: Regenerate.

        * Makefile.def: Define stage_libcflags for all bootstrap stages.
        * Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
        STAGE4_LIBCFLAGS): New.
        (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
        $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
        (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
        (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
        (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
        for target modules.  Don't export LIBCFLAGS.
        (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
        $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
        the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
        (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
        $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
        * Makefile.in: Regenerate.

2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/32009

        * mh-ppc-darwin (BOOT_CFLAGS): Reenable.

2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        * doc/install.texi: Correct references to CFLAGS, replacing them
        with BOOT_CFLAGS.  Document flags used during bootstrap for
        target libraries.

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

13 years ago * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define.
uros [Wed, 20 Feb 2008 13:21:23 +0000 (13:21 +0000)]
* config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define.
* config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf
and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as
insn constraint.
(smin<mode>3): Ditto from similar patterns.
(smax<mode>3): Ditto.
(*ieee_smin<mode>3): Ditto.
(*ieee_smax<mode>3): Ditto.
* config/i386/sse.md (sse): New mode attribute.
(mov<mode>): Macroize expander from movv4sf and movv2df using
SSEMODEF2P mode iterator.
(<sse>_movnt<mode>): Ditto from similar patterns. Use
SSE_VEC_FLOAT_MODE_P as insn constraint.
(storent<mode>): Ditto.
(storent<mode>): Macroize expander from storentsf and storentdf using
MODEF mode iterator.
(neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P
mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint.
(abs<mode>2): Ditto from similar patterns.
(add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto.
(sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto.
(<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto.
(<sse>_vmsqrt<mode>2): Ditto.
(smin<mode>3, *smin<mode>3_finite, *smin<mode>3)
(<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto.
(smax<mode>3, *smax<mode>3_finite, *smax<mode>3)
(<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto.
(<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3,
sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4
mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as
insn constraint.
(<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode
iterator and SSE_FLOAT_MODE_P as insn constraint.
(<sse>_ucomi): Ditto from similar patterns.
(<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and
sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and
SSE_VEC_FLOAT_MODE_P as insn constraint.
(vcond<mode>): Ditto from similar patterns.
(and<mode>3, *and<mode>3): Ditto.
(<sse>_nand<mode>3): Ditto.
(ior<mode>3, *ior<mode>3): Ditto.
(xor<mode>3, *xor<mode>3): Ditto.
(*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode
iterator and SSE_FLOAT_MODE_P as insn constraint.
(*nand<mode>3): Ditto from similar patterns.
(*ior<mode>3): Ditto.
(*xor<mode>3): Ditto.

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

13 years ago2008-02-20 Matthias Klose <doko@ubuntu.com>
doko [Wed, 20 Feb 2008 12:20:18 +0000 (12:20 +0000)]
2008-02-20  Matthias Klose  <doko@ubuntu.com>

        * tools/Makefile.am ($(TOOLS_ZIP)): Revert part of previous change,
        Do copy resource files in JAVA_MAINTAINER_MODE only.
        * tools/Makefile.in: Regenerate.

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

13 years ago * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi,
irar [Wed, 20 Feb 2008 07:36:47 +0000 (07:36 +0000)]
* config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi,
vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi,
vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement.

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

13 years ago * g++.dg/compat/struct-layout-1_generate.c (DG_OPTIONS): New define.
uros [Wed, 20 Feb 2008 07:01:34 +0000 (07:01 +0000)]
* g++.dg/compat/struct-layout-1_generate.c (DG_OPTIONS): New define.
(switchfiles): Use DG_OPTIONS. Explicitly name arguments in fprintf
templates to reduce number of passed arguments.

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

13 years ago * inclhack.def (solaris_math_10): New.
ghazi [Wed, 20 Feb 2008 04:20:59 +0000 (04:20 +0000)]
* inclhack.def (solaris_math_10): New.
* tests/base/iso/math_c99.h: Update.

* fixincl.x: Regenerate.

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

13 years ago * traditional.c (lex_identifier): Use CPP_HASHNODE.
tromey [Wed, 20 Feb 2008 02:16:43 +0000 (02:16 +0000)]
* traditional.c (lex_identifier): Use CPP_HASHNODE.
* lex.c (lex_identifier): Use CPP_HASHNODE.
* include/line-map.h (LINEMAP_POSITION_FOR_COLUMN): Wrap in
do-while.
* identifiers.c (alloc_node): Change return type.
(_cpp_init_hashtable): Don't cast 'alloc_node'.
(proxy_assertion_broken): New declaration.
(cpp_forall_identifiers): Move comment.
* line-map.c (linemap_add): Comment fix.
(linemap_line_start): Indentation fix.

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

13 years agoAdd missing ChangeLog entry for revision 132455.
hjl [Wed, 20 Feb 2008 01:49:08 +0000 (01:49 +0000)]
Add missing ChangeLog entry for revision 132455.

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

13 years agoDaily bump.
gccadmin [Wed, 20 Feb 2008 00:17:16 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago PR c++/34950
jason [Tue, 19 Feb 2008 22:53:07 +0000 (22:53 +0000)]
    PR c++/34950
        * pt.c (resolve_overloaded_unification): Set processing_template_decl
        while we look for possible bindings.

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

13 years ago (tree_bb_level_predictions): Remove variable next mistakely introduced
hubicka [Tue, 19 Feb 2008 22:27:01 +0000 (22:27 +0000)]
(tree_bb_level_predictions): Remove variable next mistakely introduced
by previous commit.

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

13 years ago2007-02-19 Andreas Tobler <a.tobler@schweiz.org>
andreast [Tue, 19 Feb 2008 21:29:26 +0000 (21:29 +0000)]
2007-02-19  Andreas Tobler  <a.tobler@schweiz.org>

* dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
GC_GETSECTBYNAME instead.
* include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
architecture (Darwin).

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

13 years ago * predict.c (predict_paths_leading_to): Rewrite.
hubicka [Tue, 19 Feb 2008 21:15:28 +0000 (21:15 +0000)]
* predict.c (predict_paths_leading_to): Rewrite.
(predict_paths_for_bb): New.
(tree_bb_level_predictions): Update call of predict_paths_leading_to.

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

13 years agoPR bootstrap/35218
rwild [Tue, 19 Feb 2008 19:38:52 +0000 (19:38 +0000)]
PR bootstrap/35218
* Makefile.in (build_file_translate): New.
(gcc-vers.texi): Use it for translating $(abs_srcdir).
* config.build (build_file_translate): Set to `CMD //c' on MinGW.
* configure.ac (build_file_translate): Substitute it.
* configure: Regenerate.

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

13 years ago2008-02-19 Daniel Franke <franke.daniel@gmail.com>
dfranke [Tue, 19 Feb 2008 18:26:12 +0000 (18:26 +0000)]
2008-02-19  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/35030
* expr.c (gfc_check_pointer_assign): Add type and kind information
to type-mismatch message.
(gfc_check_assign): Unify error messages.

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

13 years ago PR rtl-optimization/34408
hubicka [Tue, 19 Feb 2008 17:11:12 +0000 (17:11 +0000)]
PR rtl-optimization/34408
* see.c (see_def_extension_not_merged): Copy subreg so we don't have invalid sharing.

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

13 years ago PR middle-end/28779
hubicka [Tue, 19 Feb 2008 17:09:42 +0000 (17:09 +0000)]
PR middle-end/28779
* tree-inline.c (estimate_num_insns_1): Fix counting of cost of call_expr.

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

13 years ago2008-02-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 19 Feb 2008 14:35:48 +0000 (14:35 +0000)]
2008-02-19  H.J. Lu  <hongjiu.lu@intel.com>

PR Ada/35186
* config/i386/i386-modes.def: Revert the last DI alignment
change until Ada people can look into it.

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

13 years ago * opts.c (print_specific_help): Fix typo in --help text.
nickc [Tue, 19 Feb 2008 14:15:36 +0000 (14:15 +0000)]
    * opts.c (print_specific_help): Fix typo in --help text.

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

13 years ago PR target/35239
jakub [Tue, 19 Feb 2008 13:34:29 +0000 (13:34 +0000)]
PR target/35239
* config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special
32-bit inline asm without asm alternatives for host GCC < 3.0.

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

13 years ago2008-02-19 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 19 Feb 2008 11:55:29 +0000 (11:55 +0000)]
2008-02-19  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34989
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure.
Allow propagation to INDIRECT_REF if we can simplify only.

* gcc.dg/pr34989-1.c: New testcase.
* gcc.dg/pr34989-2.c: Likewise.

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

13 years ago2008-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Tue, 19 Feb 2008 10:51:52 +0000 (10:51 +0000)]
2008-02-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

* c-common.c (warn_for_collisions_1): Use appropriate option when
warning.

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

13 years ago PR other/31349
nickc [Tue, 19 Feb 2008 10:33:41 +0000 (10:33 +0000)]
    PR other/31349
        * opts.c (undocumented_msg): Leave blank unless checking is
        enabled.
        (handle_options): Fix indentation.
        (print_filtered_help): If no language-specific options were
        displayed tell the user how to list all the options supported by
        the language's front-end.
        (print_specific_help): Fix indentation and remove duplicate line.
        (common_handle_option): Handle the -v option.
        For --help enable the display of undocumented options if the -v
        switch has been included on the command line.
        For --help= check for overlaps in the arguments between the option
        classes and the language names and issue a warning when they
        cannot be disambiguated.
        * c.opt (v): Pass on to the common option handler.

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

13 years ago PR c++/35028
jakub [Tue, 19 Feb 2008 10:18:29 +0000 (10:18 +0000)]
PR c++/35028
* cp-gimplify.c (cxx_omp_clause_apply_fn): Handle vararg copy ctors.

* g++.dg/gomp/pr35028.C: New test.

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

13 years ago PR c++/34964
jakub [Tue, 19 Feb 2008 10:16:29 +0000 (10:16 +0000)]
PR c++/34964
PR c++/35244
* semantics.c (finish_omp_threadprivate): Do nothing for error_operand_p
vars.  Afterwards ensure v is VAR_DECL.

* gcc.dg/gomp/pr34964.c: New test.
* g++.dg/gomp/pr34964.C: New test.
* gcc.dg/gomp/pr35244.c: New test.
* g++.dg/gomp/pr35244.C: New test.

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

13 years ago PR c++/35078
jakub [Tue, 19 Feb 2008 10:14:57 +0000 (10:14 +0000)]
PR c++/35078
* parser.c (cp_parser_omp_for_loop): If DECL has REFERENCE_TYPE, don't
call cp_finish_decl.
* semantics.c (finish_omp_for): Fail if DECL doesn't have integral type
early.

* g++.dg/gomp/pr35078.C: New test.

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

13 years agoSMS: Minor misc fixes
revitale [Tue, 19 Feb 2008 09:19:36 +0000 (09:19 +0000)]
SMS: Minor misc fixes

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

13 years agocoding convention
chrbr [Tue, 19 Feb 2008 08:34:16 +0000 (08:34 +0000)]
coding convention

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

13 years agofix alignment bug in packed structs for STRICT_ALIGNMENT targets
chrbr [Tue, 19 Feb 2008 07:48:12 +0000 (07:48 +0000)]
fix alignment bug in packed structs for STRICT_ALIGNMENT targets

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

13 years agotest case for alignment bug in packed structs for STRICT_ALIGNMENT targets
chrbr [Tue, 19 Feb 2008 07:42:25 +0000 (07:42 +0000)]
test case for alignment bug in packed structs for STRICT_ALIGNMENT targets

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

13 years ago PR target/33555
uros [Tue, 19 Feb 2008 07:23:30 +0000 (07:23 +0000)]
    PR target/33555
        * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern.
        (*x86_movdicc_0_m1_se): Ditto.

testsuite/ChangeLog:

        PR target/33555
        * gcc.target/i386/pr33555.c: New test.

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

13 years ago * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
uros [Tue, 19 Feb 2008 07:14:10 +0000 (07:14 +0000)]
    * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
        (CMPtype): Define as __gcc_CMPtype.
        * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef.
        (CMPtype): Define as __gcc_CMPtype.

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

13 years ago Support valgrind 3.3 for --enable-checking=valgrind.
hp [Tue, 19 Feb 2008 04:13:05 +0000 (04:13 +0000)]
Support valgrind 3.3 for --enable-checking=valgrind.
* system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines
here.
[!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS.
[!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE.
[!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE.
* ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines.
Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and
VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED,
VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS
respectively.
* ggc-zone.c: Similar.
* ggc-page.c: Similar.

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

13 years ago PR other/12618
bje [Tue, 19 Feb 2008 03:23:15 +0000 (03:23 +0000)]
PR other/12618
* testsuite/Makefile.in (mostlyclean): Remove any core file.

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

13 years ago2008-02-19 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 19 Feb 2008 01:29:09 +0000 (01:29 +0000)]
2008-02-19  Paul Brook  <paul@codesourcery.com>

PR target/35071
* config/arm/ieee754-df.S: Fix do_it typo.
* config/arm/ieee754-sf.S: Fix do_it typo.

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

13 years agogcc/
hjl [Tue, 19 Feb 2008 01:21:03 +0000 (01:21 +0000)]
gcc/

2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>

PR target/35189
* config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New.
(OPTION_MASK_ISA_3DNOW_SET): Likewise.
(OPTION_MASK_ISA_SSE_SET): Likewise.
(OPTION_MASK_ISA_SSE2_SET): Likewise.
(OPTION_MASK_ISA_SSE3_SET): Likewise.
(OPTION_MASK_ISA_SSSE3_SET): Likewise.
(OPTION_MASK_ISA_SSE4_1_SET): Likewise.
(OPTION_MASK_ISA_SSE4_2_SET): Likewise.
(OPTION_MASK_ISA_SSE4_SET): Likewise.
(OPTION_MASK_ISA_SSE4A_SET): Likewise.
(OPTION_MASK_ISA_SSE5_SET): Likewise.
(OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise.
(OPTION_MASK_ISA_MMX_UNSET): Updated.
(OPTION_MASK_ISA_3DNOW_UNSET): Updated.
(OPTION_MASK_ISA_SSE_UNSET): Likewise.
(OPTION_MASK_ISA_SSE3_UNSET): Likewise.
(OPTION_MASK_ISA_SSSE3_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4_1_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4_2_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4A_UNSET): Likewise.
(OPTION_MASK_ISA_SSE5_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4): Removed.
(ix86_handle_option): Turn on bits in ix86_isa_flags and
ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for
-mXXX.
(override_options): Don't turn on implied SSE/MMX bits in
ix86_isa_flags.

gcc/testsuite/

2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>

PR target/35189
* gcc.target/i386/isa-1.c: New.
* gcc.target/i386/isa-2.c: Likewise.
* gcc.target/i386/isa-3.c: Likewise.
* gcc.target/i386/isa-4.c: Likewise.
* gcc.target/i386/isa-5.c: Likewise.
* gcc.target/i386/isa-6.c: Likewise.
* gcc.target/i386/isa-7.c: Likewise.
* gcc.target/i386/isa-8.c: Likewise.
* gcc.target/i386/isa-9.c: Likewise.
* gcc.target/i386/isa-10.c: Likewise.
* gcc.target/i386/isa-11.c: Likewise.
* gcc.target/i386/isa-12.c: Likewise.
* gcc.target/i386/isa-13.c: Likewise.
* gcc.target/i386/isa-14.c: Likewise.

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

13 years agoDaily bump.
gccadmin [Tue, 19 Feb 2008 00:17:38 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 18 Feb 2008 23:44:32 +0000 (23:44 +0000)]
2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386-modes.def: Use 4 byte alignment on DI for
32bit host.

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

13 years agogcc/
hjl [Mon, 18 Feb 2008 23:43:23 +0000 (23:43 +0000)]
gcc/

2008-02-18  Joey Ye  <joey.ye@intel.com>

PR middle-end/34921
* tree-nested.c (insert_field_into_struct): Set type alignment
to field alignment if the former is less than the latter.

gcc/testsuite/

2008-02-18  Joey Ye  <joey.ye@intel.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/34921
* gcc.c-torture/execute/nest-align-1.c: New test case.

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

13 years ago * crontab: Add 4.3 branch. Set trunk to 4.4.
jakub [Mon, 18 Feb 2008 22:49:19 +0000 (22:49 +0000)]
* crontab: Add 4.3 branch.  Set trunk to 4.4.

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

13 years ago * BASE-VER: Set to 4.4.0.
jakub [Mon, 18 Feb 2008 22:41:06 +0000 (22:41 +0000)]
* BASE-VER: Set to 4.4.0.

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

13 years ago * doc/cp-tools.texinfo (@direntry): Prefix info name with cp-.
jakub [Mon, 18 Feb 2008 19:54:01 +0000 (19:54 +0000)]
* doc/cp-tools.texinfo (@direntry): Prefix info name with cp-.
* doc/cp-hacking.texinfo (@direntry): Likewise.
* doc/cp-vmintegration.texinfo (@direntry): Likewise.

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