platform/upstream/linaro-gcc.git
12 years ago PR target/52665
mrs [Tue, 27 Mar 2012 18:01:06 +0000 (18:01 +0000)]
PR target/52665
* gcc.target/i386/pr28946.c: Use -fno-ident to avoid spurious
failures that match branch names.

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

12 years agoFix a typo in ChangeLog
hjl [Tue, 27 Mar 2012 17:17:17 +0000 (17:17 +0000)]
Fix a typo in ChangeLog

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

12 years ago PR target/52698
uros [Tue, 27 Mar 2012 15:36:34 +0000 (15:36 +0000)]
PR target/52698
* config/i386/i386-protos.h (ix86_legitimize_reload_address):
New prototype.
* config/i386/i386.h (LEGITIMIZE_RELOAD_ADDRESS): New define.
* config/i386/i386.c: Include reload.h.
(ix86_legitimize_reload_address): New function.

testsuite/ChangeLog:

PR target/52698
* gcc.target/i386/pr52698.c: New test.

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

12 years agoRemove MaskNeeded
hjl [Tue, 27 Mar 2012 15:28:41 +0000 (15:28 +0000)]
Remove MaskNeeded

2012-03-27  H.J. Lu  <hongjiu.lu@intel.com>

* opth-gen.awk: Allocated a bit for Mask and InverseMask if it
hasn't been allocated.  Define a target macro for Mask and
InverseMask if it hasn't been defined.  Remove MaskExists
handling.

* doc/options.texi: Remove MaskNeeded.

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

12 years ago * ja.po: Update.
jsm28 [Tue, 27 Mar 2012 14:29:38 +0000 (14:29 +0000)]
* ja.po: Update.

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

12 years ago * be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
jsm28 [Tue, 27 Mar 2012 14:26:51 +0000 (14:26 +0000)]
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po:
Update.

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

12 years ago2012-03-27 Chung-Lin Tang <cltang@codesourcery.com>
cltang [Tue, 27 Mar 2012 13:05:01 +0000 (13:05 +0000)]
2012-03-27  Chung-Lin Tang  <cltang@codesourcery.com>

PR target/52667
* config/sh/sh.c (find_barrier): Add equality check of last_got
to avoid going above orig insn. Update comments.

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

12 years ago2012-03-27 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 27 Mar 2012 12:50:29 +0000 (12:50 +0000)]
2012-03-27  Richard Guenther  <rguenther@suse.de>

PR middle-end/52720
* fold-const.c (try_move_mult_to_index): Handle &x.array more
explicitely.

* gcc.dg/torture/pr52720.c: New testcase.

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

12 years ago * expmed.c (store_bit_field): Assert that BITREGION_START is a multiple
ebotcazou [Tue, 27 Mar 2012 10:35:55 +0000 (10:35 +0000)]
* expmed.c (store_bit_field): Assert that BITREGION_START is a multiple
of a unit before computing the offset in units.
* expr.c (get_bit_range): Return the null range if the enclosing record
is part of a larger bit field.

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

12 years ago2012-03-27 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
ramana [Tue, 27 Mar 2012 10:26:37 +0000 (10:26 +0000)]
2012-03-27  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

* gcc.target/arm/thumb-ifcvt.c: Only run for -mthumb.
* gcc.target/arm/thumb-16bit-ops.c: Likewise.

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

