This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][GCC] Make stackalign test LTO proof
- From: Joern Wolfgang Rennecke <gnu at amylaar dot uk>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Andre Vieira <Andre dot SimoesDiasVieira at arm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 16 Nov 2015 15:34:47 +0000
- Subject: Re: [PATCH][GCC] Make stackalign test LTO proof
- Authentication-results: sourceware.org; auth=none
I just happened to stumble on this problem with another port.
The volatile & test solution doesn't work, though.
What does work, however, is:
__asm__ ("" : : "" (dummy));