1174604Sscottl/* PR rtl-optimization/34012 */ 2174604Sscottl/* { dg-do compile } */ 3174604Sscottl/* { dg-require-effective-target lp64 } */ 4174604Sscottl/* { dg-options "-O2" } */ 5174604Sscottl 6174604Sscottlvoid bar (long int *); 7174604Sscottlvoid 8174604Sscottlfoo (void) 9174604Sscottl{ 10174604Sscottl long int buf[10]; 11174604Sscottl buf[0] = 0x0808080808080808; 12174604Sscottl buf[1] = 0x0808080808080808; 13174604Sscottl buf[2] = 0x0808080808080808; 14174604Sscottl buf[3] = 0x0808080808080808; 15174604Sscottl buf[4] = 0x0808080808080808; 16174604Sscottl buf[5] = 0x0808080808080808; 17174604Sscottl buf[6] = 0x0808080808080808; 18174604Sscottl buf[7] = 0x0808080808080808; 19174604Sscottl buf[8] = 0x0808080808080808; 20174604Sscottl buf[9] = 0x0808080808080808; 21174604Sscottl bar (buf); 22174604Sscottl} 23174604Sscottl 24174604Sscottl/* Check that CSE did its job and fwprop hasn't undone it. */ 25174604Sscottl/* { dg-final { scan-assembler-times "578721382704613384|0808080808080808" 1 } } */ 26227912Smarius