Re: [PATCH] Prevent GCC from folding inline test functions

Pedro Alves
2015-08-24T15:54:02Z

On 08/24/2015 04:48 PM, Luis Machado wrote:
> --- a/gdb/testsuite/gdb.opt/inline-markers.c
> +++ b/gdb/testsuite/gdb.opt/inline-markers.c
> @@ -13,7 +13,7 @@
> You should have received a copy of the GNU General Public License
> along with this program. If not, see <http://www.gnu.org/licenses/>. */
>
> -extern int x, y;
> +extern int x, y, z;

z here should match the definition (should be volatile here too).

Thanks,
Pedro Alves