First of all, thank you for your thoughtful response!
On 12/30/2016 06:01 PM, Mike Stump wrote:
On Dec 30, 2016, at 11:58 AM, Daniel Santos wrote:
Still being pretty new to GCC and having never used dejagnu, expect or Tcl, I'm
trying to determine how to best integrate my test program into GCC
On Dec 31, 2016, at 11:18 AM, Daniel Santos wrote:
>
> The generated sources are 2MiB
Yeah, too big, better to have a generator.
> Also, I can't have the two generated .c files in the same translation unit
> (at least in their current form) because gcc's too smart with optimizations.
> :)
Yo
On 12/31/2016 02:53 PM, Mike Stump wrote:
Also, I can't have the two generated .c files in the same translation unit (at
least in their current form) because gcc's too smart with optimizations. :)
You can inform the optimizer to stop doing that. volatile is but one way.
This informs it that
On Dec 31, 2016, at 2:13 PM, Daniel Santos wrote:
>
> Well I'm learning all sorts of new things; I wasn't aware that the testsuite
> was designed to run with other compilers! Does the Microsoft compiler
> support building functions using the System V ABI?
IDK. I kinda doubt it.