public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/95222] [10/11 Regression] GCC 10.1 x86 issue with function pointers with calling convention attribute and template specialization
Date: Thu, 28 May 2020 07:46:40 +0000	[thread overview]
Message-ID: <bug-95222-4-lTToSRuSKj@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-95222-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95222

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at gcc dot gnu.org
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> ---
The new testcase FAILs on 32-bit Solaris/x86:

+FAIL: g++.dg/ext/tmplattr10.C  -std=c++98 (test for excess errors)

Excess errors:
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:15:31:
error: variadic templates only available with '-std=c++11' or '-std=gnu++11'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:16:28:
error: variadic templates only available with '-std=c++11' or '-std=gnu++11'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:18:11:
error: expected nested-name-specifier before 'type'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:21:31:
error: variadic templates only available with '-std=c++11' or '-std=gnu++11'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:22:39:
error: variadic templates only available with '-std=c++11' or '-std=gnu++11'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:24:11:
error: expected nested-name-specifier before 'type'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:27:31:
error: variadic templates only available with '-std=c++11' or '-std=gnu++11'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:28:38:
error: variadic templates only available with '-std=c++11' or '-std=gnu++11'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:30:11:
error: expected nested-name-specifier before 'type'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:34:6: error:
ISO C++ forbids declaration of 'wrap' with no type [-fpermissive]
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:34:1: error:
top-level declaration of 'wrap' specifies 'auto'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:34:51:
error: trailing return type only available with '-std=c++11' or '-std=gnu++11'
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/ext/tmplattr10.C:51:12:
error: 'wrap' was not declared in this scope

  parent reply	other threads:[~2020-05-28  7:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19 20:55 [Bug c++/95222] New: " raptorfactor at raptorfactor dot com
2020-05-19 20:57 ` [Bug c++/95222] " raptorfactor at raptorfactor dot com
2020-05-20  6:46 ` [Bug c++/95222] [10/11 Regression] " rguenth at gcc dot gnu.org
2020-05-23 20:44 ` jakub at gcc dot gnu.org
2020-05-25 22:54 ` jason at gcc dot gnu.org
2020-05-27 14:10 ` cvs-commit at gcc dot gnu.org
2020-05-27 14:11 ` cvs-commit at gcc dot gnu.org
2020-05-27 14:12 ` jason at gcc dot gnu.org
2020-05-28  7:46 ` ro at gcc dot gnu.org [this message]
2020-05-29 16:24 ` jason at gcc dot gnu.org
2022-01-03 15:37 ` puetzk at puetzk dot org
2022-01-03 22:01 ` puetzk at puetzk dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-95222-4-lTToSRuSKj@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).