This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/9639: Namespace std in constructor argument lists on illegal code causes an ICE


>Number:         9639
>Category:       c++
>Synopsis:       Namespace std in constructor argument lists on illegal code causes an ICE
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 09 21:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Magnus Fromreide
>Release:        gcc version 3.4 20030209 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu
--enable-version-specific-runtime-libs --disable-nls --enable-languages=c,c++
>Description:
g++ reports as follows:

bug.C:1: internal compiler error: in cp_parser_function_definition, at cp/parser.c:10927
>How-To-Repeat:
The file bug.C:
struct s { s(std::b o) { } };
Compile it with no arguments
g++ bug.C
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]