5 msgRe: PATCH COMMITTED: Don't break tests for enum...
2 msghash_rtx and volatile subexpressions
2 msgAny interest in i586-pc-interix3 configuration ...
11 msg[rfc] Moving bbs back to pools
1 msggcc-4.2-20070606 is now available
1 msgdataflow branch merge plans.
4 msg[bug] undefined symbols with -Woverloaded-virtu...
2 msghow to build executable instructions blocks dyn...
1 msggcj java help
4 msgCreating a patch ready for gcc-patches list
29 msguse of %n in genmodes.c causes trouble on Vista
2 msglinking problem with boost
3 msgsegmentation fault
10 msgSomething weird with cp/decl.c switch statement
3 msgvector compare
3 msgBootstrap failure on ppc64
7 msglibjava is a train wreck.
1 msgRe: Comments for empty for-loop parts (was Re: ...
1 msggcc-4.1-20070604 is now available

testsuite trigraphs.c failure due to cygwin <...
\ Timothy C Prince (4 Jun 2007)
. \ Ian Lance Taylor (4 Jun 2007)
. . \ Dave Korn (6 Jun 2007)
. . . \ Tim Prince (6 Jun 2007)
. . . . \ Dave Korn (6 Jun 2007)
. . . . \ Dave Korn (7 Jun 2007)

Subject:testsuite trigraphs.c failure due to cygwin <stdio.h>
Group:Gcc
From:Timothy C Prince
Date:4 Jun 2007




-----Original Message-----
From: "Timothy C Prince" <tprince>
To: gcc
Date: Mon, 04 Jun 2007 16:20:34 +0000

In the message
http://gcc.gnu.org/ml/gcc/2007-03/msg01088.html

Dave Korn wrote:

So, am I correct to believe that we need to use plain 'inline' for c99 after gcc 4.4, and 'extern inline' before that? That is, I think I need to write a test that looks like...


#if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4))) \
&& defined (__STRICT_ANSI__) && (__STRICT_ANSI__ != 0) \
&& defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
#define ELIDABLE_INLINE inline
#else
#define ELIDABLE_INLINE extern inline
#endif


I'm not quite sure if I've got that right, though. I don't know if I need to test __STRICT_ANSI__ or not. I'm not sure if I should be testing for gnu99 mode as well as std99 or not. I want to match the exact conditions that are going to be tested to invoke the new standard behaviour; is this going to do it?
___________________________________________________
In gcc-4.3-20070601, a new problem came up. gcc.dg/cpp/trigraphs.c fails due to problems here in cygwin/newlib <stdio.h>, even with the change suggested above.


Tim Prince


Tim Prince


© 2004-2008 readlist.com