Bug 41545 - [4.5 Regression] ICE tree check: expected var_decl or function_decl, have error_mark in grokdeclarator, at cp/decl.c:9305
Summary: [4.5 Regression] ICE tree check: expected var_decl or function_decl, have err...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: 4.5.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-02 12:21 UTC by Dominique d'Humieres
Modified: 2009-10-11 11:08 UTC (History)
1 user (show)

See Also:
Host: *-apple-darwin*
Target: *-apple-darwin*
Build: *-apple-darwin*
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique d'Humieres 2009-10-02 12:21:35 UTC
On *-apple-darwin* several tests in the g++ suite fail (see http://gcc.gnu.org/ml/gcc-testresults/2009-10/msg00143.html) with:

/opt/gcc/_gcc_clean/gcc/testsuite/g++.dg/template/memfriend7.C:20:26: internal compiler error: tree check: expected var_decl or function_decl, have template_decl in grokdeclarator, at cp/decl.c:9305

Revisions 152257 (see http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg02620.html) and before do not fail.
Comment 1 Richard Biener 2009-10-11 11:08:50 UTC
Fixed.