- 26 Apr, 2011 12 commits
-
-
PR tree-optimization/48734 * tree-ssa-reassoc.c (eliminate_redundant_comparison): Give up if return value from maybe_fold_*_comparsions isn't something the code is prepared to handle. * gcc.c-torture/compile/pr48734.c: New test. From-SVN: r172967
Jakub Jelinek committed -
PR testsuite/48753 * gcc.dg/tree-prof/val-prof-2.c: Adjust for 32-bit HWI. From-SVN: r172966
Jakub Jelinek committed -
* config/i386/predicates.md (ext_QIreg_operand): Remove extra mode check. (ext_QIreg_nomode_operands): Remove. * config/i386/i386.md (*anddi_1): Use ext_QIreg_operand. (*andsi_1): Ditto. (*andhi_1): Ditto. From-SVN: r172965
Uros Bizjak committed -
re PR c/48731 (regression: __attribute__((flatten)) produces error with function calling variadic functions) 2011-04-26 Richard Guenther <rguenther@suse.de> PR tree-optimization/48731 * gcc.dg/torture/pr48731.c: New testcase. From-SVN: r172964
Richard Guenther committed -
2011-04-26 Andrew Stubbs <ams@codesourcery.com> gcc/ * config/arm/arm.c (arm_gen_constant): Remove can_negate_initial. From-SVN: r172962
Andrew Stubbs committed -
Tweak recent ChangeLog entry. From-SVN: r172960
Paolo Carlini committed -
2011-04-26 Richard Guenther <rguenther@suse.de> PR preprocessor/48248 * c-ppoutput.c (maybe_print_line): Always optimize newlines for output size with -P. From-SVN: r172959
Richard Guenther committed -
2011-04-26 Richard Guenther <rguenther@suse.de> * c-typeck.c (build_unary_op): Do not expand array-refs via pointer arithmetic. Only adjust qualifiers for function types. From-SVN: r172958
Richard Biener committed -
2011-04-26 Richard Guenther <rguenther@suse.de> PR middle-end/48694 * tree.h (OEP_CONSTANT_ADDRESS_OF): New operand_equal_flag. * fold-const.c (operand_equal_p): For TREE_CONSTANT ADDR_EXPRs compare the operands with OEP_CONSTANT_ADDRESS_OF. Treat trees with TREE_SIDE_EFFECTS equal when OEP_CONSTANT_ADDRESS_OF is set. * gcc.dg/torture/pr48694-1.c: New testcase. * gcc.dg/torture/pr48694-2.c: Likewise. From-SVN: r172957
Richard Biener committed -
2011-04-26 Richard Guenther <rguenther@suse.de> PR testsuite/48753 * gcc.dg/tree-prof/val-prof-2.c: Adjust. From-SVN: r172955
Richard Guenther committed -
2011-04-26 Richard Guenther <rguenther@suse.de> PR middle-end/48694 * tree.h (OEP_CONSTANT_ADDRESS_OF): New operand_equal_flag. * fold-const.c (operand_equal_p): For TREE_CONSTANT ADDR_EXPRs compare the operands with OEP_CONSTANT_ADDRESS_OF. Treat trees with TREE_SIDE_EFFECTS equal when OEP_CONSTANT_ADDRESS_OF is set. * gcc.dg/torture/pr48694-1.c: New testcase. * gcc.dg/torture/pr48694-2.c: Likewise. From-SVN: r172954
Richard Guenther committed -
From-SVN: r172950
GCC Administrator committed
-
- 25 Apr, 2011 15 commits
-
-
/gcc 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> * c-family/c-common.c (struct c_common_resword): Add __underlying_type. * c-family/c-common.h (enum rid): Add RID_UNDERLYING_TYPE. * doc/extend.texi: Document __underlying_type. /cp 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> * cp-tree.def: Add a new UNDERLYING_TYPE tree code. * cp-tree.h (enum cp_trait_kind): Add CPTK_UNDERLYING_TYPE, tidy. (UNDERLYING_TYPE_TYPE): Add. * cp-objcp-common.c (cp_common_init_ts): Mark UNDERLYING_TYPE as TS_COMMON. * parser.c (cp_lexer_next_token_is_decl_specifier_keyword, cp_parser_simple_type_specifier): Handle UNDERLYING_TYPE. (cp_parser_trait_expr): Deal with RID_UNDERLYING_TYPE; tidy. * semantics.c (finish_underlying_type): New. * typeck.c (structural_comptypes): Handle UNDERLYING_TYPE. * error.c (dump_type, dump_type_prefix, dump_type_suffix): Likewise. * cxx-pretty-print.c (p_cxx_type_id): Likewise. * tree.c (cp_walk_subtrees): Likewise. * pt.c (for_each_template_parm_r, tsubst, unify, dependent_type_p_r): Likewise. * mangle.c (write_type): Sorry for __underlying_type. /testsuite 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/ext/underlying_type1.C: New. * g++.dg/ext/underlying_type2.C: Likewise. * g++.dg/ext/underlying_type3.C: Likewise. * g++.dg/ext/underlying_type4.C: Likewise. * g++.dg/ext/underlying_type5.C: Likewise. * g++.dg/ext/underlying_type6.C: Likewise. * g++.dg/ext/underlying_type7.C: Likewise. * g++.dg/ext/underlying_type8.C: Likewise. * g++.dg/ext/underlying_type9.C: Likewise. * g++.dg/ext/underlying_type10.C: Likewise. From-SVN: r172945
Paolo Carlini committed -
2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> * include/std/type_traits (struct underlying_type): Add. * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New. * testsuite/20_util/underlying_type/requirements/typedefs-2.cc: Likewise. * testsuite/20_util/underlying_type/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error line number. From-SVN: r172944
Paolo Carlini committed -
/gcc 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> * c-family/c-common.c (struct c_common_resword): Add __underlying_type. * c-family/c-common.h (enum rid): Add RID_UNDERLYING_TYPE. /cp 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> * cp-tree.def: Add a new UNDERLYING_TYPE tree code. * cp-tree.h (enum cp_trait_kind): Add CPTK_UNDERLYING_TYPE, tidy. (UNDERLYING_TYPE_TYPE): Add. * cp-objcp-common.c (cp_common_init_ts): Mark UNDERLYING_TYPE as TS_COMMON. * parser.c (cp_lexer_next_token_is_decl_specifier_keyword, cp_parser_simple_type_specifier): Handle UNDERLYING_TYPE. (cp_parser_trait_expr): Deal with RID_UNDERLYING_TYPE; tidy. * semantics.c (finish_underlying_type): New. * typeck.c (structural_comptypes): Handle UNDERLYING_TYPE. * error.c (dump_type, dump_type_prefix, dump_type_suffix): Likewise. * cxx-pretty-print.c (p_cxx_type_id): Likewise. * tree.c (cp_walk_subtrees): Likewise. * pt.c (for_each_template_parm_r, tsubst, unify, dependent_type_p_r): Likewise. * mangle.c (write_type): Sorry for __underlying_type. * doc/extend.texi: Document __underlying_type. /testsuite 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/ext/underlying_type1.C: New. * g++.dg/ext/underlying_type2.C: Likewise. * g++.dg/ext/underlying_type3.C: Likewise. * g++.dg/ext/underlying_type4.C: Likewise. * g++.dg/ext/underlying_type5.C: Likewise. * g++.dg/ext/underlying_type6.C: Likewise. * g++.dg/ext/underlying_type7.C: Likewise. * g++.dg/ext/underlying_type8.C: Likewise. * g++.dg/ext/underlying_type9.C: Likewise. * g++.dg/ext/underlying_type10.C: Likewise. From-SVN: r172943
Paolo Carlini committed -
PR c++/48707 * decl.c (type_dependent_init_p): New. (cp_finish_decl): Check it. * pt.c (any_type_dependent_elements_p): New. * cp-tree.h: Declare it. From-SVN: r172941
Jason Merrill committed -
2011-04-25 Segher Boessenkool <segher@kernel.crashing.org> * config/rs6000/titan.md (automata_option "progress"): Remove. From-SVN: r172940
Segher Boessenkool committed -
From-SVN: r172939
Jeff Law committed -
* tree-vrp.c (identify_jump_threads): Handle GIMPLE_SWITCH too. * gcc.dg/tree-ssa/vrp56.c: new test. From-SVN: r172938
Jeff Law committed -
From-SVN: r172937
Rainer Orth committed -
From-SVN: r172936
Ian Lance Taylor committed -
From Rainer Orth. From-SVN: r172935
Ian Lance Taylor committed -
include/ * ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h. contrib/ * paranoia.cc (ENUM_BITFIELD): Remove. gcc/ * system.h (ENUM_BITFIELD): Remove. libcpp/ * system.h (ENUM_BITFIELD): Remove. From-SVN: r172933
Jan Kratochvil committed -
Drop type_tree() functions for Float_type and Complex_type. Don't define builtin functions until gogo is created. * go-gcc.cc (Gcc_backend::error_type): Implement. (Gcc_backend::string_type): Remove. (Gcc_backend::function_type): Change signature and implement. (Gcc_backend::struct_type): Change signature. (Gcc_backend::slice_type, Gcc_backend::map_type): Remove. (Gcc_backend::channel_type, Gcc_backend::interface_type): Remove. (Gcc_backend::pointer_type): Check for error. * Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h. From-SVN: r172932
Ian Lance Taylor committed -
* go-gcc.c (class Gcc_tree): Make get_tree const. (Gcc_backend::void_type): Implement. (Gcc_backend::bool_type): Implement. (Gcc_backend::integer_type): Implement. (Gcc_backend::float_type): Implement. (Gcc_backend::complex_type): New function. (Gcc_backend::pointer_type): New function. (Gcc_backend::make_type): New function. (type_to_tree): New function. From-SVN: r172931
Evan Shaw committed -
* combine.c (combine_simplify_rtx): Avoid mis-simplifying conditionals for STORE_FLAG_VALUE==-1 case. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r172930
Maxim Kuvyrkov committed -
From-SVN: r172929
GCC Administrator committed
-
- 24 Apr, 2011 9 commits
-
-
2011-04-24 Paolo Carlini <paolo.carlini@oracle.com> * include/parallel/multiway_merge.h: Uglify equally_split and equally_split_point throughout. * include/parallel/par_loop.h: Likewise. * include/parallel/equally_split.h: Likewise. * include/parallel/set_operations.h: Likewise. * include/parallel/unique_copy.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/search.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/find.h: Likewise. From-SVN: r172923
Paolo Carlini committed -
PR target/43804 * gcc/config/m68k/constraints.md (T): Allow PIC operands that satisfy LEGITIMATE_PIC_OPERAND_P. From-SVN: r172920
Richard Sandiford committed -
* doc/xml/manual/parallel_mode.xml: Fix link to libgomp online documentation. Expand link text. From-SVN: r172916
Gerald Pfeifer committed -
From-SVN: r172915
Gerald Pfeifer committed -
* ipa-prop.c (ipa_propagate_indirect_call_infos): Remove obsolette WPA hack. * ipa-prop.h (ipa_get_param, ipa_is_param_used, ipa_param_cannot_devirtualize_p, ipa_param_types_vec_empty, ipa_get_ith_jump_func, ipa_get_lattice): Fortify array bounds. * ipa-inline-analysis.c (add_clause): Fix clause ordering. (and_predicates, or_predicates, predicates_equal_p, evaulate_predicate): Sanity check predicate length. (remap_predicate): Likewise; sanity check jump functions. (inline_read_section, inline_write_summary): Sanity check predicate length. From-SVN: r172914
Jan Hubicka committed -
From-SVN: r172913
Gerald Pfeifer committed -
2011-04-24 Paolo Carlini <paolo.carlini@oracle.com> PR other/48748 * doc/extend.texi (Type Traits): Document __is_standard_layout, __is_literal_type, and __is_trivial; update throughout about possibly cv-qualified void types. From-SVN: r172911
Paolo Carlini committed -
* doc/sourcebuild.texi (Ada Tests): Adjust reference to ACATS testsuite and make it version agnostic. From-SVN: r172910
Gerald Pfeifer committed -
From-SVN: r172909
GCC Administrator committed
-
- 23 Apr, 2011 4 commits
-
-
PR preprocessor/48740 * lex.c (lex_raw_string): When raw string ends with ??) followed by raw prefix and ", ensure it is preprocessed with ??) rather than ??]. * c-c++-common/raw-string-11.c: New test. From-SVN: r172903
Jakub Jelinek committed -
* gnat_ugn.texi (Complexity Metrics Control): Update link to the Watson/McCabe paper. From-SVN: r172902
Gerald Pfeifer committed -
* gcc.dg/pr48616.c (dg-options): Add -fno-common to options on hppa*-*-hpux*. From-SVN: r172899
John David Anglin committed -
From-SVN: r172898
Jan Hubicka committed
-