- 13 Feb, 2015 24 commits
-
-
PR c/65050 * c-decl.c (grokdeclarator): Print also the type when giving the error message about array's incomplete element type. * gcc.dg/pr65050.c: New test. From-SVN: r220698
Marek Polacek committed -
PR c++/65054 * pt.c (template_args_equal): Look through conversions here. * tree.c (cp_tree_equal): Not here. From-SVN: r220697
Jason Merrill committed -
PR tree-optimization/64823 * tree-vrp.c (identify_jump_threads): Handle blocks with no statements. * tree-ssa-threadedge.c (potentially_threadable_block): Allow threading through blocks with PHIs, but no statements. (thread_through_normal_block): Distinguish between blocks where we did not process all the statements and blocks with no statements. PR tree-optimization/64823 gcc.dg/uninit-20.c: New test. From-SVN: r220696
Jeff Law committed -
PR rtl-optimization/47477 * match.pd (convert (plus/minus (convert @0) (convert @1): New simplifier to narrow arithmetic. PR rtl-optimization/47477 * gcc.dg/tree-ssa/pr47477.c: New test. From-SVN: r220695
Jeff Law committed -
PR ipa/65028 * ipa-prop.c (update_indirect_edges_after_inlining): Do not drop polymorphic call info when type is not known to be preserved. From-SVN: r220694
Jan Hubicka committed -
PR ipa/65028 * ipa-inline-transform.c (mark_all_inlined_calls_cdtor): New function. (inline_call): Use it. From-SVN: r220693
Martin Jambor committed -
/cp 2015-02-13 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60211 * parser.c (cp_parser_pragma): Diagnose PRAGMA_IVDEP at pragma_external context. /testsuite 2015-02-13 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60211 * g++.dg/parse/ivdep-2.C: New. * g++.dg/parse/ivdep-3.C: Likewise. From-SVN: r220689
Paolo Carlini committed -
2015-02-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/64506 * gfortran.dg/continuation_13.f90: New test. * gfortran.dg/continuation_14.f: New test. From-SVN: r220688
Jerry DeLisle committed -
2015-02-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/64506 * scanner.c (gfc_next_char_literal): For free form source, check for '!' and if found, clear the comment and go back and get the next character. For fixed form source, skip the rest of the line. From-SVN: r220687
Jerry DeLisle committed -
gcc/ * config/nvptx/offload.h (ACCEL_COMPILER_acc_device): Define to GOMP_DEVICE_NVIDIA_PTX. From-SVN: r220686
Thomas Schwinge committed -
PR c++/65051 * call.c (reference_binding): Don't look for bad conversion if TO is incomplete. From-SVN: r220685
Jason Merrill committed -
/cp 2015-02-13 Paolo Carlini <paolo.carlini@oracle.com> PR c++/64970 * decl.c (make_typename_type): Pass tsubst_flags_t argument to lookup_template_class. /testsuite 2015-02-13 Paolo Carlini <paolo.carlini@oracle.com> PR c++/64970 * g++.dg/cpp0x/sfinae55.C: New. From-SVN: r220684
Paolo Carlini committed -
PR ipa/65034 * stmt.c (emit_case_nodes): Use void_type_node instead of NULL_TREE as LABEL_DECL type. * decl.c (start_preparsed_function): Use void_type_node instead of NULL_TREE as LABEL_DECL type. * g++.dg/ipa/pr65034.C: New test. From-SVN: r220683
Jakub Jelinek committed -
* testsuite/28_regex/traits/char/isctype.cc (test01): Fix mixed line-endings introduced in last change. From-SVN: r220682
Matthew Wahab committed -
* config/pa/constraints.md: Change "Q" and "T" constraints to memory constraints. * config/pa/pa.c (pa_cannot_force_const_mem): Don't allow constant symbolic references to data to be forced to constant memory on the SOM target. From-SVN: r220680
John David Anglin committed -
gcc/ PR tree-optimization/65002 * tree-cfg.c (pass_data_fixup_cfg): Don't update SSA on start. * tree-sra.c (some_callers_have_no_vuse_p): New. (ipa_early_sra): Reject functions whose callers assume function is read only. gcc/testsuite/ PR tree-optimization/65002 * gcc.dg/pr65002.C: New. From-SVN: r220679
Ilya Enkovich committed -
2015-02-13 Richard Biener <rguenther@suse.de> PR lto/65015 * dwarf2out.c (dwarf2out_finish): Use <artificial> as DW_AT_name for LTO produced CUs. From-SVN: r220678
Richard Biener committed -
PR c/65040 * c-format.c (check_format_types): Don't warn about different signedness if the original value is in the range of WANTED_TYPE. * c-c++-common/pr65040.c: New test. From-SVN: r220677
Marek Polacek committed -
re PR tree-optimization/64705 (Bad code generation of sieve on x86-64 because of too aggressive IV optimizations) PR tree-optimization/64705 * tree-ssa-loop-niter.h (expand_simple_operations): New parameter. * tree-ssa-loop-niter.c (expand_simple_operations): New parameter. * tree-ssa-loop-ivopts.c (extract_single_var_from_expr): New. (find_bivs, find_givs_in_stmt_scev): Pass new argument to expand_simple_operations. testsuite PR tree-optimization/64705 * gcc.dg/tree-ssa/pr64705.c: New test. From-SVN: r220676
Bin Cheng committed -
PR c++/64956 * c-opts.c (c_common_post_options): Change flag_abi_version from 0 to the current highest version. * c-cppbuiltin.c (c_cpp_builtins): Assert that it isn't 0. From-SVN: r220675
Jason Merrill committed -
PR rtl/32219 gcc/ * cgraphunit.c (cgraph_node::finalize_function): Set definition before notice_global_symbol. (varpool_node::finalize_decl): Likewise. * varasm.c (default_binds_local_p_2): Rename from default_binds_local_p_1, add weak_dominate argument. Use direct returns instead of assigning to local variable. Unify varpool and cgraph paths via symtab_node. Reject undef weak variables before testing visibility. Reorder tests for simplicity. (default_binds_local_p): Use default_binds_local_p_2. (default_binds_local_p_1): Likewise. (decl_binds_to_current_def_p): Unify varpool and cgraph paths via symtab_node. (default_elf_asm_output_external): Emit visibility when specified. gcc/testsuite/ * gcc.dg/visibility-22.c: New test. * gcc.dg/visibility-23.c: New test. * gcc.target/i386/pr32219-1.c: New test. * gcc.target/i386/pr32219-2.c: New test. * gcc.target/i386/pr32219-3.c: New test. * gcc.target/i386/pr32219-4.c: New test. * gcc.target/i386/pr32219-5.c: New test. * gcc.target/i386/pr32219-6.c: New test. * gcc.target/i386/pr32219-7.c: New test. * gcc.target/i386/pr32219-8.c: New test. * gcc.target/i386/pr64317.c: Expect GOTOFF, not GOT. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r220674
H.J. Lu committed -
2015-02-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/57822 * gfortran/fmt_g0_7.f08: Adjust for archtectures with less than four different KINDs. From-SVN: r220673
Jerry DeLisle committed -
* config/rs6000/rs6000.c (rs6000_emit_epilogue): Fix typo in code setting up r11 for out-of-line fp restore. From-SVN: r220672
Alan Modra committed -
From-SVN: r220671
GCC Administrator committed
-
- 12 Feb, 2015 16 commits
-
-
* config/visium/visium.opt (msv-mode): Add RejectNegative and Report. (muser-mode): Likewise. From-SVN: r220667
Eric Botcazou committed -
PR c++/64898 * mangle.c (write_mangled_name): Fix test for variable template instantiation. From-SVN: r220666
Jason Merrill committed -
rs6000.c (rs6000_emit_epilogue): Use addsi3_carry or adddi3_carry when restoring frame_reg_rtx from r0 after restvr. * config/rs6000/rs6000.c (rs6000_emit_epilogue): Use addsi3_carry or adddi3_carry when restoring frame_reg_rtx from r0 after restvr. From-SVN: r220665
Alan Modra committed -
re PR c++/64884 (FAIL: g++.dg/tm/pr47573.C -std=gnu++98 (test for excess errors) on x86_64-apple-darwin*) PR c++/64884 * g++.dg/tm/pr47573.C: Only run on comdat_group effective targets. From-SVN: r220664
Jakub Jelinek committed -
PR sanitizer/65000 * g++.dg/ubsan/pr65000.C: New test. From-SVN: r220663
Jakub Jelinek committed -
* tree-sra.c (dump_dereferences_table): Avoid -Wformat-security warning. * tree-ssa-uninit.c (dump_predicates): Likewise. * opts.c (print_filtered_help): Likewise. From-SVN: r220662
David Howells committed -
* dwarf2out.c (output_die): Use "%s", name instead of name to avoid -Wformat-security warning. From-SVN: r220661
Jakub Jelinek committed -
* dwarf2asm.c (dw2_asm_output_vms_delta): Only define if ASM_OUTPUT_DWARF_VMS_DELTA is defined. * dwarf2out.c (output_die): Use dw2_asm_output_vms_delta only if ASM_OUTPUT_DWARF_VMS_DELTA is defined. From-SVN: r220660
Jakub Jelinek committed -
From-SVN: r220658
Jason Merrill committed -
gcc/ * common.opt (-flifetime-dse): New. gcc/cp/ * decl.c (begin_destructor_body): Condition clobber on -flifetime-dse. From-SVN: r220657
Jason Merrill committed -
PR c++/64959 * parser.c (lookup_literal_operator): Return all candidates. (cp_parser_userdef_char_literal): Simplify error handling. (cp_parser_userdef_numeric_literal): Pass tf_warning_or_error. (cp_parser_userdef_string_literal): Pass tf_warning_or_error. Also give higher priority to standard string UDL operator. From-SVN: r220656
Andrea Azzarone committed -
From-SVN: r220655
Jason Merrill committed -
2015-02-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/64932 * trans-stmt.c (gfc_trans_deallocate): If a component array expression is not a descriptor type and it is a derived type that has allocatable components and is not finalizable, then deallocate the allocatable components. 2015-02-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/64932 * gfortran.dg/finalize_28.f90: New test From-SVN: r220654
Paul Thomas committed -
PR debug/55541 * cp-tree.h (BLOCK_OUTER_CURLY_BRACE_P): Define. * decl.c (poplevel): If functionbody, try not to create an extra BLOCK for function body and use subblocks as that, if it is non-NULL and doesn't have siblings. Set BLOCK_OUTER_CURLY_BRACE_P flag. (outer_curly_brace_block): Use BLOCK_OUTER_CURLY_BRACE_P flag. * g++.dg/debug/dwarf2/localclass3.C: Adjust for the extraneous DW_TAG_lexical_block removal. * g++.dg/debug/dwarf2/redeclaration-1.C: Likewise. * g++.dg/guality/pr55541.C: New test. From-SVN: r220650
Jakub Jelinek committed -
PR sanitizer/64984 * except.c (check_noexcept_r): Return NULL for internal calls. * g++.dg/ubsan/pr64984.C: New test. From-SVN: r220649
Jakub Jelinek committed -
* testsuite/28_regex/traits/char/isctype.cc (test01): Replace test for __NEWLIB__ macro with a dejagnu set macro. * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise. From-SVN: r220648
Matthew Wahab committed
-