12 years ago2012-03-26 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 27 Mar 2012 09:50:10 +0000 (09:50 +0000)]
2012-03-26  Tristan Gingold  <gingold@adacore.com>

        * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
        (unw_table_entry): Use unw_word instead of unsigned long.
        (_Unwind_FindTableEntry): Likewise.
        * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
        * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
        (_Unwind_FindTableEntry): Likewise.
        * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
        (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
        (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
        (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
        (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
        (uw_frame_state_for, uw_update_reg_address, uw_update_context)
        (uw_init_context_1, uw_install_context): Likewise.
        (unw_word): Move to unwind-ia64.h

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

12 years ago2012-03-27 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 27 Mar 2012 09:44:00 +0000 (09:44 +0000)]
2012-03-27  Tristan Gingold  <gingold@adacore.com>

* config/ia64/vms.h (CASE_VECTOR_MODE): Define.
* config/ia64/ia64.md: Remove mode in template.
Sign extend operand in expand_simple_binop.
* config/ia64/ia64.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use
CASE_VECTOR_MODE instead of TARGET_ILP32.
(ADDR_VEC_ALIGN): Make it depends on CASE_VECTOR_MODE.

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

12 years ago2012-03-27 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 27 Mar 2012 09:28:02 +0000 (09:28 +0000)]
2012-03-27  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Add description to AC_DEFINE in
GCC_CHECK_MATH_FUNC.
* configure: Regenerate
* config.h.in: Regenerate.

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

12 years ago * include/std/type_traits (result_of): Fix handling of cv-quals.
redi [Tue, 27 Mar 2012 09:03:10 +0000 (09:03 +0000)]
* include/std/type_traits (result_of): Fix handling of cv-quals.
* testsuite/20_util/result_of/1.cc: New.
* testsuite/20_util/result_of/2.cc: New.
* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
line numbers.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.

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

12 years agoDaily bump.
gccadmin [Tue, 27 Mar 2012 00:18:41 +0000 (00:18 +0000)]
Daily bump.

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

12 years ago * varasm.c (assemble_external): #if 0 out the new assert from the
steven [Mon, 26 Mar 2012 20:23:36 +0000 (20:23 +0000)]
* varasm.c (assemble_external): #if 0 out the new assert from the
previous commit, it breaks the Java and Go front ends.

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

12 years ago * toplev.c (check_global_declaration_1): Do not call assemble_external.
steven [Mon, 26 Mar 2012 16:39:11 +0000 (16:39 +0000)]
* toplev.c (check_global_declaration_1): Do not call assemble_external.
* expr.c (emit_block_move_libcall_fn): Likewise.
(clear_storage_libcall_fn): Likewise.
(expand_expr_addr_expr_1): Likewise.
(expand_expr_real_1): Likewise.
* calls.c (rtx_for_function_call): Likewise.

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

12 years ago * varasm.c (assemble_external): Assert this function is only called
steven [Mon, 26 Mar 2012 16:35:59 +0000 (16:35 +0000)]
* varasm.c (assemble_external): Assert this function is only called
during or after expanding to RTL.

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

12 years ago PR libgcj/52694
gerald [Mon, 26 Mar 2012 16:24:33 +0000 (16:24 +0000)]
PR libgcj/52694
* java/io/natVMConsole.cc (IUCLC): Define, if undefined.

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

12 years ago2012-03-26 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 26 Mar 2012 15:46:14 +0000 (15:46 +0000)]
2012-03-26  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/50052
* tree-sra.c (tree_non_aligned_mem_p): Removed.
(tree_non_aligned_mem_for_access_p): Likewise.
(build_accesses_from_assign): Removed strict alignment requirements
checks.
(access_precludes_ipa_sra_p): Likewise.

* testsuite/gcc.dg/ipa/ipa-sra-2.c: Also run on strict-alignment
platforms.

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

12 years agoCombined get_mem and internal_malloc_size.
jb [Mon, 26 Mar 2012 15:16:05 +0000 (15:16 +0000)]
Combined get_mem and internal_malloc_size.

2012-03-26  Janne Blomqvist  <jb@gcc.gnu.org>

* runtime/memory.c (get_mem): Rename to xmalloc, check for zero
size.
(internal_malloc_size): Remove.
* libgfortran.h (get_mem): Rename to xmalloc.
(internal_malloc_size): Remove prototype.
* Makefile.am (i_iall_c): Fix dependency.
(i_iany_c): Likewise.
(i_iparity_c): Likewise.
(i_norm2_c): Likewise.
(i_parity_c): Likewise.
* Makefile.in: Regenerated.
* m4/parity.m4: Fix typo in comment.
* generated/all_l1.c: Regenerated.
* generated/all_l16.c: Regenerated.
* generated/all_l2.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l1.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/any_l2.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/bessel_r10.c: Regenerated.
* generated/bessel_r16.c: Regenerated.
* generated/bessel_r4.c: Regenerated.
* generated/bessel_r8.c: Regenerated.
* generated/count_16_l.c: Regenerated.
* generated/count_1_l.c: Regenerated.
* generated/count_2_l.c: Regenerated.
* generated/count_4_l.c: Regenerated.
* generated/count_8_l.c: Regenerated.
* generated/cshift1_16.c: Regenerated.
* generated/cshift1_4.c: Regenerated.
* generated/cshift1_8.c: Regenerated.
* generated/eoshift1_16.c: Regenerated.
* generated/eoshift1_4.c: Regenerated.
* generated/eoshift1_8.c: Regenerated.
* generated/eoshift3_16.c: Regenerated.
* generated/eoshift3_4.c: Regenerated.
* generated/eoshift3_8.c: Regenerated.
* generated/iall_i1.c: Regenerated.
* generated/iall_i16.c: Regenerated.
* generated/iall_i2.c: Regenerated.
* generated/iall_i4.c: Regenerated.
* generated/iall_i8.c: Regenerated.
* generated/iany_i1.c: Regenerated.
* generated/iany_i16.c: Regenerated.
* generated/iany_i2.c: Regenerated.
* generated/iany_i4.c: Regenerated.
* generated/iany_i8.c: Regenerated.
* generated/in_pack_c10.c: Regenerated.
* generated/in_pack_c16.c: Regenerated.
* generated/in_pack_c4.c: Regenerated.
* generated/in_pack_c8.c: Regenerated.
* generated/in_pack_i1.c: Regenerated.
* generated/in_pack_i16.c: Regenerated.
* generated/in_pack_i2.c: Regenerated.
* generated/in_pack_i4.c: Regenerated.
* generated/in_pack_i8.c: Regenerated.
* generated/in_pack_r10.c: Regenerated.
* generated/in_pack_r16.c: Regenerated.
* generated/in_pack_r4.c: Regenerated.
* generated/in_pack_r8.c: Regenerated.
* generated/iparity_i1.c: Regenerated.
* generated/iparity_i16.c: Regenerated.
* generated/iparity_i2.c: Regenerated.
* generated/iparity_i4.c: Regenerated.
* generated/iparity_i8.c: Regenerated.
* generated/matmul_c10.c: Regenerated.
* generated/matmul_c16.c: Regenerated.
* generated/matmul_c4.c: Regenerated.
* generated/matmul_c8.c: Regenerated.
* generated/matmul_i1.c: Regenerated.
* generated/matmul_i16.c: Regenerated.
* generated/matmul_i2.c: Regenerated.
* generated/matmul_i4.c: Regenerated.
* generated/matmul_i8.c: Regenerated.
* generated/matmul_l16.c: Regenerated.
* generated/matmul_l4.c: Regenerated.
* generated/matmul_l8.c: Regenerated.
* generated/matmul_r10.c: Regenerated.
* generated/matmul_r16.c: Regenerated.
* generated/matmul_r4.c: Regenerated.
* generated/matmul_r8.c: Regenerated.
* generated/maxloc0_16_i1.c: Regenerated.
* generated/maxloc0_16_i16.c: Regenerated.
* generated/maxloc0_16_i2.c: Regenerated.
* generated/maxloc0_16_i4.c: Regenerated.
* generated/maxloc0_16_i8.c: Regenerated.
* generated/maxloc0_16_r10.c: Regenerated.
* generated/maxloc0_16_r16.c: Regenerated.
* generated/maxloc0_16_r4.c: Regenerated.
* generated/maxloc0_16_r8.c: Regenerated.
* generated/maxloc0_4_i1.c: Regenerated.
* generated/maxloc0_4_i16.c: Regenerated.
* generated/maxloc0_4_i2.c: Regenerated.
* generated/maxloc0_4_i4.c: Regenerated.
* generated/maxloc0_4_i8.c: Regenerated.
* generated/maxloc0_4_r10.c: Regenerated.
* generated/maxloc0_4_r16.c: Regenerated.
* generated/maxloc0_4_r4.c: Regenerated.
* generated/maxloc0_4_r8.c: Regenerated.
* generated/maxloc0_8_i1.c: Regenerated.
* generated/maxloc0_8_i16.c: Regenerated.
* generated/maxloc0_8_i2.c: Regenerated.
* generated/maxloc0_8_i4.c: Regenerated.
* generated/maxloc0_8_i8.c: Regenerated.
* generated/maxloc0_8_r10.c: Regenerated.
* generated/maxloc0_8_r16.c: Regenerated.
* generated/maxloc0_8_r4.c: Regenerated.
* generated/maxloc0_8_r8.c: Regenerated.
* generated/maxloc1_16_i1.c: Regenerated.
* generated/maxloc1_16_i16.c: Regenerated.
* generated/maxloc1_16_i2.c: Regenerated.
* generated/maxloc1_16_i4.c: Regenerated.
* generated/maxloc1_16_i8.c: Regenerated.
* generated/maxloc1_16_r10.c: Regenerated.
* generated/maxloc1_16_r16.c: Regenerated.
* generated/maxloc1_16_r4.c: Regenerated.
* generated/maxloc1_16_r8.c: Regenerated.
* generated/maxloc1_4_i1.c: Regenerated.
* generated/maxloc1_4_i16.c: Regenerated.
* generated/maxloc1_4_i2.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r10.c: Regenerated.
* generated/maxloc1_4_r16.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i1.c: Regenerated.
* generated/maxloc1_8_i16.c: Regenerated.
* generated/maxloc1_8_i2.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r10.c: Regenerated.
* generated/maxloc1_8_r16.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i1.c: Regenerated.
* generated/maxval_i16.c: Regenerated.
* generated/maxval_i2.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r10.c: Regenerated.
* generated/maxval_r16.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc0_16_i1.c: Regenerated.
* generated/minloc0_16_i16.c: Regenerated.
* generated/minloc0_16_i2.c: Regenerated.
* generated/minloc0_16_i4.c: Regenerated.
* generated/minloc0_16_i8.c: Regenerated.
* generated/minloc0_16_r10.c: Regenerated.
* generated/minloc0_16_r16.c: Regenerated.
* generated/minloc0_16_r4.c: Regenerated.
* generated/minloc0_16_r8.c: Regenerated.
* generated/minloc0_4_i1.c: Regenerated.
* generated/minloc0_4_i16.c: Regenerated.
* generated/minloc0_4_i2.c: Regenerated.
* generated/minloc0_4_i4.c: Regenerated.
* generated/minloc0_4_i8.c: Regenerated.
* generated/minloc0_4_r10.c: Regenerated.
* generated/minloc0_4_r16.c: Regenerated.
* generated/minloc0_4_r4.c: Regenerated.
* generated/minloc0_4_r8.c: Regenerated.
* generated/minloc0_8_i1.c: Regenerated.
* generated/minloc0_8_i16.c: Regenerated.
* generated/minloc0_8_i2.c: Regenerated.
* generated/minloc0_8_i4.c: Regenerated.
* generated/minloc0_8_i8.c: Regenerated.
* generated/minloc0_8_r10.c: Regenerated.
* generated/minloc0_8_r16.c: Regenerated.
* generated/minloc0_8_r4.c: Regenerated.
* generated/minloc0_8_r8.c: Regenerated.
* generated/minloc1_16_i1.c: Regenerated.
* generated/minloc1_16_i16.c: Regenerated.
* generated/minloc1_16_i2.c: Regenerated.
* generated/minloc1_16_i4.c: Regenerated.
* generated/minloc1_16_i8.c: Regenerated.
* generated/minloc1_16_r10.c: Regenerated.
* generated/minloc1_16_r16.c: Regenerated.
* generated/minloc1_16_r4.c: Regenerated.
* generated/minloc1_16_r8.c: Regenerated.
* generated/minloc1_4_i1.c: Regenerated.
* generated/minloc1_4_i16.c: Regenerated.
* generated/minloc1_4_i2.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r10.c: Regenerated.
* generated/minloc1_4_r16.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i1.c: Regenerated.
* generated/minloc1_8_i16.c: Regenerated.
* generated/minloc1_8_i2.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r10.c: Regenerated.
* generated/minloc1_8_r16.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i1.c: Regenerated.
* generated/minval_i16.c: Regenerated.
* generated/minval_i2.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r10.c: Regenerated.
* generated/minval_r16.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/norm2_r10.c: Regenerated.
* generated/norm2_r16.c: Regenerated.
* generated/norm2_r4.c: Regenerated.
* generated/norm2_r8.c: Regenerated.
* generated/pack_c10.c: Regenerated.
* generated/pack_c16.c: Regenerated.
* generated/pack_c4.c: Regenerated.
* generated/pack_c8.c: Regenerated.
* generated/pack_i1.c: Regenerated.
* generated/pack_i16.c: Regenerated.
* generated/pack_i2.c: Regenerated.
* generated/pack_i4.c: Regenerated.
* generated/pack_i8.c: Regenerated.
* generated/pack_r10.c: Regenerated.
* generated/pack_r16.c: Regenerated.
* generated/pack_r4.c: Regenerated.
* generated/pack_r8.c: Regenerated.
* generated/parity_l1.c: Regenerated.
* generated/parity_l16.c: Regenerated.
* generated/parity_l2.c: Regenerated.
* generated/parity_l4.c: Regenerated.
* generated/parity_l8.c: Regenerated.
* generated/product_c10.c: Regenerated.
* generated/product_c16.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i1.c: Regenerated.
* generated/product_i16.c: Regenerated.
* generated/product_i2.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r10.c: Regenerated.
* generated/product_r16.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/reshape_c10.c: Regenerated.
* generated/reshape_c16.c: Regenerated.
* generated/reshape_c4.c: Regenerated.
* generated/reshape_c8.c: Regenerated.
* generated/reshape_i16.c: Regenerated.
* generated/reshape_i4.c: Regenerated.
* generated/reshape_i8.c: Regenerated.
* generated/reshape_r10.c: Regenerated.
* generated/reshape_r16.c: Regenerated.
* generated/reshape_r4.c: Regenerated.
* generated/reshape_r8.c: Regenerated.
* generated/shape_i16.c: Regenerated.
* generated/shape_i4.c: Regenerated.
* generated/shape_i8.c: Regenerated.
* generated/spread_c10.c: Regenerated.
* generated/spread_c16.c: Regenerated.
* generated/spread_c4.c: Regenerated.
* generated/spread_c8.c: Regenerated.
* generated/spread_i1.c: Regenerated.
* generated/spread_i16.c: Regenerated.
* generated/spread_i2.c: Regenerated.
* generated/spread_i4.c: Regenerated.
* generated/spread_i8.c: Regenerated.
* generated/spread_r10.c: Regenerated.
* generated/spread_r16.c: Regenerated.
* generated/spread_r4.c: Regenerated.
* generated/spread_r8.c: Regenerated.
* generated/sum_c10.c: Regenerated.
* generated/sum_c16.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i1.c: Regenerated.
* generated/sum_i16.c: Regenerated.
* generated/sum_i2.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r10.c: Regenerated.
* generated/sum_r16.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.
* generated/transpose_c10.c: Regenerated.
* generated/transpose_c16.c: Regenerated.
* generated/transpose_c4.c: Regenerated.
* generated/transpose_c8.c: Regenerated.
* generated/transpose_i16.c: Regenerated.
* generated/transpose_i4.c: Regenerated.
* generated/transpose_i8.c: Regenerated.
* generated/transpose_r10.c: Regenerated.
* generated/transpose_r16.c: Regenerated.
* generated/transpose_r4.c: Regenerated.
* generated/transpose_r8.c: Regenerated.
* generated/unpack_c10.c: Regenerated.
* generated/unpack_c16.c: Regenerated.
* generated/unpack_c4.c: Regenerated.
* generated/unpack_c8.c: Regenerated.
* generated/unpack_i1.c: Regenerated.
* generated/unpack_i16.c: Regenerated.
* generated/unpack_i2.c: Regenerated.
* generated/unpack_i4.c: Regenerated.
* generated/unpack_i8.c: Regenerated.
* generated/unpack_r10.c: Regenerated.
* generated/unpack_r16.c: Regenerated.
* generated/unpack_r4.c: Regenerated.
* generated/unpack_r8.c: Regenerated.
* intrinsics/cshift0.c: Use xmalloc.
* intrinsics/ctime.c: Likewise.
* intrinsics/date_and_time.c: Likewise.
* intrinsics/eoshift0.c: Likewise.
* intrinsics/eoshift2.c: Likewise.
* intrinsics/getlog.c: Likewise.
* intrinsics/pack_generic.c: Likewise.
* intrinsics/reshape_generic.c: Likewise.
* intrinsics/spread_generic.c: Likewise.
* intrinsics/string_intrinsics_inc.c: Likewise.
* intrinsics/transpose_generic.c: Likewise.
* intrinsics/unpack_generic.c: Likewise.
* io/fbuf.c: Likewise.
* io/format.c: Likewise.
* io/intrinsics.c: Likewise.
* io/list_read.c: Likewise.
* io/open.c: Likewise.
* io/transfer.c: Likewise.
* io/unit.c: Likewise.
* io/unix.c: Likewise.
* io/write.c: Likewise.
* m4/bessel.m4: Likewise.
* m4/cshift1.m4: Likewise.
* m4/eoshift1.m4: Likewise.
* m4/eoshift3.m4: Likewise.
* m4/iforeach.m4: Likewise.
* m4/ifunction.m4: Likewise.
* m4/ifunction_logical.m4: Likewise.
* m4/in_pack.m4: Likewise.
* m4/matmul.m4: Likewise.
* m4/matmull.m4: Likewise.
* m4/pack.m4: Likewise.
* m4/reshape.m4: Likewise.
* m4/shape.m4: Likewise.
* m4/spread.m4: Likewise.
* m4/transpose.m4: Likewise.
* m4/unpack.m4: Likewise.
* runtime/convert_char.c: Likewise.
* runtime/environ.c: Likewise.
* runtime/in_pack_generic.c: Likewise.

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

12 years ago2012-03-26 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 26 Mar 2012 14:14:51 +0000 (14:14 +0000)]
2012-03-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52701
* tree-vect-loop.c (vect_analyze_scalar_cycles_1): Always
compute and set the evolution part of PHI nodes.

