Hello,
I'd go with 12 if only a bit possible. Any major compiler change during
the minor RTEMS release would not look good IMHO. It's way better to do
major RTEMS version bump together with major compiler version bump and
stick to that during the RTEMS release live cycle. That's my gut feeling
about that.
Now, hard evidence. Do we have any table comparing test case results on
all the (tier 1? /2?) platforms between GCC 10 and 12? That would be
great to have that to see if there is any major regression in 12 and to
possibly drive the decision based on hard facts.
Thanks!
Karel
On 4/27/22 08:57, Sebastian Huber wrote:
Hello,
we have to select a GCC version for the RTEMS 6 release. Currently, GCC
10 is used, however, with the release of GCC 10.4 this year it will
reach its end of life. Other options are GCC 11 and 12. GCC 12 will be
released in the next weeks. It has some nice features:
* Initialization of stack variables:
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-ftrivial-auto-var-init
* Improved static analysis with -fanalyzer
* Improved gcov support, with the ability to back port changes from GCC 13:
https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593536.html
* Upstream maintenance for the next three years
The draw back is that it is brand new.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel