bindgen.adb (Gen_Main_C): declare the ensure_reference variable as volatile...
commit4430b4899566b604ab3fc71cf33e101bd75840a1
authorJoel Brobecker <brobecke@adacore.com>
Wed, 15 Feb 2006 09:35:12 +0000 (15 10:35 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 15 Feb 2006 09:35:12 +0000 (15 10:35 +0100)
tree6ae82d1637be5095a259d16a579b1ae2ecd5b6d2
parent65aa56ecd6246442ef7e03eb6c2e336a6419b9d1
bindgen.adb (Gen_Main_C): declare the ensure_reference variable as volatile...

2006-02-13  Joel Brobecker  <brobecke@adacore.com>

* bindgen.adb (Gen_Main_C): declare the ensure_reference variable as
volatile, to tell the compiler to preserve this variable at any level
of optimization.
(Gen_Versions_Ada): Temporarily work around codegen bug.

From-SVN: r111045
gcc/ada/bindgen.adb