Summary: | [6 Regression] Instantiation loop with pair and is_constructible | ||
---|---|---|---|
Product: | gcc | Reporter: | Jason Merrill <jason> |
Component: | libstdc++ | Assignee: | Ville Voutilainen <ville.voutilainen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daniel.kruegler, ville.voutilainen, webrown.cpp |
Priority: | P1 | ||
Version: | 6.0 | ||
Target Milestone: | 6.0 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2016-03-30 00:00:00 | |
Attachments: | First stab at a patch |
Description
Jason Merrill
2016-03-29 15:15:10 UTC
Mine. Created attachment 38179 [details]
First stab at a patch
Initial patch done, testsuite additions to follow, will submit once compile-farm testing is done.
Author: ville Date: Tue Apr 5 11:31:30 2016 New Revision: 234743 URL: https://gcc.gnu.org/viewcvs?rev=234743&root=gcc&view=rev Log: PR libstdc++/70437 * include/bits/stl_pair.h (_ConstructiblePair, _ImplicitlyConvertiblePair, _MoveConstructiblePair, _ImplicitlyMoveConvertiblePair): Add shortcut conditions for same-type cases. * testsuite/20_util/pair/70437.cc: New. Added: trunk/libstdc++-v3/testsuite/20_util/pair/70437.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/stl_pair.h Fixed. |