Re: Help with integrating my test program into dejagnu

2016-12-31 Thread Mike Stump
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.

Re: Help with integrating my test program into dejagnu

2016-12-31 Thread Daniel Santos
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

Re: Help with integrating my test program into dejagnu

2016-12-31 Thread Mike Stump
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

Re: Help with integrating my test program into dejagnu

2016-12-31 Thread Daniel Santos
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