https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
--- Comment #13 from Marek Polacek ---
Author: mpolacek
Date: Sat Jun 22 15:51:49 2019
New Revision: 272588
URL: https://gcc.gnu.org/viewcvs?rev=272588=gcc=rev
Log:
PR c++/66256
* g++.dg/cpp0x/noexcept54.C: New test.
Added:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
Jonathan Wakely changed:
What|Removed |Added
CC||serge.guelton@telecom-breta
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
--- Comment #10 from Jonathan Wakely ---
Right, GCC's behaviour for comment 0, comment 7 and comment 8 is a bug.
GCC's behaviour for comment 3 and comment 4 is not a bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
--- Comment #9 from David Stone ---
Sorry, I misread the chain of comments, Jonathan Wakely's comment on gcc
correctly rejecting invalid code refers specifically to the decltype example.
Please ignore my previous comment, except that it captures
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
David Stone changed:
What|Removed |Added
CC||david at doublewise dot net
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
Jonathan Wakely changed:
What|Removed |Added
Keywords||accepts-invalid
Last
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
Jonathan Wakely changed:
What|Removed |Added
CC||barry.revzin at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
--- Comment #5 from Jonathan Wakely ---
(In reply to Benjamin Buch from comment #3)
> Same with decltype instead of noexcept:
>
>
> struct test{
> // it only works if e is declared before test()
> using type = decltype(e);
> static
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
--- Comment #4 from Benjamin Buch ---
Same with decltype instead of noexcept:
struct test{
// it only works if e is declared before test()
using type = decltype(e);
static const bool e = false;
};
$ g++ -std=c++11 gcc-bug.cpp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
Benjamin Buch changed:
What|Removed |Added
CC||benni.buch at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
--- Comment #2 from Jonathan Wakely ---
(In reply to Michael Mehlich from comment #1)
> BTW: The header file could be fixed easily by adding std:: in front of these
> swap occurrences.
No, because that would only consider std::swap and not
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
Jonathan Wakely changed:
What|Removed |Added
Keywords||rejects-valid
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
Michael Mehlich changed:
What|Removed |Added
CC||mmehlich at semanticdesigns
dot co
15 matches
Mail list logo