On 24.06.22 00:33, Joel Sherrill wrote:
Does this have a gcc issue?
I don't think this is a GCC issue. Calling an inline function if
optimization is disabled seems to be all right for me.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...
Does this have a gcc issue?
On Thu, Jun 23, 2022, 3:28 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> Conditional expressions with inline functions are not optimized away if
> optimization is disabled. Avoid such expressions to prevent dead
> branches. It helps also during co
Conditional expressions with inline functions are not optimized away if
optimization is disabled. Avoid such expressions to prevent dead
branches. It helps also during code review to immediately see if a loop
is used or not.
---
cpukit/include/rtems/score/priorityimpl.h | 33