This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix failure of ACATS c45503c at -O2


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
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]