Pelles C forum

Pelles C => Bug reports => Topic started by: Akko on July 28, 2018, 11:25:29 PM

Title: Optimize with Inlining bug
Post by: Akko on July 28, 2018, 11:25:29 PM
I know its not helpful at all, but I cannot localize the bug, only reproduce it   :(

My app has several static inline void subroutine (void) as compiler hints.
It compiles flawlessly, also with gcc

But whenever I select Project Options Compiler Optimizations in combination with Inlining the program goes into an endless loop until it crashes.
However with either Optimizations None or Inlining None, it runs as expected.
Title: Re: Optimize with Inlining bug
Post by: Pelle on August 18, 2018, 07:39:21 PM
There is a known problem with some (not very common) loops. Most programs use loops, so I suspect you do too.
Any chance you can narrow things down using this new info?