re PR c++/77886 (-Wimplicit-fallthrough: breaks duff's device (in function templates))
PR c++/77886 * pt.c (tsubst_expr) <case CASE_LABEL_EXPR> Copy over FALLTHROUGH_LABEL_P flag to the new LABEL_DECL. (tsubst_expr) <case LABEL_EXPR>: Likewise. * g++.dg/warn/Wimplicit-fallthrough-2.C: New test. From-SVN: r241711
This commit is contained in:
parent
c5fed5c6f2
commit
9782e1ec0a
|
@ -45,13 +45,6 @@
|
|||
|
||||
* config/microblaze/linux.h (UCLIBC_DYNAMIC_LINKER): Define.
|
||||
|
||||
2016-10-31 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/77886
|
||||
* pt.c (tsubst_expr) <case CASE_LABEL_EXPR> Copy over
|
||||
FALLTHROUGH_LABEL_P flag to the new LABEL_DECL.
|
||||
(tsubst_expr) <case LABEL_EXPR>: Likewise.
|
||||
|
||||
2016-09-11 Le-Chun Wu <lcwu@google.com>
|
||||
Mark Wielaard <mjw@redhat.com>
|
||||
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
expression and break;.
|
||||
|
||||
PR c++/77886
|
||||
* g++.dg/warn/Wimplicit-fallthrough-2.C: New test.
|
||||
* pt.c (tsubst_expr) <case CASE_LABEL_EXPR> Copy over
|
||||
FALLTHROUGH_LABEL_P flag to the new LABEL_DECL.
|
||||
(tsubst_expr) <case LABEL_EXPR>: Likewise.
|
||||
|
||||
2016-09-11 Le-Chun Wu <lcwu@google.com>
|
||||
Mark Wielaard <mjw@redhat.com>
|
||||
|
|
|
@ -29,6 +29,11 @@
|
|||
PR tree-optimization/77860
|
||||
* gcc.dg/pr77860.c: New test.
|
||||
|
||||
2016-10-31 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/77886
|
||||
* g++.dg/warn/Wimplicit-fallthrough-2.C: New test.
|
||||
|
||||
2016-10-31 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
||||
|
||||
* gcc.dg/lto/pr60449_0.c: Skip for avr.
|
||||
|
|
Loading…
Reference in New Issue