* gfortran.dg/pr52701.f90: New testcase.

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

12 years ago2012-03-26 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 26 Mar 2012 14:13:35 +0000 (14:13 +0000)]
2012-03-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52721
* tree-vect-stmts.c (vect_init_vector): Handle scalars.

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

12 years ago gcc/
uweigand [Mon, 26 Mar 2012 13:13:07 +0000 (13:13 +0000)]
gcc/
PR tree-optimization/52686
* tree-vect-data-refs.c (vect_get_smallest_scalar_type): Handle
WIDEN_LSHIFT_EXPR.

gcc/testsuite/
PR tree-optimization/52686
* gcc.target/arm/pr52686.c: New test.

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

12 years ago * gcc.target/avr/torture/avr-torture.exp (AVR_TORTURE_OPTIONS):
gjl [Mon, 26 Mar 2012 11:29:57 +0000 (11:29 +0000)]
* gcc.target/avr/torture/avr-torture.exp (AVR_TORTURE_OPTIONS):
Add "-Os -flto" to list.

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

12 years agoRemove svn:mergeinfo property.
jakub [Mon, 26 Mar 2012 09:58:35 +0000 (09:58 +0000)]
Remove svn:mergeinfo property.

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

12 years agolibgcc/
gingold [Mon, 26 Mar 2012 09:35:18 +0000 (09:35 +0000)]
libgcc/
2012-03-26  Tristan Gingold  <gingold@adacore.com>

* config/alpha/vms.h (LINK_SPEC): Simplify.
(STARTFILE_SPEC): Remove -mvms-return-codes handling.
(NAME__MAIN, SYMBOL__MAIN): Remove.
(VMS_DEBUG_MAIN_POINTER): Remove.
* config/ia64/vms.h: Likewise.
* config/alpha/alpha.c (alpha_start_function): Move vms_debug_main
code to vms.c.  Call vms_start_function.
* config/ia64/ia64.c (ia64_start_function): Likewise.
* config/vms/vms-protos.h (vms_start_function): Declare.
* config/vms/vms.c (vms_start_function): New function.
* config/vms/vms.h (MATH_LIBRARY): Define.
(VMS_DEBUG_MAIN_POINTER): Define.

gcc/
2012-03-26  Tristan Gingold  <gingold@adacore.com>

* config/alpha/vms.h (LINK_SPEC): Simplify.
(STARTFILE_SPEC): Remove -mvms-return-codes handling.
(NAME__MAIN, SYMBOL__MAIN): Remove.
(VMS_DEBUG_MAIN_POINTER): Remove.
* config/ia64/vms.h: Likewise.
* config/alpha/alpha.c (alpha_start_function): Move vms_debug_main
code to vms.c.  Call vms_start_function.
* config/ia64/ia64.c (ia64_start_function): Likewise.
* config/vms/vms-protos.h (vms_start_function): Declare.
* config/vms/vms.c (vms_start_function): New function.
* config/vms/vms.h (MATH_LIBRARY): Define.
(VMS_DEBUG_MAIN_POINTER): Define.

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

12 years ago2012-03-26 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 26 Mar 2012 08:43:56 +0000 (08:43 +0000)]
2012-03-26  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Use GCC_CHECK_MATH_FUNC for math functions.
* acinclude.m4: Include ../config/math.m4
* configure: Regenerate.
* Makefile.in: Regenerate.

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

12 years ago2012-03-26 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 26 Mar 2012 08:42:52 +0000 (08:42 +0000)]
2012-03-26  Tristan Gingold  <gingold@adacore.com>

* math.m4: New file.

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

12 years ago PR rtl-optimization/52629
ebotcazou [Mon, 26 Mar 2012 08:41:02 +0000 (08:41 +0000)]
PR rtl-optimization/52629
* reload1.c (count_pseudo): Short-circuit common case.
(count_spilled_pseudo): Return early for pseudos without hard regs.
Assert that the pseudo has got a hard reg before manipulating it.

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

12 years agoDaily bump.
gccadmin [Mon, 26 Mar 2012 00:18:55 +0000 (00:18 +0000)]
Daily bump.

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

12 years ago * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Copy
ebotcazou [Sun, 25 Mar 2012 17:21:49 +0000 (17:21 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Copy
the TYPE_PACKED flag from the base type.

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

12 years ago * gcc-interface/decl.c (SS_MARK_NAME): New define.
ebotcazou [Sun, 25 Mar 2012 17:11:33 +0000 (17:11 +0000)]
* gcc-interface/decl.c (SS_MARK_NAME): New define.
(gnat_to_gnu_entity) <E_Function>: Prepend leaf attribute on entities
whose name is SS_MARK_NAME.

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

12 years ago * gcc-interface/utils.c (add_parallel_type): Take a TYPE instead of a
ebotcazou [Sun, 25 Mar 2012 16:58:48 +0000 (16:58 +0000)]
* gcc-interface/utils.c (add_parallel_type): Take a TYPE instead of a
DECL and adjust.  Move around.
(has_parallel_type): New predicate.
(rest_of_record_type_compilation): Return early if the type already
has a parallel type.
* gcc-interface/gigi.h (add_parallel_type): Adjust.
* gcc-interface/decl.c (gnat_to_gnu_entity): Adjust for above changes.

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

12 years ago * gcc-interface/utils.c (finish_record_type): Return early for padded
ebotcazou [Sun, 25 Mar 2012 16:55:01 +0000 (16:55 +0000)]
* gcc-interface/utils.c (finish_record_type): Return early for padded
types and tidy up.

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

12 years ago PR lto/51663
hubicka [Sun, 25 Mar 2012 13:28:32 +0000 (13:28 +0000)]
PR lto/51663
* varpool.c (varpool_finalize_decl): Handle toplevel_reorder here.
(decide_is_variable_needed): Do not handle toplevel reorder here.
* cgraph.h (varpool_can_remove_if_no_refs): Likewise.
* ipa.c (cgraph_remove_unreachable_nodes): Remove unreachable vars
even at -O0.

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

12 years ago PR middle-end/51737
hubicka [Sun, 25 Mar 2012 13:25:51 +0000 (13:25 +0000)]
PR middle-end/51737
* g++.dg/torture/pr51737.C: New testcase

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

12 years agoUse calloc instead of malloc and memset.
jb [Sun, 25 Mar 2012 05:48:49 +0000 (05:48 +0000)]
Use calloc instead of malloc and memset.

2012-03-25  Janne Blomqvist  <jb@gcc.gnu.org>

* runtime/memory.c (xcalloc): New function.
* libgfortran.h (xcalloc): New prototype.
* io/list_read.c (push_char): Use xcalloc instead of get_mem and
memset.
(l_push_char): Likewise.
* io/unit.c (insert_unit): Likewise.
(get_internal_unit): Likewise.
* io/unix.c (open_internal): Likewise.
(open_internal4): Likewise.
(fd_to_stream): Likewise.

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

12 years agoDaily bump.
gccadmin [Sun, 25 Mar 2012 00:17:50 +0000 (00:17 +0000)]
Daily bump.

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

12 years ago Implement return type deduction for normal functions with -std=c++1y.
jason [Sat, 24 Mar 2012 20:56:08 +0000 (20:56 +0000)]
Implement return type deduction for normal functions with -std=c++1y.
* cp-tree.h (FNDECL_USED_AUTO): New macro.
(LAMBDA_EXPR_DEDUCE_RETURN_TYPE_P): Remove.
(dependent_lambda_return_type_node): Remove.
(CPTI_DEPENDENT_LAMBDA_RETURN_TYPE): Remove.
(struct language_function): Add x_auto_return_pattern field.
(current_function_auto_return_pattern): New.
(enum tsubst_flags): Add tf_partial.
* decl.c (decls_match): Handle auto return comparison.
(duplicate_decls): Adjust error message for auto return.
(cxx_init_decl_processing): Remove dependent_lambda_return_type_node.
(cp_finish_decl): Don't do auto deduction for functions.
(grokdeclarator): Allow auto return without trailing return type in
C++1y mode.
(check_function_type): Defer checking of deduced return type.
(start_preparsed_function): Set current_function_auto_return_pattern.
(finish_function): Set deduced return type to void if not previously
deduced.
* decl2.c (change_return_type): Handle error_mark_node.
(mark_used): Always instantiate functions with deduced return type.
Complain about use if deduction isn't done.
* parser.c (cp_parser_lambda_declarator_opt): Use 'auto' for
initial return type.
(cp_parser_lambda_body): Don't deduce return type in a template.
(cp_parser_conversion_type_id): Allow auto in C++1y.
* pt.c (instantiate_class_template_1): Don't mess with
LAMBDA_EXPR_DEDUCE_RETURN_TYPE_P.
(tsubst_copy_and_build): Likewise.
(fn_type_unification, tsubst): Don't reduce the template parm level
of 'auto' during deduction.
(unify): Compare 'auto' specially.
(get_bindings): Change test.
(always_instantiate_p): Always instantiate functions with deduced
return type.
(do_auto_deduction): Handle error_mark_node and lambda context.
Don't check for use in initializer.
(contains_auto_r): Remove.
* search.c (lookup_conversions_r): Handle auto conversion function.
* semantics.c (lambda_return_type): Handle null return.  Don't mess
with dependent_lambda_return_type_node.
(apply_deduced_return_type): Rename from apply_lambda_return_type.
* typeck.c (merge_types): Handle auto.
(check_return_expr): Do auto deduction.
* typeck2.c (add_exception_specifier): Fix complain check.

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

12 years ago * expr.c (optimize_bitfield_assignment_op) <BIT_IOR_EXPR>: Use str_mode
ebotcazou [Sat, 24 Mar 2012 18:58:16 +0000 (18:58 +0000)]
* expr.c (optimize_bitfield_assignment_op) <BIT_IOR_EXPR>: Use str_mode
and str_bitsize instead of more convoluted expressions.

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

12 years ago PR target/52610
ebotcazou [Sat, 24 Mar 2012 18:47:38 +0000 (18:47 +0000)]
PR target/52610
* config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=leon.

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

12 years ago PR target/52656
ebotcazou [Sat, 24 Mar 2012 18:42:24 +0000 (18:42 +0000)]
PR target/52656
* config/sparc/sparc.c (sparc_handle_vis_mul8x16): Fix pasto.

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

12 years agoDaily bump.
gccadmin [Sat, 24 Mar 2012 00:18:38 +0000 (00:18 +0000)]
Daily bump.

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

12 years ago * inclhack.def (aix_malloc): New.
dje [Fri, 23 Mar 2012 23:55:01 +0000 (23:55 +0000)]
   * inclhack.def (aix_malloc): New.
       * fixincl.x: Regenerate.
       * tests/base/malloc.h [AIX_MALLOC_CHECK]: New.

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

12 years agosyscall: Fix errno handling in syscall.Syscall and friends.
ian [Fri, 23 Mar 2012 18:41:07 +0000 (18:41 +0000)]
syscall: Fix errno handling in syscall.Syscall and friends.

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

12 years agoUpdate sparc-linux-gnu libstdc++ ABI baseline.
davem [Fri, 23 Mar 2012 18:29:39 +0000 (18:29 +0000)]
Update sparc-linux-gnu libstdc++ ABI baseline.

libstdc++-v3/

* config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Update.

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

12 years ago2012-03-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 23 Mar 2012 16:17:49 +0000 (16:17 +0000)]
2012-03-23  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/testsuite_flags.in (--cxxflags): Let CXXFLAGS set -g -O2.
* testsuite/lib/libstdc++.exp: Same.

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

12 years agoMerge GNU Classpath 0.99 into libjava.
gandalf [Fri, 23 Mar 2012 15:19:26 +0000 (15:19 +0000)]
Merge GNU Classpath 0.99 into libjava.

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

12 years ago2012-03-23 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 23 Mar 2012 13:26:49 +0000 (13:26 +0000)]
2012-03-23  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/forward_list.h: Slightly tweak two comments.

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

12 years ago2012-03-23 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 23 Mar 2012 11:45:08 +0000 (11:45 +0000)]
2012-03-23  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (build_accesses_from_assign): Remove FIXME comment.

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

12 years ago2012-03-23 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 23 Mar 2012 11:34:32 +0000 (11:34 +0000)]
2012-03-23  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52678
* tree-vectorizer.h (struct _stmt_vec_info): Add
loop_phi_evolution_part member.
(STMT_VINFO_LOOP_PHI_EVOLUTION_PART): New define.
* tree-vect-loop.c (vect_analyze_scalar_cycles_1): Initialize
STMT_VINFO_LOOP_PHI_EVOLUTION_PART.
* tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer):
Use the cached evolution part and the PHI nodes value from
the loop preheader edge instead of re-analyzing the evolution.

* gfortran.dg/pr52678.f: New testcase.

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

12 years agoRemove unused GFC_MAX_LINE macro.
jb [Fri, 23 Mar 2012 08:54:05 +0000 (08:54 +0000)]
Remove unused GFC_MAX_LINE macro.

2012-03-23  Janne Blomqvist  <jb@gcc.gnu.org>

       * gfortran.h (GFC_MAX_LINE): Remove unused macro.

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

12 years ago2012-03-23 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 23 Mar 2012 08:32:47 +0000 (08:32 +0000)]
2012-03-23  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52638
* g++.dg/torture/pr52638.C: New testcase.

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

12 years ago2012-03-23 William Bader <williambader@hotmail.com>
rguenth [Fri, 23 Mar 2012 08:17:24 +0000 (08:17 +0000)]
2012-03-23  William Bader  <williambader@hotmail.com>

c-family/
* c-lex.c (c_lex_with_flags): Avoid declarations after stmts.

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

12 years ago/cp
paolo [Fri, 23 Mar 2012 00:35:33 +0000 (00:35 +0000)]
/cp
2012-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/52487
* class.c (check_field_decls): Call literal_type_p only
on complete types.

/testsuite
2012-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/52487
* g++.dg/cpp0x/lambda/lambda-ice7.C: New.

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

12 years agoDaily bump.
gccadmin [Fri, 23 Mar 2012 00:18:22 +0000 (00:18 +0000)]
Daily bump.

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

12 years ago2012-03-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 23 Mar 2012 00:00:58 +0000 (00:00 +0000)]
2012-03-22  Benjamin Kosnik  <bkoz@redhat.com>

* doc/Makefile.am: XML output names have only .xml suffix.
* doc/Makefile.in: Regenerate.

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

12 years ago * config/mips/mips-tables.opt: Update.
mkuvyrkov [Thu, 22 Mar 2012 21:04:48 +0000 (21:04 +0000)]
* config/mips/mips-tables.opt: Update.
* config/mips/mips.md (processor): Add xlp.
* config/mips/mips-cpus.def: Add xlp.
* config/mips/mips.c (mips_rtx_cost_data): Add costs for XLP, copy from
5KF for now.
* config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Handle xlp.
* doc/invoke.texi: Mention XLP.

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

12 years ago PR c++/52671
jakub [Thu, 22 Mar 2012 20:25:02 +0000 (20:25 +0000)]
PR c++/52671
* decl.c (check_tag_decl): Only use CLASSTYPE_TEMPLATE_INSTANTIATION
on CLASS_TYPE_P types.

* g++.dg/ext/attrib44.C: New test.

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

12 years ago PR middle-end/52547
jakub [Thu, 22 Mar 2012 19:25:36 +0000 (19:25 +0000)]
PR middle-end/52547
* tree-nested.c (convert_tramp_reference_stmt): Call declare_vars
on any new_local_var_chain vars declared during recursing on
GIMPLE_OMP_PARALLEL or GIMPLE_OMP_TASK body.

* testsuite/libgomp.c/pr52547.c: New test.

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

12 years ago* lex.c (search_line_fast): Provide Neon-optimized version for ARM.
rearnsha [Thu, 22 Mar 2012 17:54:55 +0000 (17:54 +0000)]
* lex.c (search_line_fast): Provide Neon-optimized version for ARM.

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

12 years ago * config/alpha/alpha.h (ASM_OUTPUT_ALIGN): Move to config/alpha/elf.h
uros [Thu, 22 Mar 2012 16:11:28 +0000 (16:11 +0000)]
* config/alpha/alpha.h (ASM_OUTPUT_ALIGN): Move to config/alpha/elf.h
(ASM_OUTPUT_SKIP): Move to config/alpha/vms.h
(ASM_OUTPUT_LOCAL): Ditto.
(ASM_OUTPUT_COMMON): Remove.
* config/alpha/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Use ASM_OUTPUT_DEF.
* config/alpha/vms.h (ASM_OUTPUT_ALIGN): Do not undefine before define.

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

12 years agoFix pthread.h failure (PR other/52626)
ro [Thu, 22 Mar 2012 16:07:47 +0000 (16:07 +0000)]
Fix pthread.h failure (PR other/52626)

PR other/52626
* tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]
(PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal.

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

12 years ago* arm/lib1funcs.asm (ctzsi2): New function.
rearnsha [Thu, 22 Mar 2012 15:14:46 +0000 (15:14 +0000)]
* arm/lib1funcs.asm (ctzsi2): New function.
* arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
* arm/t-linux (LIB1ASMFUNCS): Likewise.
* arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
* arm/t-symbian (LIB1ASMFUNCS): Likewise.
* arm/t-vxworks (LIB1ASMFUNCS): Likewise.
* arm/t-wince-pe (LIB1ASMFUNCS): Likewise.

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

12 years ago PR middle-end/51737
hubicka [Thu, 22 Mar 2012 14:33:27 +0000 (14:33 +0000)]
PR middle-end/51737
* cgraph.c (cgraph_remove_node_and_inline_clones): Add FORBIDDEN_NODE
parameter.
* cgraph.h (cgraph_remove_node_and_inline_clones): Update prototype.
* ipa-inline-transform.c (save_inline_function_body): Remove copied clone
if needed.
* tree-inline.c (delete_unreachable_blocks_update_callgraph): Update.

PR middle-end/51737
* g++.dg/torture/pr51737.C: New testcase

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

12 years ago2012-03-22 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 22 Mar 2012 13:52:19 +0000 (13:52 +0000)]
2012-03-22  Richard Guenther  <rguenther@suse.de>

PR middle-end/52666
* fold-const.c (fold_ternary_loc): Fix typo.

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

12 years ago PR target/52496
gjl [Thu, 22 Mar 2012 13:17:16 +0000 (13:17 +0000)]
PR target/52496
* config/avr/avr.md (unspec): Remove UNSPEC_MEMORY_BARRIER.
(unspecv): Add UNSPECV_MEMORY_BARRIER.
(cli_sei): Use unspec_volatile instead of unspec for memory barrier.
(delay_cycles_1, delay_cycles_2): Ditto.
(delay_cycles_3, delay_cycles_4): Ditto.
(nopv, *nopv): Ditto.
(sleep, *sleep): Ditto.
(wdr, *wdr): Ditto.

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

12 years ago2012-03-22 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 22 Mar 2012 13:14:54 +0000 (13:14 +0000)]
2012-03-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52548
* tree-ssa-pre.c (valid_in_sets): Remove handling of invalidation
because of clobbers.
(prune_clobbered_mems): New function.
(compute_antic_aux): Use it to prune ANTIC_OUT.
(compute_partial_antic_aux): Use it to prune PA_IN.
(compute_avail): Only insert expressions into EXP_GEN that
are not invalidated when translated up to the beginning of
the block.

* gcc.dg/tree-ssa/ssa-pre-29.c: New testcase.

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

12 years ago2012-03-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 22 Mar 2012 12:33:17 +0000 (12:33 +0000)]
2012-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/array (array<>::at(size_type) const): Fix version
for undefined __EXCEPTIONS.

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

12 years ago2012-03-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
aldot [Thu, 22 Mar 2012 12:18:16 +0000 (12:18 +0000)]
2012-03-22  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>

* lib/fortran-modules.exp (list-module-names-1): Remove
warning.

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

12 years ago2012-03-22 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 22 Mar 2012 11:36:46 +0000 (11:36 +0000)]
2012-03-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52638
* tree-vect-stmts.c (vect_init_vector_1): New function, split
out from ...
(vect_init_vector): ... here.  Handle scalar vector inits.
(vect_get_vec_def_for_operand): Adjust.
(vectorizable_load): Likewise.

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

12 years ago2012-03-23 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 22 Mar 2012 09:25:49 +0000 (09:25 +0000)]
2012-03-23  Richard Guenther  <rguenther@suse.de>

        * crontab: Enable snapshots from gcc-4_7-branch.

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

12 years ago2012-03-22 Jiangning Liu <jiangning.liu@arm.com>
liujiangning [Thu, 22 Mar 2012 09:17:45 +0000 (09:17 +0000)]
2012-03-22  Jiangning Liu  <jiangning.liu@arm.com>

PR tree-optimization/52563
* gcc.dg/tree-ssa/scev-3.c: XFAIL on lp64.
* gcc.dg/tree-ssa/scev-4.c: XFAIL on lp64.
* gcc.dg/tree-ssa/scev-5.c: New.

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

