Re: Inquiry about Loop Unswitching Behavior in GCC 15

2025-07-24 Thread Richard Biener via Gcc
On Thu, Jul 24, 2025 at 8:40 AM Richard Biener wrote: > > On Thu, Jul 24, 2025 at 2:39 AM magic0826gc via Gcc wrote: > > > > Dear GCC Developers, > > I'm writing to report an observation regarding loop unswitching behavior > > when compiling the attached code with GCC 15 using -O2 -funswitch-loo

Re: Inquiry about Loop Unswitching Behavior in GCC 15

2025-07-23 Thread Richard Biener via Gcc
On Thu, Jul 24, 2025 at 2:39 AM magic0826gc via Gcc wrote: > > Dear GCC Developers, > I'm writing to report an observation regarding loop unswitching behavior when > compiling the attached code with GCC 15 using -O2 -funswitch-loops > optimization flags. Here's a detailed analysis of the issue:

Inquiry about Loop Unswitching Behavior in GCC 15

2025-07-23 Thread magic0826gc via Gcc
Dear GCC Developers, I'm writing to report an observation regarding loop unswitching behavior when compiling the attached code with GCC 15 using -O2 -funswitch-loops optimization flags. Here's a detailed analysis of the issue: Code Overview: int foo(double *a, double *b, double *c, double *d, dou