https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|1 |0
Status|WAITING |UNCONFIRMED
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The generated IR from the trunk:
<bb 7> [local count: 118111600]:
PROF_edge_counter_113 = __gcov0.set_compound_page_dtor[1];
PROF_edge_counter_114 = PROF_edge_counter_113 + 1;
__gcov0.set_compound_page_dtor[1] = PROF_edge_counter_114;
MEM[(struct page *)page_12(D) + 40B].D.14083.D.14061.compound_dtor = 1;
PROF_edge_counter_47 = __gcov0.prep_compound_page[8];
PROF_edge_counter_48 = PROF_edge_counter_47 + 1;
__gcov0.prep_compound_page[8] = PROF_edge_counter_48;
PROF_edge_counter_96 = __gcov0.set_compound_order[0];
PROF_edge_counter_97 = PROF_edge_counter_96 + 1;
__gcov0.set_compound_order[0] = PROF_edge_counter_97;
_98 = (unsigned char) order_8(D);
MEM[(struct page *)page_12(D) + 40B].D.14083.D.14061.compound_order = _98;
if (order_8(D) > 31)
goto <bb 10>; [0.00%]
else
goto <bb 11>; [100.00%]
<bb 8> [local count: 105119324]:
_176 = (long unsigned int) page_12(D);
_95 = _176 + 1;
pretmp_94 = __gcov0.prep_compound_page[7];
_179 = pretmp_94 + 1;
ivtmp.1725_211 = (unsigned long long) _179;
_155 = page_12(D) + 40;
ivtmp.1730_157 = (unsigned int) _155;
_135 = (unsigned int) nr_pages_11;
_134 = _135 + 4294967294;
_132 = (unsigned long long) _134;
_89 = (unsigned long long) pretmp_94;
_76 = _89 + 2;
_19 = _76 + _132;
<bb 9> [local count: 955630225]:
# ivtmp.1725_77 = PHI <ivtmp.1725_69(9), ivtmp.1725_211(8)>
# ivtmp.1730_178 = PHI <ivtmp.1730_168(9), ivtmp.1730_157(8)>
p_16 = (struct page *) ivtmp.1730_178;
MEM <struct address_space *> [(union *)p_16 + 12B] = 1024B;
MEM[(volatile long unsigned int *)p_16 + 4B] ={v} _95;
PROF_edge_counter_46 = (long long int) ivtmp.1725_77;
__gcov0.prep_compound_page[7] = PROF_edge_counter_46;
ivtmp.1725_69 = ivtmp.1725_77 + 1;
ivtmp.1730_168 = ivtmp.1730_178 + 40;
if (_19 != ivtmp.1725_69)
goto <bb 9>; [89.00%]
else
goto <bb 7>; [11.00%]