On 15/07/2015 4:50 pm, Sebastian Huber wrote: > > I didn't file a PR, only asked on the mailing list. My impression is > that this is not a bug, but a feature that must be disabled by C library > developers.
A compiler that optimises to a infinite recursive loop for code that is ok and not pushing any standards limit would seems like a bug to me. > >> >> If the code being optimized is the function 'calloc', which it should >> know, then maybe this is not such a good idea to call itself. > > Yes, maybe this would complicate the compiler too much for a rare use > case, e.g. C library. > I feel there is more pain with this issue to come for embedded users. Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel