Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1608724

Summary: GCC template alias issues
Product: Red Hat Developer Toolset Reporter: Ankur deDev <ankur.dedev>
Component: gccAssignee: Marek Polacek <mpolacek>
Status: CLOSED UPSTREAM QA Contact: Martin Cermak <mcermak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: DTS 7.1 RHEL 7CC: 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:
Description Flags
Test case to reproduce issue none

Description Ankur deDev 2018-07-26 08:20:59 UTC
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.

Comment 5 Marek Polacek 2018-12-04 16:54:35 UTC
Looks like DTS 9 material, at the earliest.

Comment 6 Marek Polacek 2019-07-09 19:20:43 UTC
Still an open core language issue.  Moving to DTS 10.

Comment 8 Marek Polacek 2020-12-09 21:25:43 UTC
This depends on the resolution of CWG 1430 and I don't think that will happen anytime soon.