This is the mail archive of the 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]

Re: C/C++ PATCH: `case' handling

On Sep 10, 2000, Mark Mitchell <> wrote:

> The C++ semantic analysis for case statements was still happenning at
> RTL-generation time.  Fixed with this patch, which also shares a
> little more code between the C and C++ front-ends, and continues to
> prepare the C front-end for function-at-a-time mode.

FYI, this seems to have broken the following testcase:

struct foo {
  inline void bar();

inline void foo::bar() {
  switch (0) {
  case 0:

foo::foo() {

aoliva@guarana% ./cc1plus ~/t.ii -O1
 void foo::bar () foo::foo ()
In file included from /home/guarana/aoliva/t.ii:14:
/home/guarana/aoliva/t.ii:8: Internal error #19991113.

/home/guarana/aoliva/t.ii:8: Internal compiler error in copy_body_r, at
   Please submit a full bug report.
   See <URL:> for instructions.

Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                  aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
Free Software Evangelist    *Please* write to mailing lists, not to me

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