bug-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug Report?


From: EMW
Subject: Bug Report?
Date: Mon, 24 Sep 2001 09:14:27 +0200

Sirs,

My compliments to an excellent compiler.

I would like to report a bug.

Is this behaviour an error, or do You
have a explanation of the result?

I compiled g_error.c with 

/opt/gnat/sunos5/gcc-2.8.1/bin/g++

g_error.c:

typedef const struct {
  unsigned int a;
  unsigned int b;
}type_x;


void func_x(type_x x)
{
  if(x.b == 5)
    fun1();    
  else
    fun2();
}


and received following,

g_error.c: In function `void func_x(const struct type_x)':
g_error.c:9: Internal compiler error.
g_error.c:9: Please submit a full bug report to address@hidden'.


Other compilers like gcc, etc. did compile it.

Best Regards

Bo Lyckegard





reply via email to

[Prev in Thread] Current Thread [Next in Thread]