473,386 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ANSI C (C99) testsuit compliancy

P.
Hi,

I'm looking for a set of C tests/library which can be used to check
ANSI C (C99) compliancy. For instance a set of C tests which can be
used to test compiler ANSI C compliancy.

I appreciate your help,

P.

Nov 14 '05 #1
5 1596
In article <11**********************@g49g2000cwa.googlegroups .com>, P.
<pm***@post.com> writes
Hi,

I'm looking for a set of C tests/library which can be used to check
ANSI C (C99) compliancy. For instance a set of C tests which can be
used to test compiler ANSI C compliancy.

I appreciate your help,

P.


Try Plum-Hall or Perennial AFAIK both cost money and there are no
recognised free test suites.


/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\
/\/\/ ch***@phaedsys.org www.phaedsys.org \/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Nov 14 '05 #2
Chris Hills wrote:
<pm***@post.com> writes

I'm looking for a set of C tests/library which can be used to
check ANSI C (C99) compliancy. For instance a set of C tests
which can be used to test compiler ANSI C compliancy.
Try Plum-Hall or Perennial AFAIK both cost money and there are
no recognised free test suites.


I believe there is a freely available test suite for gcc from gnu.
I have no direct knowledge of it.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\
/\/\/ ch***@phaedsys.org www.phaedsys.org \/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/


Please fix your signature to include a proper sig delimiter ("-- ")

--
Some informative links:
news:news.announce.newusers
http://www.geocities.com/nnqweb/
http://www.catb.org/~esr/faqs/smart-questions.html
http://www.caliburn.nl/topposting.html
http://www.netmeister.org/news/learn2quote.html
Nov 14 '05 #3
In article <42***************@yahoo.com>, CBFalconer
<cb********@yahoo.com> writes
Chris Hills wrote:
<pm***@post.com> writes

I'm looking for a set of C tests/library which can be used to
check ANSI C (C99) compliancy. For instance a set of C tests
which can be used to test compiler ANSI C compliancy.


Try Plum-Hall or Perennial AFAIK both cost money and there are
no recognised free test suites.


I believe there is a freely available test suite for gcc from gnu.
I have no direct knowledge of it.


As I said there are no industrially recognised free test suites.

The problem with certification is that some one is certifying something.
IE taking responsibility for something. Legal issues then crop up. It is
a mine field.

Besides I would have though the GNU test suite only works with the GNU
compilers. Also I thought that GNU worked to it's own standard?


-- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Nov 14 '05 #4
P.
Thank you very much for your inputs. The gnu gcc test suite will be an
acceptable starting point for my project.

I was not able to find anything on the gnu web site. Any idea where to
look to get the GCC gnu test suite?

..P

Nov 14 '05 #5
P. wrote:
Thank you very much for your inputs. The gnu gcc test suite will be an
acceptable starting point for my project.

I was not able to find anything on the gnu web site. Any idea where to
look to get the GCC gnu test suite?

.P

gcc testsuite is included in any full distribution of gcc source, e.g.
ftp://gcc.gnu.org/pub/gcc and many mirrors. There is generally a separate
tar file with just the testsuite. Testsuite is updated continually; you
will want the one which corresponds to your gcc. If attempting to test
some other compiler, you may want the gcc-4.0 or 4.1 snapshot testsuite.
--
Tim Prince
Nov 14 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Nicholas R. Markham | last post by:
When I compile with the -ansi option (using gcc 3.2.3) I'm warned of an implicit declaration of function 'finite'. Does this mean that finite() is not part of ANSI C, or that I didn't include a...
4
by: Luke Wu | last post by:
I am just wondering what the following terms usually mean: 1) "Standard C" 2) "K&R C" 3) "ANSI C" I am pretty sure "ANSI C" usually refers to the C89 standard, but what
15
by: Bart Vandewoestyne | last post by:
I'm having a .c source file which at the top contains the line #include <math.h> In that source file, i declare a function dt which in its body uses the lgamma function. `man lgamma' on my...
83
by: sunny | last post by:
Hi All What is C99 Standard is all about. is it portable, i mean i saw -std=C99 option in GCC but there is no such thing in VC++.? which one is better ANSI C / C99? can i know the major...
47
by: Thierry Chappuis | last post by:
Hi, I'm interested in techniques used to program in an object-oriented way using the C ANSI language. I'm studying the GObject library and Laurent Deniau's OOPC framework published on his web...
127
by: bz800k | last post by:
Hi Does this code satisfy ANSI C syntax ? void function(void) { int a = 2; a = ({int c; c = a + 2;}); /* <<-- here !! */ printf("a=%d\n", a);
41
by: jaysome | last post by:
It's been almost eight years since ISO/IEC approved ISO/IEC 9899:1999. Does anyone know if ANSI has approved it? A Google search shows arguably confusing answers as to whether ANSI has...
8
AmberJain
by: AmberJain | last post by:
HELLO, Is it necessary for a C programmer to have an ANSI C standard or it's sufficient to own Kernigham and Rithie's The C programming language? I know that the ritchie's book is quite brief...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.