This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/9572: ICE on cast from mmx-variable to long long


>Number:         9572
>Category:       c
>Synopsis:       ICE on cast from mmx-variable to long long
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 04 15:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     stefaandr@hotmail.com
>Release:        GNU C++ version 3.4 20030204 (experimental) (i686-pc-linux-gnu)
>Organization:
>Environment:

>Description:
compile the code below without optimisation, the result is:

$ gcc -o test5 test5.cpp -msse
test5.cpp: In function `int main()':
test5.cpp:4: internal compiler error: in output_constant_pool, at varasm.c:3451
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


I hope it's legal code this time (see 9569), I assumed it was because 3.2.1 compiled it.

---
int main() {
  int __attribute__ ((mode(V8QI))) x;
  (long long int) x = 0;
};

------

Reading specs from /esat/quendi/stefaan/install/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with: ../../src/gcc/configure --enable-languages=c,c++ --prefix=/esat/quendi/stefaan/install
Thread model: posix
gcc version 3.4 20030204 (experimental)
 /esat/quendi/stefaan/install/lib/gcc-lib/i686-pc-linux-gnu/3.4/cc1plus -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=4 -D__GNUC_PATCHLEVEL__=0 -D_GNU_SOURCE test5.cpp -D__GNUG__=3 -quiet -dumpbase test5.cpp -msse -auxbase test5 -version -o /tmp/ccB8HGqM.s
GNU C++ version 3.4 20030204 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.2.1.
ignoring nonexistent directory "/esat/quendi/stefaan/install/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /esat/quendi/stefaan/install/include/c++/3.4
 /esat/quendi/stefaan/install/include/c++/3.4/i686-pc-linux-gnu
 /esat/quendi/stefaan/install/include/c++/3.4/backward
 /usr/local/include
 /esat/quendi/stefaan/install/include
 /esat/quendi/stefaan/install/lib/gcc-lib/i686-pc-linux-gnu/3.4/include
 /usr/include
End of search list.
>How-To-Repeat:
compilation
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]