- 16 Dec, 2010 16 commits
-
-
PR debug/46893 * cfgexpand.c (expand_debug_expr): If GET_MODE (op0) is VOIDmode, use TYPE_MODE (TREE_TYPE (tem)) instead of mode1. * gcc.dg/pr46893.c: New test. From-SVN: r167949
Jakub Jelinek committed -
2010-12-16 H.J. Lu <hongjiu.lu@intel.com> PR lto/46976 * gcc.dg/lto/pr46940_1.c (main): Return 0. From-SVN: r167903
H.J. Lu committed -
2010-12-16 Chung-Lin Tang <cltang@codesourcery.com> PR target/46883 * config/arm/arm.md (zero_extendhisi2 for register input splitter): Change "register_operand" to "s_register_operand". (zero_extendqisi2 for register input splitter): Same. testsuite/ * gcc.target/arm/pr46883.c: New testcase. From-SVN: r167900
Chung-Lin Tang committed -
From-SVN: r167899
Ian Lance Taylor committed -
From-SVN: r167898
Ian Lance Taylor committed -
From-SVN: r167897
Ian Lance Taylor committed -
PR lto/46976 * gcc.dg/lto/pr46940_0.c: Fix commit. From-SVN: r167896
Jan Hubicka committed -
gcc/cp/ PR c++/39859 PR c++/44522 PR c++/44523 * parser.c (struct cp_parser): Add colon_corrects_to_scope_p field. (cp_parser_new): Initialize it. (cp_parser_nested_name_specifier_opt): Auto-correct colons to scopes if we are able to. (cp_parser_question_colon_clause): Disallow colon correction. (cp_parser_label_for_labeled_statement): Likewise. (cp_parser_range_for): Likewise. (cp_parser_enum_specifier): Likewise. (cp_parser_class_head): Likewise. (cp_parser_member_declaration): Likewise. gcc/testsuite/ PR c++/39859 PR c++/44522 PR c++/44523 * g++.dg/parse/colon-autocorrect-1.C: New testcase. * g++.dg/parse/colon-autocorrect-2.C: New testcase. From-SVN: r167895
Nathan Froyd committed -
re PR c++/46852 (ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in cp_parser_class_specifier, at cp/parser.c:16947) gcc/cp/ PR c++/46852 * parser.c (cp_parser_class_specifier): Check for TYPE_P. gcc/testsuite/ PR c++/46852 * g++.dg/pr46852.C: New test. From-SVN: r167894
Nathan Froyd committed -
http://blog.regehr.org/archives/320
PR middle-end/46939 * predic.c (predict_paths_leading_to_edge): New function. (apply_return_prediction): Use it. (predict_paths_for_bb): Do not special case abnormals. * gcc.target/i386/pr46939.c: New testcase. From-SVN: r167893
Jan Hubicka committed -
From-SVN: r167892
Ian Lance Taylor committed -
From-SVN: r167891
Ian Lance Taylor committed -
From-SVN: r167890
GCC Administrator committed -
From-SVN: r167886
Ian Lance Taylor committed -
* config.gcc (powerpc-*-lynxos*): Don't add lynx.opt to extra_options twice. From-SVN: r167885
Joseph Myers committed -
From-SVN: r167884
Ian Lance Taylor committed
-
- 15 Dec, 2010 24 commits
-
-
From-SVN: r167883
Ian Lance Taylor committed -
From-SVN: r167882
Ian Lance Taylor committed -
From-SVN: r167881
Ian Lance Taylor committed -
* doc/tm.texi.in (US_SOFTWARE_GOFAST): Don't document. * doc/tm.texi: Regenerate. * system.h (US_SOFTWARE_GOFAST): Poison. * config.gcc (enable_gofast): Don't handle. * config/gofast.h: Remove. * config/mips/t-gofast: Remove. * config/fp-bit.c (US_SOFTWARE_GOFAST): Don't handle. * config/fp-bit.h (US_SOFTWARE_GOFAST): Don't handle. * config/mips/elforion.h: Don't mention GOFAST in comment. * config/mips/mips.c: Don't include gofast.h. (mips_init_libfuncs): Don't call gofast_maybe_init_libfuncs. * config/mips/t-sr71k (dp-bit.c, fp-bit.c): Don't define US_SOFTWARE_GOFAST. * config/sparc/sparc.c: Don't include gofast.h. (sparc_init_libfuncs): Don't call gofast_maybe_init_libfuncs. * config/spu/t-spu-elf (dp-bit.c, fp-bit.c): Don't undefine US_SOFTWARE_GOFAST. From-SVN: r167880
Joseph Myers committed -
From-SVN: r167879
Ian Lance Taylor committed -
From-SVN: r167878
Ian Lance Taylor committed -
From-SVN: r167877
Ian Lance Taylor committed -
2010-12-15 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/46404 * gcc.dg/graphite/pr46404.c: New. From-SVN: r167876
Sebastian Pop committed -
From-SVN: r167875
Ian Lance Taylor committed -
From-SVN: r167874
Ian Lance Taylor committed -
From-SVN: r167872
Ian Lance Taylor committed -
re PR fortran/46945 (gfortran.dg/unpack_zerosize_1.f90 FAILs with -ftree-vrp -fno-tree-ccp -fno-tree-fre) PR fortran/46945 * trans-array.c (gfc_array_init_size): Perform stride overflow checking and multiplication by element_size in size_type_node instead of sizetype, return value with size_type_node type instead of sometimes with sizetype and sometimes with gfc_array_index_type. * gfortran.dg/pr46945.f90: New test. From-SVN: r167871
Jakub Jelinek committed -
From-SVN: r167870
Ian Lance Taylor committed -
From-SVN: r167866
Ian Lance Taylor committed -
re PR debug/46815 (Invalid DW_AT_location for a retval instance of a class that has a virtual function) PR debug/46815 * cp-gimplify.c (cp_genericize): When changing RESULT_DECL into invisible reference, change also DECL_VALUE_EXPR of NRV optimized variable. * g++.dg/guality/pr46815.C: New test. From-SVN: r167865
Jakub Jelinek committed -
From-SVN: r167863
Janne Blomqvist committed -
re PR c++/42083 ([C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init") /cp 2010-12-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42083 * init.c (build_value_init): Check build_special_member_call return value for error_mark_node. /testsuite 2010-12-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42083 * g++.dg/cpp0x/lambda/lambda-ice2.C: New. From-SVN: r167862
Paolo Carlini committed -
From-SVN: r167860
Janne Blomqvist committed -
* tree.c (get_file_function_name): Avoid using random seed on GLOBAL_sub_I and GLOBAL_sub_D. From-SVN: r167858
Jan Hubicka committed -
2010-12-15 H.J. Lu <hongjiu.lu@intel.com> * gfortran.dg/debug/pr46756.f: Correct PR number. From-SVN: r167857
H.J. Lu committed -
From-SVN: r167856
H.J. Lu committed -
2010-12-15 Martin Jambor <mjambor@suse.cz> PR tree-optimization/46053 PR middle-end/46287 PR middle-end/46242 * cgraph.h (cgraph_indirect_call_info): New field thunk_delta. * gimple.h (gimple_fold_obj_type_ref): Declaration removed. (gimple_fold_call): Declare. (gimple_adjust_this_by_delta): Likewise. * cgraph.c (cgraph_make_edge_direct): New parameter delta. Updated all users. (cgraph_clone_edge): Create a copy of indirect_info also for direct edges. * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Adjust this parameters. * gimple-fold.c (gimple_fold_obj_type_ref_known_binfo): Renamed to gimple_get_virt_mehtod_for_binfo, new parameter delta. Do not search through thunks, in fact bail out if we encounter one, check that BINFO_VIRTUALS is not NULL. (gimple_adjust_this_by_delta): New function. (gimple_fold_obj_type_ref): Removed. (gimple_fold_obj_type_ref_call): New function. (fold_gimple_call): Renamed to gimple_fold_call, made external. Updated users. Call gimple_fold_obj_type_ref_call instead of gimple_fold_obj_type_ref. * ipa-cp.c (ipcp_process_devirtualization_opportunities): Process thunk deltas. (ipcp_discover_new_direct_edges): Likewise. * ipa-prop.c (ipa_make_edge_direct_to_target): New parameter delta. Updated callers. (ipa_write_indirect_edge_info): Stream thunk_delta. (ipa_read_indirect_edge_info): Likewise. * tree-ssa-ccp.c (ccp_fold_stmt): Use gimple_fold_call instead of gimple_fold_obj_type_ref. * testsuite/g++.dg/ipa/pr46053.C: New test. * testsuite/g++.dg/ipa/pr46287-1.C: Likewise. * testsuite/g++.dg/ipa/pr46287-2.C: Likewise. * testsuite/g++.dg/ipa/pr46287-3.C: Likewise. * testsuite/g++.dg/torture/covariant-1.C: Likewise. * testsuite/g++.dg/torture/pr46287.C: Likewise. From-SVN: r167855
Martin Jambor committed -
re PR rtl-optimization/46649 (ICE: in move_bb_info, at sel-sched-ir.c:5080 with -fschedule-insns -fselective-scheduling) PR rtl-optimization/46649 * sel-sched-ir.c (purge_empty_blocks): Unconditionally skip the first basic block in the region. testsuite: * g++.dg/opt/pr46649.C: New. From-SVN: r167854
Alexander Monakov committed -
* config/stormy16/stormy16.h (LINK_SPEC, WCHAR_TYPE): Define. * config.gcc (xstormy16-*-elf): Don't use svr4.h. From-SVN: r167852
Joseph Myers committed
-