On Fri, 2010-07-16 at 02:06 +0200, Angelo Graziosi wrote:
> Testing the mingw64-i686* packages found at 
> ftp://ftp.cygwinports.org/pub/cygwinports/temp/MinGW (Cygwin cross 
> compiler, see[*]), I have obtained an ICE:
> 
> $ cat ICE_test.cpp
> void foo(char const* upattern, int color)
> {
>    static short bitmap_data[8];
>    for (int i = 0; i < 8; i++)
>    {
>      bitmap_data[i] = (unsigned char)~upattern[i];
> 
>    }
> }
> 
> $ mingw32-g++ -O3 -c ICE_test.cpp
> ICE_test.cpp: In function ‘void foo(const char*, int)’:
> ICE_test.cpp:1:6: internal compiler error: in vectorizable_store, at 
> tree-vect-stmts.c:3157
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> 
> 
> Using '-O0/-O1/-O2' in place of '-O3' option, works just fine!

Confirmed.  Note that this does not occur with the other cross-targets
compiled from the same snapshot (i686-pc-mingw32, x86_64-w64-mingw32,
i686-pc-linux-gnu), even with -O3.


Yaakov
Cygwin Ports


Reply via email to