c++/400: internal compiler error in move_for_stack_reg

tanis@gaspode.franken.de tanis@gaspode.franken.de
Tue Jul 11 11:06:00 GMT 2000


>Number:         400
>Category:       c++
>Synopsis:       internal compiler error in move_for_stack_reg
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 11 11:06:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     German Tischler
>Release:        GNU C++ version 2.96 20000710 (experimental) (i386-unknown-freebsd5.0) compiled
>Organization:
>Environment:
FreeBSD 5.0-CURRENT i386    
>Description:
See synopsis. .ii is not available, because g++ didn´t
give me one.
>How-To-Repeat:
Source:

void f() { double r; __asm__ __volatile__ ("" : "=t" (r) : : "st"); }           

CommandLine:

/usr/local/gcc/bin/c++ -v --safe-temps -c dumb2.cpp -o dumb2.o

Output:

Reading specs from /usr/local/gcc/lib/gcc-lib/i386-unknown-freebsd5.0/2.96/specsgcc version 2.96 20000710 (experimental)
 /usr/local/gcc/lib/gcc-lib/i386-unknown-freebsd5.0/2.96/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__cplusplus -Dunix -D__ELF__ -D__FreeBSD__ -D__unix__ -D__ELF__ -D__FreeBSD__ -D__unix -Asystem(unix) -Asystem(bsd) -Asystem(FreeBSD) -D__EXCEPTIONS -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_i386__ dumb2.cpp /var/tmp/ccJ18014.ii
GNU CPP version 2.96 20000710 (experimental) (cpplib)
 (i386 FreeBSD/ELF)
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/gcc/include/g++-3
 /usr/local/gcc/lib/gcc-lib/i386-unknown-freebsd5.0/2.96/include
 /usr/local/gcc/i386-unknown-freebsd5.0/include
 /usr/include
End of search list.
 /usr/local/gcc/lib/gcc-lib/i386-unknown-freebsd5.0/2.96/cc1plus /var/tmp/ccJ18014.ii -quiet -dumpbase dumb2.cc -version -fsafe-temps -o /var/tmp/ccL18014.s
cc1plus: Unrecognized option `-fsafe-temps'
GNU C++ version 2.96 20000710 (experimental) (i386-unknown-freebsd5.0) compiled
by GNU C version 2.96 20000710 (experimental).
dumb2.cpp: In function `void f ()':
dumb2.cpp:1: Internal compiler error in `move_for_stack_reg', at
reg-stack.c:1063
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.           

Comment:
This error apparently was introduced after 2.95.2,
because that version still can handle this case
correctly.
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted:
 by GNU C version 2.96 20000710 (experimental).


More information about the Gcc-prs mailing list