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

Re: gcc-4.4/s390: internal compiler error: Segmentation fault



On Mon, Aug 03, 2009 at 09:40:10AM +0200, Aurelien Jarno wrote:
> Package: gcc-4.4
> Version: 4.4.1-1
> Severity: important
> 
> The following code triggers an ice on s390 with -m64:
> 
> | void wmemset (int *s, int c, int n)
> | {
> |   register int *wp = s;
> |   while (n >= 4)
> |     {
> |       wp[0] = c;
> |       wp[1] = c;
> |       wp[2] = c;
> |       wp[3] = c;
> |       wp += 4;
> |       n -= 4;
> |     }
> | }
> 
> | $ gcc-4.4 -m64 -O3 -c testcase.i
> | testcase.i: In function ‘wmemset’:
> | testcase.i:1: internal compiler error: Segmentation fault
> | Please submit a full bug report,
> | with preprocessed source if appropriate.
> | See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
> 

The bug can also be reproduced with -O1 -ftree-vectorize instead of -O3


-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: