1 /* PR optimization/11634 */
3 /* The following code used to ICE in verify_local_live_at_start on
4 PA when compiled with -O2. The cause was that split_all_insns was
5 not updating liveness information when deleting no-op moves that
6 had REG_UNUSED notes. */
8 /* { dg-do compile { target hppa*-*-* } } */
9 /* { dg-options "-O2" } */
12 void H5T_conv_vlen (unsigned long long nelmts, unsigned char *bg_ptr)
15 unsigned long long bg_seq_len = 0;
16 unsigned src_base_size, dst_base_size;
18 unsigned tmp_buf_size = 0;
19 unsigned long long elmtno;
20 for (elmtno = 0; elmtno < nelmts; elmtno++)
22 unsigned char *tmp = bg_ptr;
26 (unsigned) (bg_seq_len *
27 (src_base_size > dst_base_size
32 (unsigned) (bg_seq_len *
33 (src_base_size > dst_base_size
37 if (bg_seq_len < seq_len)
38 f ((unsigned char *) tmp_buf + dst_base_size * bg_seq_len);