diff options
author | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2017-12-05 11:46:16 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2017-12-05 11:46:16 +0000 |
commit | f4ac86dd5c3569dac8b395e823296ed89a2030e9 (patch) | |
tree | 57d352202f49c7f2af29b144069b0623b04af894 /gcc/ada/opt.ads | |
parent | 16d92641c44532b83fc9ff6009ada3a769a15731 (diff) | |
download | gcc-f4ac86dd5c3569dac8b395e823296ed89a2030e9.zip gcc-f4ac86dd5c3569dac8b395e823296ed89a2030e9.tar.gz gcc-f4ac86dd5c3569dac8b395e823296ed89a2030e9.tar.bz2 |
[multiple changes]
2017-12-05 Arnaud Charlet <charlet@adacore.com>
* opt.ads (Expand_Nonbinary_Modular_Ops): New flag.
* exp_ch4.adb (Expand_Nonbinary_Modular_Op): Use
Expand_Nonbinary_Modular_Ops instead of Modify_Tree_For_C, so that
other back-ends can also benefit from the front-end expansion. Remove
test for Modify_Tree_For_C in all callers to better share code.
* gnat1drv.adb (Adjust_Global_Switches): Set
Expand_Nonbinary_Modular_Ops when generating C code.
2017-12-05 Ed Schonberg <schonberg@adacore.com>
* exp_ch5.adb (Expand_Formal_Container_Loop): Ensure that the loop
parameter becomes invisible after analyzing the loop, which has been
rewritten as a while-loop.
2017-12-05 Doug Rupp <rupp@adacore.com>
* vxaddr2line.adb: Revise and enhance for new ports, remove dead ports,
and update for 64bit ports.
From-SVN: r255410
Diffstat (limited to 'gcc/ada/opt.ads')
-rw-r--r-- | gcc/ada/opt.ads | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/opt.ads b/gcc/ada/opt.ads index 86a5c35..b642b22 100644 --- a/gcc/ada/opt.ads +++ b/gcc/ada/opt.ads @@ -640,6 +640,10 @@ package Opt is -- Set to True to store tracebacks in exception occurrences and enable -- symbolic tracebacks (-Es). + Expand_Nonbinary_Modular_Ops : Boolean := False; + -- Set to True to convert nonbinary modular additions into code + -- that relies on the front-end expansion of operator Mod. + Extensions_Allowed : Boolean := False; -- GNAT -- Set to True by switch -gnatX if GNAT specific language extensions |