Bug 66489

Summary: g++ gives internal error when compiling template code with syntax errors.
Product: [Retired] Red Hat Linux Reporter: Need Real Name <he>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-06-11 10:19:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2002-06-11 10:19:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020605

Description of problem:
Try compiling this code:
#include<functional>
int main() {
  std::bind2nd(std::minus, 1.0);  
}

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Compile the code in the description (I'm using 2.96-110)
2.
3.
	

Actual Results:  [he@marel2023 he]$ g++ -c bug.cpp 
bug.cpp: In function `int main ()':
bug.cpp:3: Internal compiler error in expand_call, at calls.c:2250
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.


Additional info:

I tried submitting this bug before.. but can't find it in bugzilla nor have I
got a confirmation email. Hope this is not a duplicate.

Comment 1 Need Real Name 2002-06-11 13:42:49 UTC
this is a duplicate of 66262

*** This bug has been marked as a duplicate of 66262 ***