[Bug gcov-profile/113765] [14 Regression] ICE: autofdo: val-profiler-threads-1.c compilation, error: probability of edge from entry block not initialized

2024-03-26 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113765 --- Comment #7 from Eugene Rozenfeld --- I'll prepare a patch this week.

[Bug gcov-profile/113765] [14 Regression] ICE: autofdo: val-profiler-threads-1.c compilation, error: probability of edge from entry block not initialized

2024-03-15 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113765 --- Comment #4 from Eugene Rozenfeld --- auto-profile currently doesn't guarantee that it will set probabilities on all edges because of zero basic block counts. Normally those edges just have probabilities set by the preceding profile_estimate

[Bug ipa/108000] Assert during ipa-cp with AutoFDO

2022-12-09 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 Eugene Rozenfeld changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/108000] Assert during ipa-cp with AutoFDO

2022-12-07 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 --- Comment #3 from Eugene Rozenfeld --- Repro steps: gcc -O2 -g -o ./pr108000 ./pr108000.c perf record -e cpu/event=0xC4,umask=0x20/puk -b -m8 -o perf.data ./pr108000 create_gcov --binary ./pr108000 --profile=./perf.data -gcov_version=2

[Bug ipa/108000] Assert during ipa-cp with AutoFDO

2022-12-06 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 --- Comment #2 from Eugene Rozenfeld --- I actually have a fix for this, just wanted to file a simple test case. I initially ran into this failure while reviving autoprofiledbootstrap build. The failure happens while using the profile and the

[Bug ipa/108000] New: Assert during ipa-cp with AutoFDO

2022-12-06 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 Bug ID: 108000 Summary: Assert during ipa-cp with AutoFDO Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa

[Bug c/107197] valgrind error in function same_line_p during build

2022-10-11 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107197 --- Comment #9 from Eugene Rozenfeld --- 107193 was fixed by https://gcc.gnu.org/g:80f414e6d73f9f1683f93d83ce63a6a482e54bee

[Bug debug/107193] [13 regression] bootstrap error caused by r13-3172-gf30e9fd33e56a5

2022-10-10 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107193 --- Comment #8 from Eugene Rozenfeld --- Created attachment 53690 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53690=edit Proposed patch

[Bug debug/107193] [13 regression] bootstrap error caused by r13-3172-gf30e9fd33e56a5

2022-10-10 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107193 --- Comment #7 from Eugene Rozenfeld --- No, locus won't be changed by the loop. But the purpose of the loop is to change statement locations (by adding discriminators) in this line: gimple_set_location (stmt, dloc); I think the code would

[Bug debug/107193] [13 regression] bootstrap error caused by r13-3172-gf30e9fd33e56a5

2022-10-10 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107193 --- Comment #4 from Eugene Rozenfeld --- Yes, that's the problem. Sorry about that, will send a patch with the fix shortly.

[Bug debug/107169] [13 Regression] -fcompare-debug failure at -O and above since r13-2921-gf1adf45b17f7f1ed

2022-10-06 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107169 --- Comment #2 from Eugene Rozenfeld --- When -gstatement-frontiers is on, the IR coming from the front end may be different with and without debug information turned on. That may cause e.g., different discriminator values and -fcompare-debug

[Bug tree-optimization/96674] Failure to optimize combination of comparisons to dec+compare

2021-01-14 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96674 --- Comment #9 from Eugene Rozenfeld --- I used XXX_MIN for consistency with comments on other patterns. If TYPE_MIN is preferable, the change should be made in all of those comments as well.

[Bug tree-optimization/97223] Failure to optimize comparison of char arithmetic to single comparison

2021-01-14 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97223 --- Comment #4 from Eugene Rozenfeld --- The commit that fixed this: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=32ee472864ada44ef05b2a3b087b8ce413bee282

[Bug tree-optimization/96674] Failure to optimize combination of comparisons to dec+compare

2021-01-14 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96674 --- Comment #7 from Eugene Rozenfeld --- Thank you for the feedback, Gabriel and Jakub. I re-worked the patch based on your suggestions. I attached the new patch and also sent it to gcc-patches.

[Bug tree-optimization/96674] Failure to optimize combination of comparisons to dec+compare

2021-01-14 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96674 Eugene Rozenfeld changed: What|Removed |Added Attachment #49940|0 |1 is obsolete|

[Bug tree-optimization/96674] Failure to optimize combination of comparisons to dec+compare

2021-01-12 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96674 --- Comment #3 from Eugene Rozenfeld --- Both are used but it looks like __attribute__((noinline)) is used more frequently. Under gcc/testsuite there are 1537 instances of __attribute__((noipa)) and 3794 instances of __attribute__((noinline)).

[Bug tree-optimization/96674] Failure to optimize combination of comparisons to dec+compare

2021-01-11 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96674 Eugene Rozenfeld changed: What|Removed |Added CC||erozen at microsoft dot com ---

[Bug middle-end/86698] Misleading dump-file contents

2020-11-24 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86698 Eugene Rozenfeld changed: What|Removed |Added CC||erozen at microsoft dot com ---

[Bug tree-optimization/97223] Failure to optimize comparison of char arithmetic to single comparison

2020-11-06 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97223 --- Comment #3 from Eugene Rozenfeld --- The proposed patch was committed to the trunk by Jeff Law.

[Bug tree-optimization/96701] Failure to optimize self right-shift to 0

2020-10-30 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96701 Eugene Rozenfeld changed: What|Removed |Added CC||erozen at microsoft dot com ---

[Bug tree-optimization/97223] Failure to optimize comparison of char arithmetic to single comparison

2020-10-30 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97223 Eugene Rozenfeld changed: What|Removed |Added CC||erozen at microsoft dot com ---