This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [2/6] nvptx testsuite patches: typed assembly


On 10/21/2014 05:32 PM, Bernd Schmidt wrote:
On 10/21/2014 05:16 PM, Jeff Law wrote:
On 10/21/14 14:15, Bernd Schmidt wrote:
Since everything in ptx assembly is typed, K&R C is problematic. There
are a number of testcases that call functions with the wrong number of
arguments, or arguments of the wrong type. I've added a new feature,
untyped_assembly, which these tests now require. I've also used this for
tests using builtin_apply/builtin_return.
I'd kind of prefer to see the tests fixed, but I can live with this.

Most of these are quite old, and it seems likely that they should be
kept as they are for test coverage - it's desirable to know that the
compiler doesn't crash when a K&R function is called with varying
numbers of arguments for example.

Just a note that I'm assuming that your mail was an approval and checking this in.


Bernd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]