https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115088
Bug ID: 115088 Summary: Autofdo doesn't create correct cfg Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: andyzhenyu.zhao at mail dot utoronto.ca Target Milestone: --- Created attachment 58204 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58204&action=edit afdo cfg HI. I used the gcc 14 and autofdo-0.19. I tried to follow the steps for autofdo tutorial on this website(https://gcc.gnu.org/wiki/AutoFDO/Tutorial). And I attached the cfg I got. By the way, I used this command: gcc -O3 -fauto-profile=sort.gcov sort.c -o sort_autofdo -fdump-ipa-afdo-details. here is info for gcov: dump_gcov pmu.gcov sort_array total:8085 head:0 0: 0 1: 0 3.1: 0 4: 0 4.1: 0 7: 0 6: bubble_sort total:8085 2: 0 3: 0 4.1: 1999 5: 4246 8: 1070 9: 770