Stuck in a 'for' loop in _Watchdog_Insert.

Nick Thomas nick.thomas at
Sun May 23 07:35:02 UTC 2010

> I agree, the result of the "next" operation should not point to itself.
> You are not hitting the "strict aliasing rule" problem we have found
> years ago?
> Hint: search for "alias" and "Peer Stritzinger" in the mailing list
> archive.

Hmmm, that's interesting.
I have now added -fno-strict-aliasing to the compiler flags on all of the
sub-modules on this project, but not the RTEMS OS itself (my colleague is
doing that).

But, after compiling all the other modules the end result is 20K bigger than
before! So, it is obviously having some effect on optimizations.

I will get the OS compiled too, and see how that goes.



More information about the users mailing list