public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/35005]  New: New testcase execute/20071211-1.c assumes 32 bit integers
@ 2008-01-29  0:18 pmarques at grupopie dot com
  2008-01-30  1:57 ` [Bug testsuite/35005] " pmarques at grupopie dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pmarques at grupopie dot com @ 2008-01-29  0:18 UTC (permalink / raw)
  To: gcc-bugs

The new testcase execute/20071211-1.c assumes 32 bit integers and fails on
machines with 16 bit integers.


-- 
           Summary: New testcase execute/20071211-1.c assumes 32 bit
                    integers
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pmarques at grupopie dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: avr-*-*


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


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

* [Bug testsuite/35005] New testcase execute/20071211-1.c assumes 32 bit integers
  2008-01-29  0:18 [Bug testsuite/35005] New: New testcase execute/20071211-1.c assumes 32 bit integers pmarques at grupopie dot com
@ 2008-01-30  1:57 ` pmarques at grupopie dot com
  2008-04-08 22:19 ` hutchinsonandy at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pmarques at grupopie dot com @ 2008-01-30  1:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pmarques at grupopie dot com  2008-01-30 01:07 -------
Created an attachment (id=15055)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15055&action=view)
proposed patch

This proposed patch fixes the problem by using the preprocessor to select the
correct type based on the size of the integer type for the target.


-- 


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


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

* [Bug testsuite/35005] New testcase execute/20071211-1.c assumes 32 bit integers
  2008-01-29  0:18 [Bug testsuite/35005] New: New testcase execute/20071211-1.c assumes 32 bit integers pmarques at grupopie dot com
  2008-01-30  1:57 ` [Bug testsuite/35005] " pmarques at grupopie dot com
@ 2008-04-08 22:19 ` hutchinsonandy at gcc dot gnu dot org
  2008-04-12 15:32 ` hutchinsonandy at gcc dot gnu dot org
  2008-05-26 20:04 ` eric dot weddington at atmel dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2008-04-08 22:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hutchinsonandy at gcc dot gnu dot org  2008-04-08 22:18 -------
Subject: Bug 35005

Author: hutchinsonandy
Date: Tue Apr  8 22:17:52 2008
New Revision: 134114

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134114
Log:
        PR target/35005
        * execute/20071221-1.c: Adapt test for 16 bit int targets.
        * execute/pr35163.c: Ditto.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.c-torture/execute/20071211-1.c
    trunk/gcc/testsuite/gcc.c-torture/execute/pr35163.c


-- 


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


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

* [Bug testsuite/35005] New testcase execute/20071211-1.c assumes 32 bit integers
  2008-01-29  0:18 [Bug testsuite/35005] New: New testcase execute/20071211-1.c assumes 32 bit integers pmarques at grupopie dot com
  2008-01-30  1:57 ` [Bug testsuite/35005] " pmarques at grupopie dot com
  2008-04-08 22:19 ` hutchinsonandy at gcc dot gnu dot org
@ 2008-04-12 15:32 ` hutchinsonandy at gcc dot gnu dot org
  2008-05-26 20:04 ` eric dot weddington at atmel dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2008-04-12 15:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hutchinsonandy at gcc dot gnu dot org  2008-04-12 15:32 -------
Fixed 4.4


-- 

hutchinsonandy at gcc dot gnu dot org changed:

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


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


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

* [Bug testsuite/35005] New testcase execute/20071211-1.c assumes 32 bit integers
  2008-01-29  0:18 [Bug testsuite/35005] New: New testcase execute/20071211-1.c assumes 32 bit integers pmarques at grupopie dot com
                   ` (2 preceding siblings ...)
  2008-04-12 15:32 ` hutchinsonandy at gcc dot gnu dot org
@ 2008-05-26 20:04 ` eric dot weddington at atmel dot com
  3 siblings, 0 replies; 5+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-05-26 20:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


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


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

end of thread, other threads:[~2008-05-26 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-29  0:18 [Bug testsuite/35005] New: New testcase execute/20071211-1.c assumes 32 bit integers pmarques at grupopie dot com
2008-01-30  1:57 ` [Bug testsuite/35005] " pmarques at grupopie dot com
2008-04-08 22:19 ` hutchinsonandy at gcc dot gnu dot org
2008-04-12 15:32 ` hutchinsonandy at gcc dot gnu dot org
2008-05-26 20:04 ` eric dot weddington at atmel 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).