[Bug libstdc++/80390] std::pair of aligned type gives bogus warning

2017-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80390 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/80390] std::pair of aligned type gives bogus warning

2017-04-20 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80390 --- Comment #10 from Daniel Krügler --- (In reply to Jonathan Wakely from comment #7) > (In reply to Daniel Krügler from comment #6) > > Do you recommend to reopen 51222 or should I open a separate bug? I'm > > inclined to create a new one at

[Bug libstdc++/80390] std::pair of aligned type gives bogus warning

2017-04-20 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80390 --- Comment #9 from Daniel Krügler --- (In reply to Jonathan Wakely from comment #8) > Maybe we should just ask Jason to suppress the notes in a SFINAE context. Yes, that sounds like a preferred direction to me.

[Bug libstdc++/80390] std::pair of aligned type gives bogus warning

2017-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80390 --- Comment #8 from Jonathan Wakely --- Maybe we should just ask Jason to suppress the notes in a SFINAE context.

[Bug libstdc++/80390] std::pair of aligned type gives bogus warning

2017-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80390 --- Comment #7 from Jonathan Wakely --- (In reply to Daniel Krügler from comment #6) > Do you recommend to reopen 51222 or should I open a separate bug? I'm > inclined to create a new one at the moment. Agreed, let's have a new bug for that. >

[Bug libstdc++/80390] std::pair of aligned type gives bogus warning

2017-04-20 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80390 --- Comment #6 from Daniel Krügler --- (In reply to Jonathan Wakely from comment #2) > Created attachment 41235 [details] > avoid over-aligned new in is_constructible > > [..]. We can also combine it > with the delete check, because PR 51222 is

[Bug libstdc++/80390] std::pair of aligned type gives bogus warning

2017-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80390 --- Comment #5 from Jonathan Wakely --- Of course. Your response is not late, I just couldn't CC you and attach the patch at the same time, so mentioned you in a follow-up :-)

[Bug libstdc++/80390] std::pair of aligned type gives bogus warning

2017-04-20 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80390 --- Comment #4 from Daniel Krügler --- (In reply to Jonathan Wakely from comment #3) > Daniel, please see above. Sorry for the late response. I would like to shortly double-check, can you await a definitive response until tomorrow?

[Bug libstdc++/80390] std::pair of aligned type gives bogus warning

2017-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80390 Jonathan Wakely changed: What|Removed |Added CC||daniel.kruegler@googlemail.