Re: g++ question about what libraried

2006-09-17 Thread Mike Stump
On Sep 6, 2006, at 6:46 PM, Serge Bögeholz wrote: Date: Tue, 29 Aug 2006 14:38:28 +1000 (EST) From: Serge Bögeholz <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: g++ question This list isn't for how to program in C++. This list is for how to write a compiler. I was writin

g++ question about what libraried

2006-09-06 Thread Serge Bögeholz
-- Forwarded message -- Date: Tue, 29 Aug 2006 14:38:28 +1000 (EST) From: Serge Bögeholz <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: g++ question To whom it may concern, I'm currently using the following version of g++ g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.

Re: G++ question

2005-09-01 Thread Mark Mitchell
Gabriel Dos Reis wrote: Both branches of the if-statement contain an unconditional "break", which implies that the apparant unbounded while-loop is executed only once. If that reasoning is correct, why do we have the while-loop in the first place? Historical accident; a patch to remove it is

G++ question

2005-09-01 Thread Gabriel Dos Reis
Hi, While working on a project involing checking the internal (logic) consistency of the C++ front-end, I came across the following code in cp/parser.c:cp_parser_translation_unit(): while (true) { cp_parser_declaration_seq_opt (parser); /* If there are no tokens left then all