diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-10-16 17:02:07 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2006-10-16 17:02:07 +0000 |
commit | 1082fd1084c181f2dfe01b482be65f00691f895f (patch) | |
tree | b80e749957205e5b3b97ac86578383e1f1d210c0 /gcc/fortran | |
parent | 0573fa421a606a6c76468c8bcd813e02f71283d1 (diff) | |
download | gcc-1082fd1084c181f2dfe01b482be65f00691f895f.zip gcc-1082fd1084c181f2dfe01b482be65f00691f895f.tar.gz gcc-1082fd1084c181f2dfe01b482be65f00691f895f.tar.bz2 |
re PR c++/28211 (wrong linkage of template argument, diagnostic could be improved)
PR c++/28211
* parser.c (cp_parser_template_argument): Don't consider "&var" a
possible constant-expression.
* pt.c (convert_nontype_argument): Refine handling of arguments of
pointer type.
PR c++/28211
* g++.dg/tc1/dr49.C: Tweak error messages.
* g++.dg/parse/template21.C: New test.
From-SVN: r117787
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions