First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 8600
Product:  
Component:  
Status: RESOLVED
Resolution: DUPLICATE of bug 10984
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: 166940@bugs.debian.org
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 8600 depends on: Show dependency tree
Show dependency graph
Bug 8600 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: 2003-05-10 00:00 Opened: 2002-11-16 01:36
[ Reported to the Debian BTS as report #166940.
  Please CC 166940@bugs.debian.org on replies.
  Log of report can be found at http://bugs.debian.org/166940 ]

Trying to compile the following code:

// mmxtest.c
typedef int v4hi __attribute__ ((mode(V4HI)));
int main(int argc,char *argv[])
{
  v4hi a;
  v4hi result =  __builtin_ia32_psraw(a,1);
}

with: gcc-3.2 -mmmx -c mmxtest.c
and got the following error:
mmxtest.c: In function `main':
mmxtest.c:6: Internal compiler error in ix86_expand_binop_builtin, at
config/i386/i386.c:11503
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

I am getting the same error with psllw and psrlw, I have not tested
others.

							Petr

Release:
3.2.1 (Debian) (Debian unstable)

Environment:
System: Debian GNU/Linux (unstable)
Architecture: i686
host: i386-linux
Configured with: /home/packages/gcc/3.2/gcc-3.2-3.2.1ds5/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux

------- Comment #1 From Volker Reichelt 2002-12-06 01:55 -------
State-Changed-From-To: open->analyzed
State-Changed-Why: Confirmed.
    The bug is also present on mainline.

------- Comment #2 From Dara Hazeghi 2003-05-09 21:43 -------
From: Dara Hazeghi <dhazeghi@yahoo.com>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: target/8600: [i686] internal error using builtin shift MMX functions
Date: Fri, 9 May 2003 21:43:04 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gcc&pr=8600
 
 Hello,
 
 I can confirm that this bug still exists with gcc 3.2, 3.3 branch and  
 mainline. It seems related to PR 7204 (similar error on similar  
 __builtin statement).
 
 Dara

------- Comment #3 From Andrew Pinski 2003-06-02 05:24 -------
Duplicate of bug 10984 but is different testcase but still the same problem.

*** This bug has been marked as a duplicate of 10984 ***

First Last Prev Next    No search results available      Search page      Enter new bug