On Wed, 21 Oct 2015, Eric Botcazou wrote: > > Isn't this a function of the language and in some cases isn't it > > implementation defined (true for C/C++ until C++11)? > > I don't think that C/C++ use FLOOR_MOD_EXPR, only Ada does AFAIK. In any > case, I don't see how this can be implementation-defined given:
And, given that RTL semantics are as well-defined and target-independent as GENERIC / GIMPLE semantics here, a corollary is that the MMIX option -mknuthdiv is fundamentally ill-conceived (affecting as it does the semantics of RTL operations whose semantics are assumed by the rest of the compiler to be target-independent). -- Joseph S. Myers jos...@codesourcery.com