- 20 Jan, 2014 5 commits
-
-
c-family/ * c-ada-spec.h (dump_ada_specs): Revert prototype change. * c-ada-spec.c (dump_ads): Likewise. (cpp_check): Likewise. (dump_ada_specs): Likewise. cp/ * decl2.c (cpp_check): Revert prototype change. From-SVN: r206793
Eric Botcazou committed -
PR target/59880 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false if operands[1] is a REG or ZERO_EXTEND of a REG. * gcc.target/i386/pr59880.c: New test. From-SVN: r206792
Jakub Jelinek committed -
From-SVN: r206791
Renlin Li committed -
* MAINTAINERS: Convert to UTF-8. Properly sort Xinliang David Li's entry. From-SVN: r206790
Gerald Pfeifer committed -
From-SVN: r206789
GCC Administrator committed
-
- 19 Jan, 2014 13 commits
-
-
2014-01-19 Steven G. Kargl <kargl@gcc.gnu.org> PR libfortran/59771 PR libfortran/59774 PR libfortran/59836 * gfortran.dg/round_3.f08: New cases added. * gfortran.dg/fmt_g_1.f90: New test. From-SVN: r206786
Steven G. Kargl committed -
2014-01-19 Jerry DeLisle <jvdelisle@gcc.gnu> Dominique d'Humieres <dominiq@lps.ens.fr> PR libfortran/59771 PR libfortran/59774 PR libfortran/59836 * io/write_float.def (output_float): Fix wrong handling of the Fw.0 format. (output_float_FMT_G_): Fixes rounding issues with -m32. Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr> From-SVN: r206785
Jerry DeLisle committed -
From-SVN: r206784
Jan Hubicka committed -
regex_compiler.h (_Comipler<>::_M_quantifier()): Fix parse error of multiple consecutive quantifiers like "a**". 2014-01-19 Tim Shen <timshen91@gmail.com> * include/bits/regex_compiler.h (_Comipler<>::_M_quantifier()): Fix parse error of multiple consecutive quantifiers like "a**". * include/bits/regex_compiler.tcc (_Comipler<>::_M_quantifier()): Likewise. * testsuite/28_regex/basic_regex/multiple_quantifiers.cc: New. From-SVN: r206783
Tim Shen committed -
* g++.dg/pr49718.C: Add "-mno-explicit-relocs" for alpha*-*-* targets. From-SVN: r206782
Uros Bizjak committed -
* config/pa/pa.c (pa_attr_length_millicode_call): Correct length of long non-pic millicode calls. From-SVN: r206779
John David Anglin committed -
2014-01-19 Kito Cheng <kito@0xlab.org> * gcc/builtins.c (expand_movstr): Check movstr expand done or fail. From-SVN: r206777
Kito Cheng committed -
gcc/testsuite/ * gcc.target/mips/pr54240.c: Add -ffat-lto-objects. From-SVN: r206776
Richard Sandiford committed -
Since started, the VAX backend doesn't compile with config-list.mk because one of VAX's macros doesn't use its argument: g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/include -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../../gcc/gcc/../libbacktrace -o loop-invariant.o -MT loop-invariant.o -MMD -MP -MF ./.deps/loop-invariant.TPo ../../../gcc/gcc/loop-invariant.c ../../../gcc/gcc/loop-invariant.c: In function ‘bool check_dependency(basic_block, df_ref, bitmap)’:../../../gcc/gcc/loop-invariant.c:789:20: error: unused variable ‘regno’ [-Werror=unused-variable] unsigned int regno = DF_REF_REGNO (use); ^ cc1plus: all warnings being treated as errors make[2]: *** [loop-invariant.o] Error 1 This should fix it: 2014-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Fix unused variable warning. [BR]: http://gcc.gnu.org/ml/gcc-patches/2014-01/msg00882.html From-SVN: r206775
Jan-Benedict Glaw committed -
re PR target/59379 (gomp_init_num_threads is compiled into an infinite loop with --with-arch=corei7 --with-cpu=slm) PR target/59379 * config/i386/i386.md (*lea<mode>): Zero-extend return register to DImode for zero-extended addresses. From-SVN: r206774
Uros Bizjak committed -
re PR rtl-optimization/57763 (comp-goto-1.c: ICE verify_flow_info failed, error: EDGE_CROSSING missing across section boundary) PR rtl-optimization/57763 * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL on the new indirect jump_insn and increment LABEL_NUSES (label). From-SVN: r206773
Jakub Jelinek committed -
gcc/testsuite/ * gcc.dg/vect/pr57705.c: Require vect_int. * gcc.dg/vect/pr58508.c: Fix order of dg-require-effective-target line. * gcc.dg/vect/vect-alias-check.c: Likewise. From-SVN: r206771
Richard Sandiford committed -
From-SVN: r206770
GCC Administrator committed
-
- 18 Jan, 2014 8 commits
-
-
re PR fortran/58007 ([OOP] ICE in free_pi_tree(): Unresolved fixup - resolve_fixups does not fixup component of __class_bsr_Bsr_matrix) fortran/ PR fortran/58007 * module.c (MOD_VERSION): Bump. (fp2, find_pointer2): Remove. (mio_component_ref): Don't forcedfully set the containing derived type symbol for loading. Remove unused argument. (mio_ref): Update caller (mio_symbol): Dump component list earlier. (skip_list): New argument nest_level. Initialize level with the new argument. (read_module): Add forced pointer components association for derived type symbols. testsuite/ PR fortran/58007 * gfortran.dg/unresolved_fixup_1.f90: New test. * gfortran.dg/unresolved_fixup_2.f90: New test. From-SVN: r206759
Mikael Morin committed -
PR bootstrap/59580 PR bootstrap/59583 * config.gcc (x86_archs): New variable. (x86_64_archs): Likewise. (x86_cpus): Likewise. Use $x86_archs, $x86_64_archs and $x86_cpus to check valid --with-arch/--with-cpu= options. Support --with-arch=/--with-cpu={nehalem,westmere, sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}. From-SVN: r206756
H.J. Lu committed -
* config/i386/i386.c (ix86_adjust_cost): Reorder PROCESSOR_K8 and PROCESSOR_ATHLON to simplify code. Move "memory" calculation. * config/i386/i386.md (*swap<mode>): Rename from swap<mode>. From-SVN: r206753
Uros Bizjak committed -
PR target/58944 * config/i386/i386-c.c (ix86_pragma_target_parse): Temporarily clear cpp_get_options (parse_in)->warn_unused_macros for ix86_target_macros_internal with cpp_define. * gcc.target/i386/pr58944.c: Drop -march=native from dg-options. Remove dg-prune-output lines. From-SVN: r206750
Jakub Jelinek committed -
gcc/ * jump.c (delete_related_insns): Keep (use (insn))s. * reorg.c (redundant_insn): Check for barriers too. From-SVN: r206749
Richard Sandiford committed -
* config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment typo. From-SVN: r206745
H.J. Lu committed -
pa.c (pa_attr_length_indirect_call): Don't output a short call to $$dyncall when TARGET_LONG_CALLS is true. * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short call to $$dyncall when TARGET_LONG_CALLS is true. From-SVN: r206742
John David Anglin committed -
From-SVN: r206741
GCC Administrator committed
-
- 17 Jan, 2014 14 commits
-
-
PR go/59866 runtime: Force work variable in mgc0 to be aligned on 8-byte boundary. From-SVN: r206738
Ian Lance Taylor committed -
* ree.c (combine_set_extension): Temporarily disable test for changing number of hard registers. From-SVN: r206735
Jeff Law committed -
PR middle-end/58125 * ipa-inline-analysis.c (inline_free_summary): Do not free summary of aliases. From-SVN: r206734
Jan Hubicka committed -
2014-01-17 François Dumont <fdumont@gcc.gnu.org> * include/profile/set.h (set): Implement C++11 allocator-aware container requirements. * include/profile/map.h (map): Likewise. * include/profile/multiset.h (multiset): Likewise. * include/profile/multimap.h (multimap): Likewise. * include/profile/set.h (set::operator=(const set&)): Define as default in C++11 mode. (set::operator=(set&&)): Likewise. * include/profile/map.h (map::operator=(const map&)): Likewise. (map::operator=(map&&)): Likewise. * include/profile/multiset.h (multiset::operator=(const multiset&)): Likewise. (multiset::operator=(multiset&&)): Likewise. * include/profile/multimap.h (multimap::operator=(const multimap&)): Likewise. (multimap::operator=(multimap&&)): Likewise. * include/profile/set.h (set::operator=(std::initializer_list<>)): Rely on the same operator from normal mode. * include/profile/map.h (map::operator=(std::initializer_list<>)): Likewise. * include/profile/multiset.h (multiset::operator=(std::initializer_list<>)): Likewise. * include/profile/multimap.h (multimap::operator=(std::initializer_list<>)): Likewise. * include/profile/set.h (set::swap(set&)): Add noexcept specification. * include/profile/map.h (map::swap(map&)): Likewise. * include/profile/multiset.h (multiset::swap(multiset&)): Likewise. * include/profile/multimap.h (multimap::swap(multimap&)): Likewise. From-SVN: r206733
François Dumont committed -
PR middle-end/59706 * gimplify.c (gimplify_expr): Use create_tmp_var instead of create_tmp_var_raw. If cond doesn't have integral type, don't add the IFN_ANNOTATE builtin at all. * gfortran.dg/pr59706.f90: New test. * g++.dg/ext/pr59706.C: New test. From-SVN: r206732
Jakub Jelinek committed -
/cp 2014-01-17 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59270 PR c++/58811 * init.c (build_value_init_noctor): Don't pass error_mark_node to build_value_init. /testsuite 2014-01-17 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59270 PR c++/58811 * g++.dg/cpp0x/decltype-incomplete1.C: New. * g++.dg/init/pr58811.C: Likewise. From-SVN: r206731
Paolo Carlini committed -
2014-01-17 Martin Jambor <mjambor@suse.cz> PR ipa/59736 * ipa-cp.c (prev_edge_clone): New variable. (grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors. Also resize prev_edge_clone vector. (ipcp_edge_duplication_hook): Also update prev_edge_clone. (ipcp_edge_removal_hook): New function. (ipcp_driver): Register ipcp_edge_removal_hook. From-SVN: r206729
Martin Jambor committed -
2014-01-17 Andrew Pinski <apinski@cavium.com> Steve Ellcey <sellcey@mips.com> PR target/59462 * config/mips/mips.c (mips_print_operand): Check operand mode instead of operator mode. Co-Authored-By: Steve Ellcey <sellcey@mips.com> From-SVN: r206724
Andrew Pinski committed -
re PR middle-end/57904 (Bogus(?) "invokes undefined behavior" warning with Fortran's finalization wrapper (gfortran.dg/class_48.f90)) PR middle-end/57904 * passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence so that pass_ccp runs first. PR middle-end/57904 * gfortran.dg/pr57904.f90: New test. From-SVN: r206723
Jeff Law committed -
* config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX. (ix86_adjust_cost): Use !TARGET_XXX. (do_reorder_for_imul): Likewise. (swap_top_of_ready_list): Likewise. (ix86_sched_reorder): Likewise. From-SVN: r206720
H.J. Lu committed -
From-SVN: r206719
H.J. Lu committed -
/cp 2014-01-17 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59269 * init.c (build_value_init_noctor): Assert !TYPE_HAS_COMPLEX_DFLT only when errorcount == 0. /testsuite 2014-01-17 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59269 * g++.dg/cpp0x/nsdmi-union4.C: New. From-SVN: r206718
Paolo Carlini committed -
ix86_split_lea_for_addr transforms a single LEA instruction into a series of MOV and ADD instructions. For lea 0x400(%edx, %ecx, 8), %edx we get mov %ecx, %edx add %ecx, %edx add %ecx, %edx add %ecx, %edx add %ecx, %edx add %ecx, %edx add %ecx, %edx add %ecx, %edx add $0x400, %edx For -mtune=intel, we want to turn on X86_TUNE_OPT_AGU, but avoid ix86_split_lea_for_addr to optimize for both Haswell and Silvermont. This patch adds X86_TUNE_AVOID_LEA_FOR_ADDR and PROCESSOR_INTEL. We keep PROCESSOR_INTEL the same as PROCESSOR_SILVERMONT, except that X86_TUNE_AVOID_LEA_FOR_ADDR isn't turned on for PROCESSOR_INTEL. * config/i386/i386-c.c (ix86_target_macros_internal): Handle PROCESSOR_INTEL. Treat like PROCESSOR_GENERIC. * config/i386/i386.c (intel_memcpy): New. Duplicate slm_memcpy. (intel_memset): New. Duplicate slm_memset. (intel_cost): New. Duplicate slm_cost. (m_INTEL): New macro. (processor_target_table): Add "intel". (ix86_option_override_internal): Replace PROCESSOR_SILVERMONT with PROCESSOR_INTEL for "intel". (ix86_lea_outperforms): Support PROCESSOR_INTEL. Duplicate PROCESSOR_SILVERMONT. (ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR instead of TARGET_OPT_AGU. (ix86_issue_rate): Likewise. (ix86_adjust_cost): Likewise. (ia32_multipass_dfa_lookahead): Likewise. (swap_top_of_ready_list): Likewise. (ix86_sched_reorder): Likewise. * config/i386/i386.h (TARGET_INTEL): New. (TARGET_AVOID_LEA_FOR_ADDR): Likewise. (processor_type): Add PROCESSOR_INTEL. * config/i386/x86-tune.def: Support m_INTEL. Duplicate m_SILVERMONT. Add X86_TUNE_AVOID_LEA_FOR_ADDR. From-SVN: r206717
H.J. Lu committed -
PR c++/59838 cp/ * cvt.c (ocp_convert): Don't segfault on non-existing ENUM_UNDERLYING_TYPE. testsuite/ * g++.dg/diagnostic/pr59838.C: New test. From-SVN: r206716
Marek Polacek committed
-