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

g++: internal compiler error (PPC)



Subject: g++: internal compiler error (PPC)
Package: g++
Version: 2:2.95.4-13
Severity: normal



-- System Information
Debian Release: 3.0
Architecture: powerpc
Kernel: Linux bluepenguin 2.4.19-pre3 #3 Sat Mar 16 15:39:53 CST 2002 ppc
Locale: LANG=C, LC_CTYPE=C

Versions of packages g++ depends on:
ii  cpp                          2:2.95.4-13 The GNU C preprocessor.
ii  g++-2.95                     1:2.95.4-4  The GNU C++ compiler.
ii  gcc-2.95                     1:2.95.4-4  The GNU C compiler.

Hopefully this speaks for itself:

justinb@bluepenguin:~$ cat bug.C
class foo {
    int array[3];
  public:
    void bar();
};
void foo::bar()
{
    for(int i=0; i<3; i++)
        array[i] = 0;
}
justinb@bluepenguin:~$ g++ -O2 -fprofile-arcs -c bug.C
bug.C: In method `void foo::bar()':
bug.C:10: Internal compiler error.
bug.C:10: Please submit a full bug report.
bug.C:10: Internal compiler error:
bug.C:10: See <URL:http://www.gnu.org/software/gcc/bugs.html> for
instructions.



Reply to: