gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] latest changes to gcc-trunk


From: Gaius Mulley
Subject: [Gm2] latest changes to gcc-trunk
Date: Tue, 20 Aug 2019 23:23:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi,

I've checked in some additions to the gcc-trunk which allow the compiler
to detect range errors caused by calculating the modulus of whole
numbers.  Runtime checking code is generated and compile time detection
is attempted with the plugin - currently this can be seen when using
-fpim2 -fsoft-check-all -O2.

Eventually -fiso, -fpim4 will also detect modulus overflow but it
requires different modulus detection code (floor vs truncate),




regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]