12 years ago * config.gcc (alpha*-*-linux*): Add elfos.h to tm_file.
uros [Thu, 22 Mar 2012 07:41:38 +0000 (07:41 +0000)]
* config.gcc (alpha*-*-linux*): Add elfos.h to tm_file.
(alpha*-*-freebsd*): Ditto.
(alpha*-*-netbsd*): Ditto.
(alpha*-*-openbsd*): Ditto.
* config/alpha/elf.h (OBJECT_FORMAT_ELF): Remove.
(DWARF2_DEBUGGING_INFO): Remove.
(PREFERRED_DEBUGGING_TYPE): Remove.
(ASM_FINAL_SPEC): Remove.
(IDENT_ASM_OP): Remove.
(ASM_OUTPUT_IDENT): Remove.
(SKIP_ASM_OP): Remove.
(ASM_OUTPUT_SKIP): Remove.
(ALIGN_ASM_OP): Remove.
(ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
(ASM_OUTPUT_CASE_LABEL): Remove.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Remove.
(COMMON_ASM_OP): Remove.
(ASM_OUTPUT_ALIGNED_COMMON): Remove.
(ASCII_DATA_ASM_OP): Remove.
(READONLY_DATA_SECTION_ASM_OP): Remove.
(INIT_SECTION_ASM_OP): Remove.
(FINI_SECTION_ASM_OP): Remove.
(ASM_SECTION_START_OP): Remove.
(ASM_OUTPUT_SECTION_START_FILE): Remove.
(TARGET_ASM_NAMED_SECTION): Remove.
(TARGET_ASM_SELECT_SECTION): Remove.
(MAKE_DECL_ONE_ONLY): Remove.
(TYPE_ASM_OP): Remove.
(SIZE_ASM_OP): Remove.
(ASM_WEAKEN_LABEL): Remove.
(TYPE_OPERAND_FMT): Remove.
(ASM_DECLARE_RESULT): Remove.
(ASM_DECLARE_OBJECT_NAME): Remove.
(ASM_FINISH_DECLARE_OBJECT): Remove.
(ELF_ASCII_ESCAPES): Remove.
(ELF_STRING_LIMIT): Remove.
(STRING_ASM_OP): Remove.
(ASM_OUTPUT_EXTERNAL): Remove.
(TARGET_ASM_FILE_START_FILE_DIRECTIVE): Redefine to false.
* config/alpha/alpha.h (PCC_BITFIELD_TYPE_MATTERS): Undefine
before define.
(ASM_DECLARE_FUNCTION_NAME): Ditto.
(ASM_DECLARE_FUNCTION_SIZE): Ditto.
(ASM_GENERATE_INTERNAL_LABEL): Ditto.
(ASM_OUTPUT_SKIP): Ditto.
(READONLY_DATA_SECTION_ASM_OP): Remove.
(USER_LABEL_PREFIX): Remove.
(ASM_OUTPUT_ASCII): Remove.
(ASM_OUTPUT_CASE_LABEL): Remove.
(NO_DOLLAR_IN_LABEL): Undefine.

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

12 years ago2012-03-22 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 22 Mar 2012 07:29:30 +0000 (07:29 +0000)]
2012-03-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52459
* tree-ssa-pre.c (inhibit_phi_insertion): Do not inhibit
PHI insertion for calls.

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

12 years agoDaily bump.
gccadmin [Thu, 22 Mar 2012 00:19:09 +0000 (00:19 +0000)]
Daily bump.

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

12 years ago * cse.c (invalidate_from_sets_and_clobbers, try_back_substitute_reg,
steven [Wed, 21 Mar 2012 23:01:42 +0000 (23:01 +0000)]
* cse.c (invalidate_from_sets_and_clobbers, try_back_substitute_reg,
find_sets_in_insn, canonicalize_insn): Split out from ...
(cse_insn): ... here.
(invalidate_from_clobbers): Take an insn instead of the pattern.

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

12 years ago * objc-act (objc_build_ivar_assignment): Do not call assemble_external.
steven [Wed, 21 Mar 2012 22:18:32 +0000 (22:18 +0000)]
* objc-act (objc_build_ivar_assignment): Do not call assemble_external.
(objc_build_global_assignment): Likewise.
(objc_build_strong_cast_assignment): Likewise.
* objc-next-runtime-abi-01.c: Cleanup commented-out assemble_external.
* objc-next-runtime-abi-02.c: Likewise.
* objc-gnu-runtime-abi-01.c: Likewise.

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

12 years ago2012-03-21 Andreas Tobler <andreast@fgznet.ch>
andreast [Wed, 21 Mar 2012 21:28:18 +0000 (21:28 +0000)]
2012-03-21  Andreas Tobler  <andreast@fgznet.ch>

* config/rs6000/freebsd64.h: Remove duplicated entries from last
commit.
* config/rs6000/t-freebsd64: Likewise.

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

12 years ago PR target/50751
olegendo [Wed, 21 Mar 2012 20:27:50 +0000 (20:27 +0000)]
PR target/50751
* gcc/target/sh/pr50751-1.c: New.
* gcc/target/sh/pr50751-2.c: New.
* gcc/target/sh/pr50751-3.c: New.

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

12 years ago Fix ChangeLog formatting.
olegendo [Wed, 21 Mar 2012 20:26:00 +0000 (20:26 +0000)]
Fix ChangeLog formatting.

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

12 years ago PR target/52479
olegendo [Wed, 21 Mar 2012 20:24:41 +0000 (20:24 +0000)]
PR target/52479
* config/sh/sh-protos.h (sh_fsca_df2int): Remove.
* config/sh/sh.c (sh_fsca_df2int_rtx, sh_fsca_df2int): Remove.
* config/sh/sh.md (sindf2, cosdf2): Remove.

* gcc.target/sh/sh4a-cos.c: Remove.
* gcc.target/sh/sh4a-sin.c: Remove.
* gcc.target/sh/sh4a-sincos.c: Remove.

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

12 years ago PR/target 52642
olegendo [Wed, 21 Mar 2012 20:19:31 +0000 (20:19 +0000)]
PR/target 52642
* config/sh/sh.c (sh_expand_prologue): Emit blockage at the end of
prologue for unwinder and profiler.

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

12 years ago2012-03-21 Andreas Tobler <andreast@fgznet.ch>
andreast [Wed, 21 Mar 2012 20:13:50 +0000 (20:13 +0000)]
2012-03-21  Andreas Tobler  <andreast@fgznet.ch>

        * configure.ac (HAVE_LD_NO_DOT_SYMBOLS): Add powerpc64-*-freebsd*.
        Introduce emul_name to select the right linker emulation for
        powerpc64-*-freebsd*.
        * configure: Regenerate.
        * config.gcc: Add bits to support powerpc64-*-freebsd*.
        * config/rs6000/freebsd.h (POWERPC_FREEBSD): Define.
        * config/rs6000/freebsd64.h: New file.
        * config/rs6000/rs6000.c (rs6000_option_override_internal): Use
        POWERPC_FREEBSD.
        (rs6000_savres_strategy): Likewise.
        (rs6000_savres_routine_name): Likewise.
        (rs6000_elf_file_end): Likewise.
        * config/rs6000/t-freebsd64: New file.
        * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set the
        rs6000_current_abi for 64-bit FreeBSD to ABI_AIX.

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

12 years ago2012-03-21 Andreas Tobler <andreast@fgznet.ch>
andreast [Wed, 21 Mar 2012 20:12:16 +0000 (20:12 +0000)]
2012-03-21  Andreas Tobler  <andreast@fgznet.ch>

        * config.host: Add bits to support powerpc64-*-freebsd*.
        * config/rs6000/freebsd-unwind.h: New file.
        * config/rs6000/t-freebsd64: New file.

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

12 years ago2013-03-21 Andreas Tobler <andreast@fgznet.ch>
andreast [Wed, 21 Mar 2012 20:11:14 +0000 (20:11 +0000)]
2013-03-21  Andreas Tobler  <andreast@fgznet.ch>

        * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
        Skip this test on powerpc64-*-freebsd*.

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

12 years ago PR rtl-optimization/52543
gjl [Wed, 21 Mar 2012 13:20:20 +0000 (13:20 +0000)]
PR rtl-optimization/52543
PR target/52461
* config/avr/avr-protos.h (avr_load_lpm): New prototype.
* config/avr/avr.c (avr_mode_dependent_address_p): New function.
(TARGET_MODE_DEPENDENT_ADDRESS_P): New define.
(avr_load_libgcc_p): Restrict to __flash loads.
(avr_out_lpm): Only handle 1-byte loads from __flash.
(avr_load_lpm): New function.
(avr_find_unused_d_reg): Remove.
(avr_out_lpm_no_lpmx): Remove.
(adjust_insn_length): Handle ADJUST_LEN_LOAD_LPM.
* config/avr/avr.md (unspec): Add UNSPEC_LPM.
(load_<mode>_libgcc): Use UNSPEC_LPM instead of MEM.
(load_<mode>, load_<mode>_clobber): New insns.
(mov<mode>): For multi-byte move from non-generic
16-bit address spaces: Expand to load_<mode> resp.
load_<mode>_clobber.
(load<mode>_libgcc): Remove expander.
(split-lpmx): Remove split.

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

12 years ago* neon.md (neon_vget_lanev2di): Use gen_lowpart and gen_highpart.
rearnsha [Wed, 21 Mar 2012 11:19:23 +0000 (11:19 +0000)]
* neon.md (neon_vget_lanev2di): Use gen_lowpart and gen_highpart.
* config/arm/neon.ml (Fixed_return_reg): Renamed to fixed_vector_reg.
All callers changed.
(Fixed_core_reg): New feature.
(Vget_lane [sizes S64 and U64]): Add Fixed_core_reg.  Allow fmrrd in
disassembly.
* neon-testgen.ml: Handle Fixed_core_reg.

* gcc.target/arm/neon/vgetQ_laneu64.c: Regenerated.
* gcc.target/arm/neon/vgetQ_lanes64.c: Likewise.

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

12 years ago PR testsuite/52641
gjl [Wed, 21 Mar 2012 10:48:08 +0000 (10:48 +0000)]
PR testsuite/52641
* gcc.dg/misaligned-expand-1.c (cst): Cast to int.
* gcc.dg/misaligned-expand-2.c (cst): Likewise.

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

12 years ago2012-03-21 Andrew Stubbs <ams@codesourcery.com>
ams [Wed, 21 Mar 2012 10:41:46 +0000 (10:41 +0000)]
2012-03-21  Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/arm/arm.c (thumb2_reorg): Add complete support
for 16-bit instructions.
* config/arm/thumb2.md: Delete obsolete flag-clobbering peepholes.

gcc/testsuite/
* gcc.target/arm/thumb-16bit-ops.c: New file.
* gcc.target/arm/thumb-ifcvt.c: New file.

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

12 years ago2012-03-21 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 21 Mar 2012 08:05:51 +0000 (08:05 +0000)]
2012-03-21  Richard Guenther  <rguenther@suse.de>

