aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2018-03-02 00:16:52 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2018-03-01 17:16:52 -0700
commitf454bd6436a824b4be34e5e1ba5515c5bd339980 (patch)
treecee828d0eac6e44f1cc71a1ff52714d4f331aaa2 /gcc/combine.c
parentb3a0e110e06ad9383ba9a09be2ac61d3957596c5 (diff)
downloadgcc-f454bd6436a824b4be34e5e1ba5515c5bd339980.zip
gcc-f454bd6436a824b4be34e5e1ba5515c5bd339980.tar.gz
gcc-f454bd6436a824b4be34e5e1ba5515c5bd339980.tar.bz2
PR c++/84294 - attributes on a function template redeclaration silently discarded
gcc/cp/ChangeLog: PR c++/84294 * decl.c (check_redeclaration_no_default_args): Merge attributes specified on redeclarations of the same function template. Remove dead code. gcc/testsuite/ChangeLog: PR c++/84294 * g++.dg/ext/attr-const.C: Remove xfail. * g++.dg/ext/attr-malloc-3.C: New test. * g++.dg/ext/attr-noinline-3.C: New test. * g++.dg/ext/attr-noreturn-3.C: New test. * g++.dg/ext/attr-nothrow-3.C: New test. * g++.dg/ext/attr-pure.C: Remove xfail. From-SVN: r258121
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions