mirror of git://gcc.gnu.org/git/gcc.git
exceptions-3.mm: Remove check for message no longer emitted.
* obj-c++.dg/exceptions-3.mm: Remove check for message no longer emitted. * obj-c++.dg/exceptions-5.mm: Likewise. From-SVN: r210464
This commit is contained in:
parent
a2e6c10cbd
commit
c4622c2bed
|
|
@ -27,7 +27,7 @@
|
||||||
(add_function_candidate): Pass actual argument, rather than type, to
|
(add_function_candidate): Pass actual argument, rather than type, to
|
||||||
bad_arg_conversion_rejection.
|
bad_arg_conversion_rejection.
|
||||||
(print_conversion_rejection): Explain what's wrong with the conversion.
|
(print_conversion_rejection): Explain what's wrong with the conversion.
|
||||||
(print_z_candidate): Say "candidate:" before each candidate.
|
(print_z_candidates): Say "candidate:" before each candidate.
|
||||||
(splice_viable): Be strict if we see a viable or template candidate.
|
(splice_viable): Be strict if we see a viable or template candidate.
|
||||||
(build_user_type_conversion_1): Pass false to strict parameter.
|
(build_user_type_conversion_1): Pass false to strict parameter.
|
||||||
(perform_overload_resolution, build_conditional_expr_1): Likewise.
|
(perform_overload_resolution, build_conditional_expr_1): Likewise.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
2014-05-15 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* obj-c++.dg/exceptions-3.mm: Remove check for message no longer
|
||||||
|
emitted.
|
||||||
|
* obj-c++.dg/exceptions-5.mm: Likewise.
|
||||||
|
|
||||||
2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
|
2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
|
||||||
|
|
||||||
* shrink-wrap-loop.c: New test case.
|
* shrink-wrap-loop.c: New test case.
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,6 @@ int test (id object)
|
||||||
{ /* { dg-error "no matching function" "" { target *-*-* } 72 } */
|
{ /* { dg-error "no matching function" "" { target *-*-* } 72 } */
|
||||||
dummy++; /* { dg-message "MyObject" "" { target *-*-* } 13 } */
|
dummy++; /* { dg-message "MyObject" "" { target *-*-* } 13 } */
|
||||||
} /* { dg-message "candidate" "" { target *-*-* } 13 } */
|
} /* { dg-message "candidate" "" { target *-*-* } 13 } */
|
||||||
/* { dg-message "candidates" "" { target *-*-* } 72 } */
|
|
||||||
@try { @throw object; }
|
@try { @throw object; }
|
||||||
@catch (static MyObject *x) /* { dg-error "storage class" } */
|
@catch (static MyObject *x) /* { dg-error "storage class" } */
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,6 @@ int test (id object)
|
||||||
{ /* { dg-error "no matching function" "" { target *-*-* } 72 } */
|
{ /* { dg-error "no matching function" "" { target *-*-* } 72 } */
|
||||||
dummy++; /* { dg-message "MyObject" "" { target *-*-* } 13 } */
|
dummy++; /* { dg-message "MyObject" "" { target *-*-* } 13 } */
|
||||||
} /* { dg-message "candidate" "" { target *-*-* } 13 } */
|
} /* { dg-message "candidate" "" { target *-*-* } 13 } */
|
||||||
/* { dg-message "candidate" "" { target *-*-* } 72 } */
|
|
||||||
|
|
||||||
@try { @throw object; }
|
@try { @throw object; }
|
||||||
@catch (static MyObject *) /* { dg-error "storage class" } */
|
@catch (static MyObject *) /* { dg-error "storage class" } */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue