- 22 Mar, 2012 1 commit
-
-
From-SVN: r185627
GCC Administrator committed
-
- 21 Mar, 2012 19 commits
-
-
* 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. From-SVN: r185622
Steven Bosscher committed -
* 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. From-SVN: r185621
Steven Bosscher committed -
2012-03-21 Andreas Tobler <andreast@fgznet.ch> * config/rs6000/freebsd64.h: Remove duplicated entries from last commit. * config/rs6000/t-freebsd64: Likewise. From-SVN: r185620
Andreas Tobler committed -
PR target/50751 * gcc/target/sh/pr50751-1.c: New. * gcc/target/sh/pr50751-2.c: New. * gcc/target/sh/pr50751-3.c: New. From-SVN: r185619
Oleg Endo committed -
From-SVN: r185618
Oleg Endo committed -
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. From-SVN: r185617
Oleg Endo committed -
PR/target 52642 * config/sh/sh.c (sh_expand_prologue): Emit blockage at the end of prologue for unwinder and profiler. From-SVN: r185616
Kaz Kojima committed -
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. From-SVN: r185615
Andreas Tobler committed -
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. From-SVN: r185614
Andreas Tobler committed -
2013-03-21 Andreas Tobler <andreast@fgznet.ch> * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Skip this test on powerpc64-*-freebsd*. From-SVN: r185613
Andreas Tobler committed -
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. From-SVN: r185605
Georg-Johann Lay committed -
* 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. From-SVN: r185603
Richard Earnshaw committed -
PR testsuite/52641 * gcc.dg/misaligned-expand-1.c (cst): Cast to int. * gcc.dg/misaligned-expand-2.c (cst): Likewise. From-SVN: r185602
Martin Jambor committed -
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. From-SVN: r185601
Andrew Stubbs committed -
re PR tree-optimization/52636 (ICE: tree check: expected integer_cst, have string_cst in tree_to_double_int, at tree.h:4324) 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. From-SVN: r185599
Richard Guenther committed -
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. From-SVN: r185598
Richard Guenther committed -
* 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 }. From-SVN: r185596
Jason Merrill committed -
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'. From-SVN: r185595
Jason Merrill committed -
From-SVN: r185593
GCC Administrator committed
-
- 20 Mar, 2012 20 commits
-
-
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. From-SVN: r185588
Georg-Johann Lay committed -
PR c++/52510 * decl.c (reshape_init_class): Handle repeated reshaping. * search.c (lookup_field_1): Add sanity check. From-SVN: r185587
Jason Merrill committed -
* tree-streamer-in.c (streamer_alloc_tree): Call ggc_alloc_zone_cleared_tree_node instead of ggc_alloc_zone_cleared_tree_node_stat. From-SVN: r185586
Jason Merrill committed -
From-SVN: r185584
Jonathan Wakely committed -
* gcc.target/avr/progmem.h (pgm_read_char): Define depending on __AVR_HAVE_LPMX__ From-SVN: r185583
Georg-Johann Lay committed -
From-SVN: r185582
Jonathan Wakely committed -
* include/bits/stl_list.h (list::_M_size): Use NSDMI. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Adjust line numbers. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise. From-SVN: r185580
Jonathan Wakely committed -
PR target/52607 * config/i386/i386.c (expand_vec_perm_vperm2f128): New function. (ix86_expand_vec_perm_const_1): Call it. From-SVN: r185579
Jakub Jelinek committed -
* config/i386/i386.c (vselect_insn): New variable. (init_vselect_insn): New function. (expand_vselect, expand_vselect_insn): Add testing_p argument. Call init_vselect_insn if vselect_insn is NULL. Adjust PATTERN (vselect_insn), instead of creating a new insn each time, only emit a copy of it if not testing and recog has been successful. (expand_vec_perm_pshufb, expand_vec_perm_1, expand_vec_perm_pshuflw_pshufhw, expand_vec_perm_broadcast_1): Adjust callers. From-SVN: r185578
Jakub Jelinek committed -
PR target/52607 * config/i386/i386.md ("isa" attribute): Add avx2 and noavx2. ("enabled" attribute): Handle avx2 and noavx2 isas. * config/i386/sse.md (avx2_vec_dupv8sf_1, avx2_pbroadcast<mode>_1): New insns. (vec_dup<mode>): Add avx2 =x,x alternative. (vec_dup<mode> splitter): Don't split if TARGET_AVX2. (*avx_vperm_broadcast_<mode>): Don't split V4DFmode if TARGET_AVX2. For TARGET_AVX2, V8SFmode and elt == 0 split into vbroadcastss. * config/i386/i386.c (expand_vec_perm_pshufb): Emit also vpermps for V8SFmode. (expand_vec_perm_1): For broadcasts, use avx2_pbroadcast<mode>_1 if possible, handle also V8SFmode. From-SVN: r185577
Jakub Jelinek committed -
* arm/predicates.md (zero_operand, reg_or_zero_operand): New predicates. * arm/neon.md (neon_vceq<mode>, neon_vcge<mode>): Use reg_or_zero_operand predicate. (neon_vcle<mode>, neon_vclt<mode>): Use zero_operand predicate. From-SVN: r185573
Richard Earnshaw committed -
PR target/49868 * gcc.target/avr/torture/addr-space-2.h: New file. * gcc.target/avr/torture/addr-space-2-g.h: New test. * gcc.target/avr/torture/addr-space-2-0.h: New test. * gcc.target/avr/torture/addr-space-2-1.h: New test. * gcc.target/avr/torture/addr-space-2-x.h: New test. From-SVN: r185570
Georg-Johann Lay committed -
2012-03-20 Richard Guenther <rguenther@suse.de> PR gcov-profile/52627 * libgcov.c (init_mx): Fix mutex name. From-SVN: r185569
Richard Guenther committed -
* config/i386/i386.c (ix86_decompose_address) <case ZERO_EXTEND>: If operand isn't UNSPEC, return 0. From-SVN: r185568
Jakub Jelinek committed -
From-SVN: r185567
Arnaud Charlet committed -
2012-03-20 Arnaud Charlet <charlet@adacore.com> * hlo.ads, hlo.adb: Removed, no longer used. * gcc-interface/Make-lang.in: Remove hlo.o. Update dependencies. * gcc-interface/Makefile.in: Remove EXTRA_LIBGNAT_SRCS (temporarly) and compute it from EXTRA_LIBGNAT_OBJS. Clean up comments, reorder LIBGNAT_SRCS and LIBGNAT_OBJS. From-SVN: r185565
Arnaud Charlet committed -
2012-03-20 Richard Guenther <rguenther@suse.de> * tree-pass.h (pass_rtl_eh): Remove. * except.c (gate_handle_eh): Likewise. (rest_of_handle_eh): Likewise. (pass_rtl_eh): Likewise. (finish_eh_generation): Export. * except.h (finish_eh_generation): Declare. * passes.c (init_optimization_passes): Remove pass_rtl_eh. * cfgexpand.c (gimple_expand_cfg): Call finish_eh_generation after expanding stack alignment. Instead of compacting blocks call cleanup_cfg. From-SVN: r185564
Richard Guenther committed -
stor-layout.c (finish_bitfield_representative): Fallback to conservative maximum size if the padding up to the next field... 2012-03-20 Richard Guenther <rguenther@suse.de> * stor-layout.c (finish_bitfield_representative): Fallback to conservative maximum size if the padding up to the next field cannot be computed as a constant. (finish_bitfield_layout): If we cannot compute the distance between the start of the bitfield representative and the bitfield member start a new representative. * expr.c (get_bit_range): The distance between the start of the bitfield representative and the bitfield member is zero if the field offsets are not constants. * gnat.dg/pack16.adb: New testcase. * gnat.dg/pack16_pkg.ads: Likewise. * gnat.dg/specs/pack8.ads: Likewise. * gnat.dg/specs/pack8_pkg.ads: Likewise. From-SVN: r185563
Richard Guenther committed -
2012-03-20 Yannick Moy <moy@adacore.com> * gnat_rm.texi, sem_attr.ads: Update documentation. From-SVN: r185562
Yannick Moy committed -
2012-03-20 Tristan Gingold <gingold@adacore.com> * tree.h (enum size_type_kind): Add stk_ prefix to constants, convert in lowercase. (sizetype_tab, sizetype, bitsizetype, ssizetype, sbitsizetype) (size_int, ssize_int, bitsize_int, sbitsize_int): Adjust. * stor-layout.c (sizetype_tab): Adjust. (initialize_sizetypes): Use SIZETYPE instead of SIZE_TYPE. * tree-streamer.c (preload_common_nodes): Use stk_type_kind_last instead of type_kind_last. * tree-scalar-evolution.c (interpret_rhs_expr): Use size_int instead of size_int_kind. * doc/tm.texi.in (Type Layout): Document SIZETYPE. * doc/tm.texi: Regenerate. * defaults.h (SIZETYPE): Provide a default value. * config/vms/vms.h (SIZE_TYPE): Define as "unsigned int". (SIZETYPE): Define. From-SVN: r185561
Tristan Gingold committed
-