News for hackers. Stuff that matters.
Re:Bubble sort slower with -O3 than -O2 with GCC by amelius on Sunday October 17, 2021 @04:22PM (#28899455)
Can you turn on optimizations on a per-function basis?
Re:Bubble sort slower with -O3 than -O2 with GCC by gnufx on Sunday October 17, 2021 @04:41PM (#28899604)
Yes, and that's sometimes a good idea. GCC has a pragma and function attribute (unfortunately not for Fortran, at least).