public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
       [not found] <bug-24107-230@http.gcc.gnu.org/bugzilla/>
@ 2005-10-16 19:01 ` jsm28 at gcc dot gnu dot org
  2005-10-24  2:51 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-10-16 19:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jsm28 at gcc dot gnu dot org  2005-10-16 19:01 -------
This failure has appeared on 4.0 branch, for hppa2.0w-hp-hpux11.11 and
hppa64-hp-hpux11.11, on 20051014.

This bug can be fixed as a testsuite problem without fixing bug 448: the test
doesn't intrinsically need the whole of <stdint.h>, just one type which can be
approximated if available from the standard type limits.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
       [not found] <bug-24107-230@http.gcc.gnu.org/bugzilla/>
  2005-10-16 19:01 ` [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h jsm28 at gcc dot gnu dot org
@ 2005-10-24  2:51 ` pinskia at gcc dot gnu dot org
  2005-10-24 12:55 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-24  2:51 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pbrook at gcc dot gnu dot
                   |dot org                     |org
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |10/msg01418.html
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2005-10-24 02:51:39
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
       [not found] <bug-24107-230@http.gcc.gnu.org/bugzilla/>
  2005-10-16 19:01 ` [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h jsm28 at gcc dot gnu dot org
  2005-10-24  2:51 ` pinskia at gcc dot gnu dot org
@ 2005-10-24 12:55 ` cvs-commit at gcc dot gnu dot org
  2005-10-24 13:02 ` pbrook at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-24 12:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-24 12:55 -------
Subject: Bug 24107

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     pbrook@gcc.gnu.org      2005-10-24 12:55:37

Modified files:
        gcc/testsuite  : ChangeLog 
        gcc/testsuite/gcc.dg: 20050922-1.c 

Log message:
        2005-10-24  Paul Brook  <paul@codesourcery.com>

        PR 24107
        * gcc.dg/20050922-1.c: Provide definition of uint32_t without using
        stdint.h.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6240&r2=1.6241
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20050922-1.c.diff?cvsroot=gcc&r1=1.2&r2=1.3


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
       [not found] <bug-24107-230@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-24 12:55 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-24 13:02 ` pbrook at gcc dot gnu dot org
  2005-10-24 13:51 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2005-10-24 13:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pbrook at gcc dot gnu dot org  2005-10-24 13:02 -------
Fixed


-- 

pbrook at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
       [not found] <bug-24107-230@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-10-24 13:02 ` pbrook at gcc dot gnu dot org
@ 2005-10-24 13:51 ` pinskia at gcc dot gnu dot org
  2006-08-15 18:43 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-24 13:51 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
       [not found] <bug-24107-230@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-10-24 13:51 ` pinskia at gcc dot gnu dot org
@ 2006-08-15 18:43 ` pinskia at gcc dot gnu dot org
  2007-01-09 23:59 ` danglin at gcc dot gnu dot org
  2007-01-14 17:25 ` danglin at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-15 18:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-08-15 18:43 -------
*** Bug 25831 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
       [not found] <bug-24107-230@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2006-08-15 18:43 ` pinskia at gcc dot gnu dot org
@ 2007-01-09 23:59 ` danglin at gcc dot gnu dot org
  2007-01-14 17:25 ` danglin at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-01-09 23:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from danglin at gcc dot gnu dot org  2007-01-09 23:59 -------
I still see this with 4.0.4.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
       [not found] <bug-24107-230@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2007-01-09 23:59 ` danglin at gcc dot gnu dot org
@ 2007-01-14 17:25 ` danglin at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-01-14 17:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from danglin at gcc dot gnu dot org  2007-01-14 17:25 -------
Subject: Bug 24107

Author: danglin
Date: Sun Jan 14 17:25:05 2007
New Revision: 120776

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120776
Log:
        PR testsuite/24107
        Backport from mainline
        2005-10-24  Paul Brook  <paul@codesourcery.com>
        * gcc.dg/20050922-1.c: Provide definition of uint32_t without using
        stdint.h.


Modified:
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/20050922-1.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
  2005-09-28 18:52 [Bug testsuite/24107] New: " jsm28 at gcc dot gnu dot org
  2005-09-28 19:13 ` [Bug testsuite/24107] " pinskia at gcc dot gnu dot org
  2005-09-28 21:23 ` pinskia at gcc dot gnu dot org
@ 2005-09-28 21:29 ` joseph at codesourcery dot com
  2 siblings, 0 replies; 11+ messages in thread
From: joseph at codesourcery dot com @ 2005-09-28 21:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From joseph at codesourcery dot com  2005-09-28 21:29 -------
Subject: Re:  gcc.dg/20050922-1.c relies in stdint.h

On Wed, 28 Sep 2005, pinskia at gcc dot gnu dot org wrote:

> I could swore there were other testcases which included stdint.h but there is not.
> Anyways, your definition of int32_t is wrong for some targets.

It's not meant to be correct everywhere, simply to be more widely 
functional than the present testcase.  You could of course check 
__INT_MAX__, __LONG_MAX__, __SHRT_MAX and __SCHAR_MAX__ and conditionally 
run a trivial program if none of those is correct - what you can't do is 
mark the test UNSUPPORTED based on preprocessor conditionals if a 32-bit 
type is unavailable.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
  2005-09-28 18:52 [Bug testsuite/24107] New: " jsm28 at gcc dot gnu dot org
  2005-09-28 19:13 ` [Bug testsuite/24107] " pinskia at gcc dot gnu dot org
@ 2005-09-28 21:23 ` pinskia at gcc dot gnu dot org
  2005-09-28 21:29 ` joseph at codesourcery dot com
  2 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-28 21:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-28 21:23 -------
I could swore there were other testcases which included stdint.h but there is not.
Anyways, your definition of int32_t is wrong for some targets.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
  2005-09-28 18:52 [Bug testsuite/24107] New: " jsm28 at gcc dot gnu dot org
@ 2005-09-28 19:13 ` pinskia at gcc dot gnu dot org
  2005-09-28 21:23 ` pinskia at gcc dot gnu dot org
  2005-09-28 21:29 ` joseph at codesourcery dot com
  2 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-28 19:13 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |448


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-01-14 17:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24107-230@http.gcc.gnu.org/bugzilla/>
2005-10-16 19:01 ` [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h jsm28 at gcc dot gnu dot org
2005-10-24  2:51 ` pinskia at gcc dot gnu dot org
2005-10-24 12:55 ` cvs-commit at gcc dot gnu dot org
2005-10-24 13:02 ` pbrook at gcc dot gnu dot org
2005-10-24 13:51 ` pinskia at gcc dot gnu dot org
2006-08-15 18:43 ` pinskia at gcc dot gnu dot org
2007-01-09 23:59 ` danglin at gcc dot gnu dot org
2007-01-14 17:25 ` danglin at gcc dot gnu dot org
2005-09-28 18:52 [Bug testsuite/24107] New: " jsm28 at gcc dot gnu dot org
2005-09-28 19:13 ` [Bug testsuite/24107] " pinskia at gcc dot gnu dot org
2005-09-28 21:23 ` pinskia at gcc dot gnu dot org
2005-09-28 21:29 ` joseph at codesourcery dot com

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).