1. 23 Sep, 2011 12 commits
    • re PR target/50447 ([avr] Better support of AND, OR, XOR and PLUS with constant… · a7c0acd0
      re PR target/50447 ([avr] Better support of AND, OR, XOR and PLUS with constant integers for 16- and 32-bit values)
      
      	* config/avr/avr.md (adjust_len): Add alternatives "tsthi",
      	"tstsi", "compare".
      	(*cmpqi_sign_extend): Use s8_operand.
      	(*cmphi, *cmpsi): Rewrite using avr_out_compare.
      	* config/avr/avr-protos.h (compare_diff_p, compare_eq_p): Remove
      	prototypes.
      	(out_tsthi, out_tstsi): Remove prototypes.
      	(avr_out_tsthi, avr_out_tstsi): New prototypes.
      	* config/avr/avr.c (out_tsthi, out_tstsi): Remove functions.
      	(avr_asm_len): Negative length now sets *plen to -length.
      	(compare_sign_p): Return bool instead of int.
      	(compare_diff_p, compare_eq_p): Ditto and make static.
      	(avr_out_tsthi): New function.
      	(avr_out_tstsi): New function.
      	(avr_out_compare): New function.
      	(adjust_insn_length): Handle ADJUST_LEN_TSTHI, ADJUST_LEN_TSTSI,
      	ADJUST_LEN_COMPARE.
      	PR target/50447
      
      From-SVN: r179124
      Georg-Johann Lay committed
    • re PR target/50447 ([avr] Better support of AND, OR, XOR and PLUS with constant… · 59024515
      re PR target/50447 ([avr] Better support of AND, OR, XOR and PLUS with constant integers for 16- and 32-bit values)
      
      	PR target/50447
      	* config/avr/avr.md: (adjust_len): Add alternative "out_plus".
      	(addsi3): Rewrite using QI scratch register.  Adjust text
      	peepholes using plus:SI.
      	(*addsi3_zero_extend.hi): New insn.
      	(*subsi3_zero_extend.hi): New insn.
      	(*subhi3_zero_extend1): Set attribute "cc" to "set_czn".
      	(*subsi3_zero_extend): Ditto.
      	(subsi3): Change predicate #2 to register_operand.
      	* config/avr/avr-protos.h (avr_out_plus): New prototype.
      	(avr_out_plus_1): New static function.
      	(avr_out_plus): New function.
      	(adjust_insn_length): Handle ADJUST_LEN_OUT_PLUS.
      
      From-SVN: r179123
      Georg-Johann Lay committed
    • re PR c++/50258 ([C++0x] -std=gnu++0x should allow in-class initialization of… · d4551081
      re PR c++/50258 ([C++0x] -std=gnu++0x should allow in-class initialization of static const floating types without constexpr)
      
      /cp
      2011-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/50258
      	* decl.c (check_static_variable_definition): Allow in-class
      	initialization of static data member of non-integral type in
      	permissive mode.
      
      /testsuite
      2011-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/50258
      	* g++.dg/cpp0x/constexpr-static8.C: New.
      
      From-SVN: r179121
      Paolo Carlini committed
    • Include <termios.h> in mksysinfo.sh. · 6172a2f2
      From Rainer Orth.
      
      From-SVN: r179120
      Ian Lance Taylor committed
    • i386.c (ix86_prepare_sse_fp_compare_args): For GE/GT/UNLE/UNLT swap arguments… · 50926346
      i386.c (ix86_prepare_sse_fp_compare_args): For GE/GT/UNLE/UNLT swap arguments and condition even for TARGET_AVX.
      
      	* config/i386/i386.c (ix86_prepare_sse_fp_compare_args): For
      	GE/GT/UNLE/UNLT swap arguments and condition even for TARGET_AVX.
      
      	* gcc.target/i386/avxfp-1.c: New test.
      	* gcc.target/i386/avxfp-2.c: New test.
      
      From-SVN: r179119
      Jakub Jelinek committed
    • godump.c (go_define): Treat a single character in single quotes, or a string, as an operand. · 9e4ef69e
      	* godump.c (go_define): Treat a single character in single quotes,
      	or a string, as an operand.
      
      From-SVN: r179118
      Ian Lance Taylor committed
    • ipa-prop.h (jump_func_type): Updated comments. · c7573249
      2011-09-23  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-prop.h (jump_func_type): Updated comments.
      	(ipa_known_type_data): New type.
      	(ipa_jump_func): Use it to describe known type jump functions.
      	* ipa-prop.c (ipa_print_node_jump_functions_for_edge): Updated to
      	reflect the new known type jump function contents.
      	(compute_known_type_jump_func): Likewise.
      	(combine_known_type_and_ancestor_jfs): Likewise.
      	(try_make_edge_direct_virtual_call): Likewise.
      	(ipa_write_jump_function): Likewise.
      	(ipa_read_jump_function): Likewise.
      	* ipa-cp.c (ipa_value_from_known_type_jfunc): New function.
      	(ipa_value_from_jfunc): Use ipa_value_from_known_type_jfunc.
      	(propagate_accross_jump_function): Likewise.
      
      From-SVN: r179117
      Martin Jambor committed
    • re PR target/50446 ([avr] Implement rotate patterns with offset 1) · 5d94b988
      	PR target/50446
      	* config/avr/avr.md (rotlqi3): Support all offsets 0..7.
      	(rotlqi3_4): Turn insn into expander.
      	(*rotlqi3): New insn.
      	(rotlhi3, rotlsi3): Support rotate left/right by 1.
      	(*rotlhi2.1, *rotlhi2.15): New insns.
      	(*rotlsi2.1, *rotlsi2.31): New insns.
      	* config/avr/constraints.md (C03, C05, C06, C07): New constraints.
      
      From-SVN: r179116
      Georg-Johann Lay committed
    • bpabi.h (BE8_LINK_SPEC): Add cortex-m arch and processors. · 9acebb8a
      2011-09-23  Bin Cheng  <bin.cheng@arm.com>
      
              * config/arm/bpabi.h (BE8_LINK_SPEC): Add cortex-m arch
              and processors.
      
      From-SVN: r179115
      Bin Cheng committed
    • * gcc.c-torture/execute/941014-1.x: Deleted. · ec6b5ccf
      From-SVN: r179112
      Terry Guo committed
    • re PR c++/50491 ([C++0x] [4.6/4.7 Regression] "unexpected ast of kind… · ee71530f
      re PR c++/50491 ([C++0x] [4.6/4.7 Regression] "unexpected ast of kind using_decl" on call to using'ed grandparent member function)
      
      /cp
      2011-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/50491
      	* semantics.c (potential_constant_expression_1): Handle USING_DECL.
      
      /testsuite
      2011-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/50491
      	* g++.dg/cpp0x/pr50491.C: New.
      
      From-SVN: r179109
      Paolo Carlini committed
    • Daily bump. · f8b4d70d
      From-SVN: r179108
      GCC Administrator committed
  2. 22 Sep, 2011 22 commits
  3. 21 Sep, 2011 6 commits