Fix for PR c/57490. gcc/c/ChangeLog +2013-08-19 Balaji V. Iyer <balaji.v.iyer@intel.com> + + PR c/57490 + * c-array-notation.c (fix_conditional_array_notations_1): Added a + check for truth values. + (expand_array_notation_exprs): Added truth values case. Removed an + unwanted else. Added for-loop to walk through subtrees in default + case. + gcc/cp/ChangeLog +2013-08-19 Balaji V. Iyer <balaji.v.iyer@intel.com> + + PR c/57490 + * cp-array-notation.c (cp_expand_cond_array_notations): Added a + check for truth values. + (expand_array_notation_exprs): Added truth values case. Removed an + unwanted else. Added for-loop to walk through subtrees in default + case. + * call.c (build_cxx_call): Inherited the type of the array notation for + certain built-in array notation functions. + gcc/testsuite/ChangeLog +2013-08-19 Balaji V. Iyer <balaji.v.iyer@intel.com> + + PR c/57490 + * c-c++-common/cilk-plus/AN/pr57490.c: New test. + From-SVN: r201867
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| an-if.c | Loading commit data... | |
| array_test1.c | Loading commit data... | |
| array_test2.c | Loading commit data... | |
| array_test_ND.c | Loading commit data... | |
| builtin_fn_custom.c | Loading commit data... | |
| builtin_fn_mutating.c | Loading commit data... | |
| builtin_func_double.c | Loading commit data... | |
| builtin_func_double2.c | Loading commit data... | |
| comma_exp.c | Loading commit data... | |
| conditional.c | Loading commit data... | |
| decl-ptr-colon.c | Loading commit data... | |
| dimensionless-arrays.c | Loading commit data... | |
| exec-once.c | Loading commit data... | |
| exec-once2.c | Loading commit data... | |
| fn_ptr.c | Loading commit data... | |
| fp_triplet_values.c | Loading commit data... | |
| gather-scatter-errors.c | Loading commit data... | |
| gather_scatter.c | Loading commit data... | |
| if_test.c | Loading commit data... | |
| if_test_errors.c | Loading commit data... | |
| misc.c | Loading commit data... | |
| n-ptr-test.c | Loading commit data... | |
| parser_errors.c | Loading commit data... | |
| parser_errors2.c | Loading commit data... | |
| parser_errors3.c | Loading commit data... | |
| parser_errors4.c | Loading commit data... | |
| pr57457-2.c | Loading commit data... | |
| pr57457.c | Loading commit data... | |
| pr57490.c | Loading commit data... | |
| pr57541.c | Loading commit data... | |
| pr57577.c | Loading commit data... | |
| rank_mismatch.c | Loading commit data... | |
| rank_mismatch2.c | Loading commit data... | |
| rank_mismatch3.c | Loading commit data... | |
| sec_implicit.c | Loading commit data... | |
| sec_implicit2.c | Loading commit data... | |
| sec_implicit_ex.c | Loading commit data... | |
| sec_reduce_ind_same_value.c | Loading commit data... | |
| sec_reduce_max_min_ind.c | Loading commit data... | |
| sec_reduce_return.c | Loading commit data... | |
| side-effects-1.c | Loading commit data... | |
| test_builtin_return.c | Loading commit data... | |
| test_sec_limits.c | Loading commit data... | |
| tst_lngth.c | Loading commit data... | |
| vla.c | Loading commit data... |