exp_util.adb (Remove_Side_Effects): No action done for functions returning class...
authorJavier Miranda <miranda@adacore.com>
Thu, 11 Jan 2018 08:52:47 +0000 (08:52 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 11 Jan 2018 08:52:47 +0000 (08:52 +0000)
commit78cac7386e2dc48ec5adb4ff0c9a94eed958c9fc
tree0569f97f50f57bf9a3f7ae6dcbc807d256daf6e8
parent210fef2d1c7b47c0587375d87d4f4a65f28ca57e
exp_util.adb (Remove_Side_Effects): No action done for functions returning class-wide types since it requires...

2018-01-11  Javier Miranda  <miranda@adacore.com>

gcc/ada/

* exp_util.adb (Remove_Side_Effects): No action done for functions
returning class-wide types since it requires generating code using
'reference and the CCG target has no secondary stack.
* gnat1drv.adb: Disable building static dispatch tables when generating
C code.

From-SVN: r256503
gcc/ada/ChangeLog
gcc/ada/exp_util.adb
gcc/ada/gnat1drv.adb