]> git.ipfire.org Git - thirdparty/gcc.git/commit
gnat1drv.adb (Adjust_Global_Switches): Set Ineffective_Inline_Warnings to True in...
authorYannick Moy <moy@adacore.com>
Wed, 30 Jul 2014 10:42:06 +0000 (10:42 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 30 Jul 2014 10:42:06 +0000 (12:42 +0200)
commit43478196de6d652e2cfcd4e0985f7371e2b351fb
tree6a50dedc7bd7fad840f073126da1e44864d5784a
parent662c2ad47559312689a4e5f81f2eccdc577be858
gnat1drv.adb (Adjust_Global_Switches): Set Ineffective_Inline_Warnings to True in GNATprove mode.

2014-07-30  Yannick Moy  <moy@adacore.com>

* gnat1drv.adb (Adjust_Global_Switches): Set
Ineffective_Inline_Warnings to True in GNATprove mode.
* inline.adb (Cannot_Inline): Prepare new semantics for GNATprove
mode of inlining.
* opt.ads (Ineffective_Inline_Warnings): Add comment that
describes use in GNATprove mode.
* sem_prag.adb (Analyze_Pragma|SPARK_Mode): Ignore
pragma when applied to the special body created for inlining.

From-SVN: r213245
gcc/ada/ChangeLog
gcc/ada/gnat1drv.adb
gcc/ada/inline.adb
gcc/ada/opt.ads
gcc/ada/sem_prag.adb