PR tree-optimizer/52636
* tree-vect-slp.c (vect_get_constant_vectors): Convert constants
to the appropriate type.

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

12 years ago2012-03-21 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 21 Mar 2012 08:02:21 +0000 (08:02 +0000)]
2012-03-21  Richard Guenther  <rguenther@suse.de>

* Makefile.in (cfgexpand.o): Add $(REGS_H) and $(INTEGRATE_H)
dependencies.
* cfgexpand.c (gimple_expand_cfg): Fold in pass_init_function,
pass_jump, pass_initial_value_sets and pass_unshare_all_rtl.
* passes.c (init_optimization_passes): Remove pass_init_function,
pass_jump, pass_initial_value_sets and pass_unshare_all_rtl.
* tree-pass.h (pass_init_function): Remove.
(pass_jump): Remove.
(pass_initial_value_sets): Remove.
(pass_unshare_all_rtl): Remove.
* integrate.c (pass_initial_value_sets): Remove.
* emit-rtl.c (pass_unshare_all_rtl): Remove.
* tree.h (init_function_for_compilation): Remove.
* function.c (init_function_for_compilation): Remove.
(pass_init_function): Remove.
* cfgcleanup.c (rest_of_handle_jump): Remove.
(pass_jump): Remove.

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

12 years ago * c-common.h (enum cxx_dialect): Add cxx1y.
jason [Wed, 21 Mar 2012 05:09:41 +0000 (05:09 +0000)]
* c-common.h (enum cxx_dialect): Add cxx1y.
* c-common.c (c_common_nodes_and_builtins): Use >= for cxx_dialect
test.
* c-cppbuiltin.c (c_cpp_builtins): Likewise.
* c-opts.c (c_common_post_options): Likewise.
(set_std_cxx1y): New.
(c_common_handle_option): Call it.
* c.opt (-std=c++1y, -std=gnu++1y): New flags.
cp/
* lex.c (init_reswords): Use >= for cxx_dialect test.
* parser.c (cp_parser_exception_specification_opt): Likewise.
testsuite/
* lib/target-supports.exp: Add { target c++1y }.

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

12 years agogcc/cp/
jason [Wed, 21 Mar 2012 04:04:39 +0000 (04:04 +0000)]
gcc/cp/
* mangle.c (write_type): Handle 'auto'.
* init.c (build_new): Don't do auto deduction where it might
affect template mangling.
libiberty/
* cp-demangle.c (cplus_demangle_type): Handle 'auto'.

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

12 years agoDaily bump.
gccadmin [Wed, 21 Mar 2012 00:17:50 +0000 (00:17 +0000)]
Daily bump.

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

12 years ago PR testsuite/52641
gjl [Tue, 20 Mar 2012 19:38:51 +0000 (19:38 +0000)]
PR testsuite/52641
* gcc.dg/torture/pr48124-1.c: Add dg-require-effective-target
int32plus.
* gcc.dg/torture/pr48124-4.c: Ditto:
* gcc.dg/torture/pr52530.c: Use long instead of int if int=16.

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

12 years ago PR c++/52510
jason [Tue, 20 Mar 2012 19:14:29 +0000 (19:14 +0000)]
PR c++/52510
* decl.c (reshape_init_class): Handle repeated reshaping.
* search.c (lookup_field_1): Add sanity check.

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

12 years ago * tree-streamer-in.c (streamer_alloc_tree): Call
jason [Tue, 20 Mar 2012 19:14:16 +0000 (19:14 +0000)]
* tree-streamer-in.c (streamer_alloc_tree): Call
ggc_alloc_zone_cleared_tree_node instead of
ggc_alloc_zone_cleared_tree_node_stat.

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

12 years ago * doc/extend.texi (Template Instantiation): Remove anachronisms.
redi [Tue, 20 Mar 2012 17:47:07 +0000 (17:47 +0000)]
* doc/extend.texi (Template Instantiation): Remove anachronisms.

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