This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/6987: failure at s390_final_chunkify when more than 4K bytes for globals
- From: mark dot fallon at oracle dot com
- To: gcc-gnats at gcc dot gnu dot org
- Cc: Tom_Russell at ca dot ibm dot com
- Date: 11 Jun 2002 01:01:53 -0000
- Subject: c/6987: failure at s390_final_chunkify when more than 4K bytes for globals
- Reply-to: mark dot fallon at oracle dot com
>Number: 6987
>Category: c
>Synopsis: failure at s390_final_chunkify when more than 4K bytes for globals
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 10 18:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: mark.fallon@oracle.com
>Release: gcc version 2.95.3 20010315 (SuSE)
>Organization:
>Environment:
cat /proc/version
Linux version 2.4.7-SuSE-SMP (root@k_deflt.suse.de) (gcc version 2.95.3 20010315 (SuSE)) #1 SMP Fri Oct 26 00:53:12 GMT 2001
>Description:
----------------------- gen.pl -----------------------------
$max = $ENV{MAX} || 4096;
foreach $i (0 .. $max) {
print "extern long i_$i;\n";
}
print "void test()\n{\n";
foreach $i (0 .. $max) {
print " i_$i = $i;\n";
}
print "}\n";
------------------------------------------------------------
linux1:~ # MAX=1024 perl gen.pl > gen.c; cc -c gen.c
/tmp/ccQk1Bdb.s: Assembler messages:
/tmp/ccQk1Bdb.s:5141: Error: operand out of range (4096 not between 0 and 4095)
linux1:~ # MAX=3243 perl gen.pl > gen.c; cc -c gen.c
(insn 2565 17766 2568 (set (mem/f:SI (reg:SI 1 %r1) 0)
(reg:SI 2 %r2)) 48 {*movsi} (nil)
(nil))
(insn 16223 16220 25962 (set (reg:SI 1 %r1)
(mem/u:SI (symbol_ref/u:SI ("*.LC3243")) 0)) 48 {*movsi} (nil)
(expr_list:REG_EQUAL (symbol_ref:SI ("i_3243"))
(nil)))
s390 multiple literalpool support:
No code label between this insn 1800 9804gen.c: In function `test':
gen.c:6491: Internal compiler error in `s390_final_chunkify', at config/s390/s390.c:1888
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
linux1:~ #
linux1:~ # cc -v
Reading specs from /usr/lib/gcc-lib/s390-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE)
linux1:/proc # cat version
Linux version 2.4.7-SuSE-SMP (root@k_deflt.suse.de) (gcc version 2.95.3 20010315 (SuSE)) #1 SMP Fri Oct 26 00:53:12 GMT 2001
This is a critical problem holding up our system build process.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: