This is the mail archive of the 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
>Release:        GNU C++ version 3.4 20030204 (experimental) (i686-pc-linux-gnu)

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:> 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:
End of search list.


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