public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/31341] New: testsuite pr31041.c fails conflicting with <stdint.h>
@ 2007-03-25 1:43 tprince at computer dot org
2007-04-28 0:44 ` [Bug testsuite/31341] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: tprince at computer dot org @ 2007-03-25 1:43 UTC (permalink / raw)
To: gcc-bugs
gcc.dg/vect/pr31041 attempts to redefine int32_t while <stdint.h> is in scope,
so test reports FAIL. Is this the intent of the test?
--
Summary: testsuite pr31041.c fails conflicting with <stdint.h>
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tprince at computer dot org
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31341
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/31341] testsuite pr31041.c fails conflicting with <stdint.h>
2007-03-25 1:43 [Bug c/31341] New: testsuite pr31041.c fails conflicting with <stdint.h> tprince at computer dot org
@ 2007-04-28 0:44 ` pinskia at gcc dot gnu dot org
2007-04-28 5:42 ` tprince at computer dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-28 0:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-28 01:44 -------
Except how is stdint.h is in scope, it only includes stdarg.h and signal.h.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31341
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/31341] testsuite pr31041.c fails conflicting with <stdint.h>
2007-03-25 1:43 [Bug c/31341] New: testsuite pr31041.c fails conflicting with <stdint.h> tprince at computer dot org
2007-04-28 0:44 ` [Bug testsuite/31341] " pinskia at gcc dot gnu dot org
@ 2007-04-28 5:42 ` tprince at computer dot org
2008-02-28 9:48 ` victork at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tprince at computer dot org @ 2007-04-28 5:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tprince at computer dot org 2007-04-28 06:42 -------
Whatever the reason, cygwin has more headers active than just those specified
in the file. I would have thought that stdint.h typedefs should be acquired
from <stdint.h> rather than being specified slightly differently in the source,
for no apparent reason, but it's not my call.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31341
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/31341] testsuite pr31041.c fails conflicting with <stdint.h>
2007-03-25 1:43 [Bug c/31341] New: testsuite pr31041.c fails conflicting with <stdint.h> tprince at computer dot org
2007-04-28 0:44 ` [Bug testsuite/31341] " pinskia at gcc dot gnu dot org
2007-04-28 5:42 ` tprince at computer dot org
@ 2008-02-28 9:48 ` victork at gcc dot gnu dot org
2008-02-28 17:05 ` tprince at computer dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: victork at gcc dot gnu dot org @ 2008-02-28 9:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from victork at gcc dot gnu dot org 2008-02-28 09:48 -------
I have no installed cygwin, could you check if this patch fixes the failure?
Index: gcc/testsuite/gcc.dg/vect/pr31041.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/pr31041.c (revision 131411)
+++ gcc/testsuite/gcc.dg/vect/pr31041.c (working copy)
@@ -4,16 +4,15 @@
#include <stdarg.h>
#include "tree-vect.h"
-typedef int int32_t;
struct UNewTrie
{
- int32_t index[(0x110000 >> 1)];
+ int index[(0x110000 >> 1)];
};
typedef struct UNewTrie UNewTrie;
utrie_open_3_4 ()
{
UNewTrie *trie;
- int32_t i, j;
+ int i, j;
{
i = 0;
do
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31341
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/31341] testsuite pr31041.c fails conflicting with <stdint.h>
2007-03-25 1:43 [Bug c/31341] New: testsuite pr31041.c fails conflicting with <stdint.h> tprince at computer dot org
` (2 preceding siblings ...)
2008-02-28 9:48 ` victork at gcc dot gnu dot org
@ 2008-02-28 17:05 ` tprince at computer dot org
2008-02-28 21:08 ` tprince at computer dot org
2008-03-05 8:09 ` victork at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: tprince at computer dot org @ 2008-02-28 17:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tprince at computer dot org 2008-02-28 17:05 -------
With Victor's patch on SVN: trunk revision 132553 version 4.4.0 20080222:
PASS: gcc.dg/vect/pr31041.c (test for excess errors)
--
tprince at computer dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31341
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/31341] testsuite pr31041.c fails conflicting with <stdint.h>
2007-03-25 1:43 [Bug c/31341] New: testsuite pr31041.c fails conflicting with <stdint.h> tprince at computer dot org
` (3 preceding siblings ...)
2008-02-28 17:05 ` tprince at computer dot org
@ 2008-02-28 21:08 ` tprince at computer dot org
2008-03-05 8:09 ` victork at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: tprince at computer dot org @ 2008-02-28 21:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from tprince at computer dot org 2008-02-28 21:07 -------
(In reply to comment #3)
> I have no installed cygwin, could you check if this patch fixes the failure?
>
>
> Index: gcc/testsuite/gcc.dg/vect/pr31041.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/vect/pr31041.c (revision 131411)
> +++ gcc/testsuite/gcc.dg/vect/pr31041.c (working copy)
> @@ -4,16 +4,15 @@
> #include <stdarg.h>
> #include "tree-vect.h"
>
> -typedef int int32_t;
> struct UNewTrie
> {
> - int32_t index[(0x110000 >> 1)];
> + int index[(0x110000 >> 1)];
> };
> typedef struct UNewTrie UNewTrie;
> utrie_open_3_4 ()
> {
> UNewTrie *trie;
> - int32_t i, j;
> + int i, j;
> {
> i = 0;
> do
>
Yes, it passes now, as I reported on bugzilla. Will you submit the patch?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31341
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/31341] testsuite pr31041.c fails conflicting with <stdint.h>
2007-03-25 1:43 [Bug c/31341] New: testsuite pr31041.c fails conflicting with <stdint.h> tprince at computer dot org
` (4 preceding siblings ...)
2008-02-28 21:08 ` tprince at computer dot org
@ 2008-03-05 8:09 ` victork at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: victork at gcc dot gnu dot org @ 2008-03-05 8:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from victork at gcc dot gnu dot org 2008-03-05 08:08 -------
Subject: Bug 31341
Author: victork
Date: Wed Mar 5 08:08:11 2008
New Revision: 132892
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132892
Log:
2008-03-05 Victor Kaplansky <victork@gcc.gnu.org>
PR 31341
* gcc.dg/vect/pr31041.c: Fix.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/vect/pr31041.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31341
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-03-05 8:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-25 1:43 [Bug c/31341] New: testsuite pr31041.c fails conflicting with <stdint.h> tprince at computer dot org
2007-04-28 0:44 ` [Bug testsuite/31341] " pinskia at gcc dot gnu dot org
2007-04-28 5:42 ` tprince at computer dot org
2008-02-28 9:48 ` victork at gcc dot gnu dot org
2008-02-28 17:05 ` tprince at computer dot org
2008-02-28 21:08 ` tprince at computer dot org
2008-03-05 8:09 ` victork at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).