Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

Re: [arm-gcc] g++ buglet


  • To: Vincent Korstanje <Vincent.Korstanje@xxxxxxx>
  • Subject: Re: [arm-gcc] g++ buglet
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Thu, 22 Apr 2004 14:33:42 -0700

Vincent Korstanje wrote:

Dear CodeSourcery

Here a small g++ buglet, the following leads to an internal error in g++

  int Compound_Literals_0()
  {
     static int y[] = (int []) {1, 2, 3};
static int z[] = (int [3]) {1}; return y[0]+z[0]; } my commandline was ...\arm-2003-q4\win32_pentium\bin\arm-none-elf-c++.exe" -S -c test.cpp
-o testgnu.s
I fixed this crash in G++. The patch will be available in G++ 3.5; we do not plan to backport it to our ARM releases until they are based on G++ 3.5.

Thanks,

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@xxxxxxxxxxxxxxxx