Bug 1608724
| Summary: | GCC template alias issues | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Developer Toolset | Reporter: | Ankur deDev <ankur.dedev> | ||||
| Component: | gcc | Assignee: | Marek Polacek <mpolacek> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Martin Cermak <mcermak> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | DTS 7.1 RHEL 7 | CC: | jakub, jwakely, kanderso, law, mcermak, mnewsome, ohudlick, sipoyare | ||||
| Target Milestone: | alpha | ||||||
| Target Release: | 8.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-12-09 21:25:43 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Looks like DTS 9 material, at the earliest. Still an open core language issue. Moving to DTS 10. This depends on the resolution of CWG 1430 and I don't think that will happen anytime soon. |
Created attachment 1470644 [details] Test case to reproduce issue Description of problem: Use of template alias leads to unexpected results. Version-Release number of selected component (if applicable): g++ (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5) Steps to Reproduce: 1. Download test.cpp attachment 2. Run command: scl enable devtoolset-7 'bash' 3. Compile the attachment: g++ -std=c++11 test.cpp Actual results: Compile time assertions are failing. Expected results: Should compile without errors.