https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87665
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
||ville.voutilainen at gmail dot
com
Resolution|--- |FIXED
--- Comment #2 from Ville Voutilainen ---
Fixed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87051
--- Comment #2 from Ville Voutilainen ---
Patch available: https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00670.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87093
Ville Voutilainen changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87093
--- Comment #4 from Ville Voutilainen ---
Patch available: https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00484.html
||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
--- Comment #3 from Ville Voutilainen ---
Mine.
||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
--- Comment #1 from Ville Voutilainen ---
I'll take a look.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367
Bug 54367 depends on bug 79133, which changed state.
Bug 79133 Summary: lambda capture shadowing parameter & decltype confusion
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79133
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79133
Ville Voutilainen changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
||ville.voutilainen at gmail dot
com
Resolution|--- |DUPLICATE
--- Comment #2 from Ville Voutilainen ---
The lambda capturing k with a parameter named k is ill-formed as per Core DR
2211. Fix coming.
*** This bug has been marked as a duplicate
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79133
Ville Voutilainen changed:
What|Removed |Added
CC||husain.255 at gmail dot com
---
||ville.voutilainen at gmail dot
com
Resolution|--- |FIXED
--- Comment #8 from Ville Voutilainen ---
Fixed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82882
--- Comment #11 from Ville Voutilainen ---
Also happens with a member function of a class template, thus:
template
struct X {
void f(const char* a =
([]() noexcept -> const char* {
enum { Size = 42 - 1 };
return "";
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82882
--- Comment #10 from Ville Voutilainen ---
Reproducer:
template
void f(const char* a =
([]() noexcept -> const char* {
enum { Size = 42 - 1 };
return "";
}()));
void g()
{
f();
}
Looks like we don't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82882
--- Comment #9 from Ville Voutilainen ---
The Qt problems are not fixed, this comes with the gcc-8 branch:
qtbase/include/QtCore/../../../../qtbase/src/corelib/tools/qstringliteral.h:82:30:
internal compiler error: Segmentation fault
([]()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513
--- Comment #8 from Ville Voutilainen ---
See r260973
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35878
Ville Voutilainen changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
||2018-04-25
CC||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
Ever confirmed|0 |1
--- Comment #1 from Ville Voutilainen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65923
Ville Voutilainen changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
--- Comment #6 from Ville Voutilainen ---
Mine.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80654
--- Comment #7 from Ville Voutilainen ---
That's not a bug. You need to make the copy constructor of s conditionally
deleted depending on whether T is copyconstructible. Otherwise the trait will
result in true but the code will not compile due
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84601
Ville Voutilainen changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70431
Ville Voutilainen changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84601
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83895
Ville Voutilainen changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ville.voutilainen at gmail dot com
Target Milestone: ---
Test:
struct X;
typedef int (X::*foo);
gcc diagnoses this with
warning: unnecessary parentheses in declaration of 'foo' [-Wparentheses]
There's no danger
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327
--- Comment #15 from Ville Voutilainen ---
I would like to have the change be a DR. Anyway, I looked at the cast-less
cases, they are in qtransform.h, which is included by at least QImage and
QtGui, so there will be a fair amount of code that
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327
--- Comment #13 from Ville Voutilainen ---
I understand that, but considering that I plan to convince the committee that
the bit-blasts like Qt does should be well-defined, the warning is a bit eager,
cast or no cast. And since it does break
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327
--- Comment #11 from Ville Voutilainen ---
The issue is again that users of existing Qt versions will see the warnings,
and they also turn to errors. I can fix the non-casting uses, but I would
recommend removing this warning from -Wall as well.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327
--- Comment #8 from Ville Voutilainen ---
I can confirm that this fixes the woes in building and using Qt as far as
QVector is concerned. Now that we have this fix, I see that there are other
bit-blasts that don't use casts. Would it be possible
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327
--- Comment #6 from Ville Voutilainen ---
As stated in the other comments, this breaks *users* of existing Qt versions.
Any fix would apply to newer versions only. QVector bit-blasts an object of a
type with a virtual table over an object of
||ville.voutilainen at gmail dot
com
Resolution|--- |FIXED
--- Comment #3 from Ville Voutilainen ---
Our new compiler-powered is_constructible in gcc 8 no longer gives the
completely wrong answer; it gives the semi-expected answer even though
||ville.voutilainen at gmail dot
com
Resolution|--- |WONTFIX
--- Comment #4 from Ville Voutilainen ---
We are not going to jump through hoops to prevent users from getting into
portability trouble by writing code that the standard explicitly
||ville.voutilainen at gmail dot
com
Resolution|--- |FIXED
--- Comment #4 from Ville Voutilainen ---
This has been fixed by the implementation of Daniel's paper,
http://open-std.org/JTC1/SC22/WG21/docs/papers/2015/n4387.html. The constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54043
--- Comment #17 from Ville Voutilainen ---
Initial patch is at https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00112.html,
will need to wait until next stage1 to continue on it.
||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
--- Comment #16 from Ville Voutilainen ---
Mine.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327
--- Comment #3 from Ville Voutilainen ---
By the way, this doesn't just block building Qt, but also using it for
development, because all uses of QVector that end up default-constructing an
element will run into this.
||ville.voutilainen at gmail dot
com
Resolution|--- |FIXED
--- Comment #1 from Ville Voutilainen ---
Fixed in r254785.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80682
Ville Voutilainen changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82470
--- Comment #4 from Ville Voutilainen ---
Ah yes, the compiler is indeed correct, the standard suggests looking up a
member function. Time to fix the spec, then. :)
,
||ville.voutilainen at gmail dot
com
--- Comment #1 from Ville Voutilainen ---
The compiler is not supposed to look for member functions with structured
bindings; this looks like a compiler bug. Jason?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58107
--- Comment #3 from Ville Voutilainen ---
All versions on wandbox seem to give the desired/expected result, so we can
close this.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169
Ville Voutilainen changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327
--- Comment #1 from Ville Voutilainen ---
Note that this currently blocks building Qt with gcc 8. We could work around it
by turning our void* casts to char* casts, but we have a preference for fixing
this problem in the compiler.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169
--- Comment #4 from Ville Voutilainen ---
I have sent this to Core for consideration.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80940
Ville Voutilainen changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80675
Ville Voutilainen changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
||2017-06-09
CC||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
Ever confirmed|0 |1
--- Comment #1 from Ville Voutilainen
||2017-06-09
CC||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
Ever confirmed|0 |1
--- Comment #1 from Ville Voutilainen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80812
Ville Voutilainen changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
--- Comment #3 from Ville Voutilainen ---
Mine.
||2017-05-17
CC||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
Ever confirmed|0 |1
--- Comment #3 from Ville Voutilainen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80682
--- Comment #5 from Ville Voutilainen ---
This patch doesn't fully provide the means for a library implementation to just
call the intrinsic from the library trait. I have
a patch that does, which I'm testing.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80682
--- Comment #4 from Ville Voutilainen ---
Fixed on trunk thus far. Backporting in a couple of days.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80682
--- Comment #2 from Ville Voutilainen ---
Initial patch: https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00632.html
||2017-05-09
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
Ever confirmed|0 |1
--- Comment #1 from Ville Voutilainen ---
I'll see what I can do. is_trivially_xible seems to return true here, dunno why
yet
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80579
--- Comment #4 from Ville Voutilainen ---
(In reply to Marc Glisse from comment #2)
> If I remember correctly (very doubtful), a paper was presented about option
> 2, and option 1 was rejected (although we could still provide it as an
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80579
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70167
--- Comment #2 from Ville Voutilainen ---
This has been suggested as a value category checker:
https://wandbox.org/permlink/rXQewIGjI2096UbA
There are two cases in it that print "Bug!" with gcc.
|UNCONFIRMED |NEW
Last reconfirmed||2017-04-11
CC||ville.voutilainen at gmail dot
com
Ever confirmed|0 |1
Known to fail||5.3.0, 6.3.0, 7.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79141
Ville Voutilainen changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79141
--- Comment #4 from Ville Voutilainen ---
Fixed on trunk so far, backporting...
||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
--- Comment #2 from Ville Voutilainen ---
Mine, patch available: https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00034.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35878
Ville Voutilainen changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69853
Ville Voutilainen changed:
What|Removed |Added
Status|SUSPENDED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80165
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35878
--- Comment #11 from Ville Voutilainen ---
Fixed on trunk for C++17 mode, leaving open to enable in other standard modes
later.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35878
Ville Voutilainen changed:
What|Removed |Added
Component|libstdc++ |c++
--- Comment #9 from Ville
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35878
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57443
--- Comment #3 from Ville Voutilainen ---
The resolution of Core Issue 2211 makes such code ill-formed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80034
Ville Voutilainen changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
||2017-03-13
CC||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
Ever confirmed|0 |1
--- Comment #1 from Ville Voutilainen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420
--- Comment #17 from Ville Voutilainen ---
(In reply to Jens Maurer from comment #16)
> I'd like to point out that there is no prohibition against writing
> reinterpret_cast inside a constexpr function. It's just if you call that
> function and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420
--- Comment #14 from Ville Voutilainen ---
Not in general, no, it doesn't have to always give a compile-time answer. But I
believe the library intent is that when it compares compile-time constant
pointers, it should give that answer at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420
--- Comment #12 from Ville Voutilainen ---
..which is http://cplusplus.github.io/LWG/lwg-active.html#2491
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420
--- Comment #11 from Ville Voutilainen ---
Ah, the plot thickens. Jens Maurer wrote:
"Regarding the std::less issue, it seems a bug in the standard
to require that it be constexpr and deliver a total order. After
all, the addresses of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420
Ville Voutilainen changed:
What|Removed |Added
Known to work||4.5.4
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ville.voutilainen at gmail dot com
Target Milestone: ---
template struct X : Args...
{
using Args::Args...;
};
int main()
{
struct A {A() = default
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78389
--- Comment #5 from Ville Voutilainen ---
Fixed merge() on all active branches.
||ville.voutilainen at gmail dot
com
Resolution|--- |FIXED
--- Comment #2 from Ville Voutilainen ---
Fixed on trunk.
||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
--- Comment #5 from Ville Voutilainen ---
Mine.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78966
--- Comment #4 from Ville Voutilainen ---
Note that clang also triggers the static_assert, so there might be something
deeper going on here. :)
,
||ville.voutilainen at gmail dot
com
--- Comment #3 from Ville Voutilainen ---
Jason, care to look at this? There have been suggestions along the lines
that [temp.inst]/6 might mean that the template may or may not get
instantiated, so I'm not sure whether
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78906
Ville Voutilainen changed:
What|Removed |Added
Keywords||ice-on-valid-code
--- Comment #1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ville.voutilainen at gmail dot com
Target Milestone: ---
template struct A { static constexpr int digits = 0; };
template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78058
Ville Voutilainen changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78058
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78595
Ville Voutilainen changed:
What|Removed |Added
Version|7.0 |unknown
--- Comment #5 from Ville
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78595
--- Comment #4 from Ville Voutilainen ---
(In reply to Jonathan Wakely from comment #3)
While I'm at it, I'll move the constraint to the return type.
||2016-11-29
CC||ville.voutilainen at gmail dot
com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at
gmail dot com
Ever confirmed|0 |1
--- Comment #1 from Ville Voutilainen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77495
Ville Voutilainen changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77495
Bug 77495 depends on bug 77288, which changed state.
Bug 77288 Summary: Std::experimental::optional::operator= implementation is
broken in gcc 6.1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77288
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77288
Ville Voutilainen changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77999
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78031
Ville Voutilainen changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ville.voutilainen at gmail dot com
Target Milestone: ---
#include
#include
int main() {
using std::literals::operator""s;
std::cout << "
||2016-10-12
CC||ville.voutilainen at gmail dot
com
Ever confirmed|0 |1
--- Comment #1 from Ville Voutilainen ---
Clang accepts the code.
101 - 200 of 554 matches
Mail list logo