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

Bug#539713: gcc-4.4/s390: internal compiler error: Segmentation fault



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.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: s390

Kernel: Linux 2.6.26-2-s390x 
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: