[Bug c++/84782] Rejects a maybe C++ code snippet

2020-02-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/84782] Rejects a maybe C++ code snippet

2020-02-05 Thread raphael.kubo.da.costa at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #12 from Raphael Kubo da Costa --- FWIW, the snippet from comment #1 builds fine with GCC >= 9.1 at least.

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #11 from Jonathan Wakely --- (In reply to Martin Liška from comment #9) > Do I understand that correctly Jonathan that it's an issue in GCC? Or is it > an invalid code snippet? This is a GCC bug. The code should be accepted without a

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-27 Thread raphael.kubo.da.costa at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #10 from Raphael Kubo da Costa --- (In reply to Martin Liška from comment #9) > I can confirm that the PR is blocking Chromium build in openSUSE. >From a Chromium perspective (where I'm coming from), it shouldn't be. The problematic

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #9 from Martin Liška --- I can confirm that the PR is blocking Chromium build in openSUSE. Do I understand that correctly Jonathan that it's an issue in GCC? Or is it an invalid code snippet?

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #8 from Jonathan Wakely --- (In reply to Raphael Kubo da Costa from comment #7) > Is it relevant that your testcase builds fine when G's copy constructor is > inlined? Yes, it seems to be. The checks done for the out-of-class default

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-22 Thread raphael.kubo.da.costa at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #7 from Raphael Kubo da Costa --- (In reply to Jonathan Wakely from comment #6) > Your example is not valid, and is rejected by GCC and Clang and EDG. Ugh, I forgot to test it with clang before posting my comment. I stand corrected.

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #6 from Jonathan Wakely --- (In reply to Raphael Kubo da Costa from comment #5) > Sorry if my comment was too coarse-grained. My hypothesis that this is a > duplicate comes from playback_image_provider.ii looking like Chromium's > pla

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-22 Thread raphael.kubo.da.costa at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #5 from Raphael Kubo da Costa --- Sorry if my comment was too coarse-grained. My hypothesis that this is a duplicate comes from playback_image_provider.ii looking like Chromium's playback_image_provider.cc, which was failing to build

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #4 from Jonathan Wakely --- They don't look like duplicates to me. PR 70431 involves a union, no SFINAE, and a completely different error message.

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-21 Thread raphael.kubo.da.costa at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 Raphael Kubo da Costa changed: What|Removed |Added CC||raphael.kubo.da.costa@intel

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #2 from Jonathan Wakely --- Slight correction: the using-declaration doesn't have no effect in general, but it shouldn't change the result of this program.

[Bug c++/84782] Rejects a maybe C++ code snippet

2018-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|