public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/18172] New: execution failure in vect-[20,22].c on ppc-linux
@ 2004-10-27 10:37 dorit at il dot ibm dot com
  2004-10-27 11:42 ` [Bug other/18172] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dorit at il dot ibm dot com @ 2004-10-27 10:37 UTC (permalink / raw)
  To: gcc-bugs

Getting the following testsuite failures on ppc-linux:
FAIL: gcc.dg/vect/vect-20.c execution test
FAIL: gcc.dg/vect/vect-20.c scan-tree-dump-times vectorized 3 loops 1
FAIL: gcc.dg/vect/vect-22.c execution test

These testcases actually fail even with vectorization disabled - it aborts when 
checking that the results for the code that operates on the char arrays are  
correct (arrays ca, cb). Changing these arrays to "signed char" fixes the 
problem. i.e:

35,46c35,46
<   char ca[N];
<   char cb[N] =
---
>   signed char ca[N];
>   signed char cb[N] =

will submit a patch along these lines shortly.

-- 
           Summary: execution failure in vect-[20,22].c on ppc-linux
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: regression
        AssignedTo: dorit at il dot ibm dot com
        ReportedBy: dorit at il dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-suse-linux
  GCC host triplet: powerpc-suse-linux
GCC target triplet: powerpc-suse-linux


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


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

* [Bug other/18172] execution failure in vect-[20,22].c on ppc-linux
  2004-10-27 10:37 [Bug regression/18172] New: execution failure in vect-[20,22].c on ppc-linux dorit at il dot ibm dot com
@ 2004-10-27 11:42 ` pinskia at gcc dot gnu dot org
  2004-10-28 19:00 ` cvs-commit at gcc dot gnu dot org
  2004-10-28 19:10 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-27 11:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-27 11:42 -------
Confirmed, on most PowerPC targets (except for darwin), char is unsigned by default which causes the 
problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
          Component|regression                  |other
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-27 11:42:49
               date|                            |


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


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

* [Bug other/18172] execution failure in vect-[20,22].c on ppc-linux
  2004-10-27 10:37 [Bug regression/18172] New: execution failure in vect-[20,22].c on ppc-linux dorit at il dot ibm dot com
  2004-10-27 11:42 ` [Bug other/18172] " pinskia at gcc dot gnu dot org
@ 2004-10-28 19:00 ` cvs-commit at gcc dot gnu dot org
  2004-10-28 19:10 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-28 19:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-28 19:00 -------
Subject: Bug 18172

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dorit@gcc.gnu.org	2004-10-28 19:00:40

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.dg/vect: vect-20.c vect-22.c 

Log message:
	PR other/18172
	* gcc.dg/vect/vect-20.c: Use 'signed char' instaed of 'char'. Remove
	unused variables.
	* gcc.dg/vect/vect-22.c: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4511&r2=1.4512
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/vect-20.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/vect-22.c.diff?cvsroot=gcc&r1=1.1&r2=1.2



-- 


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


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

* [Bug other/18172] execution failure in vect-[20,22].c on ppc-linux
  2004-10-27 10:37 [Bug regression/18172] New: execution failure in vect-[20,22].c on ppc-linux dorit at il dot ibm dot com
  2004-10-27 11:42 ` [Bug other/18172] " pinskia at gcc dot gnu dot org
  2004-10-28 19:00 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-28 19:10 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-28 19:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-28 19:10 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-10-28 19:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-27 10:37 [Bug regression/18172] New: execution failure in vect-[20,22].c on ppc-linux dorit at il dot ibm dot com
2004-10-27 11:42 ` [Bug other/18172] " pinskia at gcc dot gnu dot org
2004-10-28 19:00 ` cvs-commit at gcc dot gnu dot org
2004-10-28 19:10 ` pinskia 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).