This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2007 12:09:31 -0000
- Subject: [Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC
- References: <bug-32582-12180@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rakdver at gcc dot gnu dot org 2007-07-26 12:09 -------
rs6000_conditional_register_usage ();
memset (®_class_size, 0, 84);
gets compiled to
vxor v0,v0,v0
...
bl 0x104f0c68 <rs6000_conditional_register_usage>
...
stvx v0,r0,r9
addi r9,r11,32
stw r0,80(r11)
stvx v0,r0,r11
addi r11,r11,48
stvx v0,r0,r27
stvx v0,r0,r9
stvx v0,r0,r11
The value of v0 gets changed inside rs6000_conditional_register_usage (some
loop gets vectorized there and v0 is used), so we are not setting
reg_class_size to zero, but to some random value.
I am not familiar with ppc abi -- is v0 call clobbered?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32582