https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84986
--- Comment #1 from Gergö Barany ---
Created attachment 43714
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43714&action=edit
test driver
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gergo.barany at inria dot fr
Target Milestone: ---
Created attachment 43713
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43713&action=edit
input function showing perf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81346
--- Comment #17 from Gergö Barany ---
Thanks for fixing this. I did notice a small thing that might be considered a
tiny regression due to the fix.
If the divisor is a small power of 2, as in the following example:
int fn1(char p1) {
long a;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81346
--- Comment #1 from Gergö Barany ---
Sorry, forgot to add the command line. I use gcc -O3 on all platforms
: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: gergo.barany at inria dot fr
Target Milestone: ---
Created attachment 41694
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41694&action=edit
Input C file for triggering the issue
The attached
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81012
--- Comment #2 from Gergö Barany ---
Created attachment 41672
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41672&action=edit
Smaller test case
Added a smaller test case:
int fn3(int p1, int p2) {
int a = p2;
if (p1)
a *= 10.0;
: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gergo.barany at inria dot fr
Target Milestone: ---
Created attachment 41496
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41496&action=edit
Input C f
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gergo.barany at inria dot fr
Target Milestone: ---
Created attachment 41432
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41432&action=edit
Input C file for triggering the issue
Input program:
$ ca
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gergo.barany at inria dot fr
Target Milestone: ---
Created attachment 41407
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41407&action=edit
Input C file for trigger