[Bug c/30705] New: internal compiler error: in shorten_branches, at final.c:1058
david_henry_il at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Feb 5 12:41:00 GMT 2007
Intermediate File
-----------------
# 1 "b.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "b.c"
short fx;
void foo()
{
long diff;
int sample;
sample = 128;
diff = fx - (fx << 128);
}
Output
------
$ avr-gcc -v -fverbose-asm -S -save-temps b.c
Reading specs from /usr/lib/gcc/avr/3.4.3/specs
Configured with: ./configure --target=avr --enable-languages=c --disable-nls
--prefix=/usr
Thread model: single
gcc version 3.4.3
/usr/libexec/gcc/avr/3.4.3/cc1.exe -E -quiet -v b.c -fverbose-asm -o b.i
ignoring nonexistent directory
"/usr/lib/gcc/avr/3.4.3/../../../../avr/sys-include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/avr/3.4.3/include
/usr/lib/gcc/avr/3.4.3/../../../../avr/include
End of search list.
/usr/libexec/gcc/avr/3.4.3/cc1.exe -fpreprocessed b.i -quiet -dumpbase b.c
-auxbase b -version -fverbose-asm -o b.s
GNU C version 3.4.3 (avr)
compiled by GNU C version 3.3.3 (cygwin special).
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129982
b.c: In function `foo':
b.c:7: warning: left shift count >= width of type
b.c:8: error: negative insn length
(insn 14 26 15 (set (reg:HI 18 r18 [42])
(ashift:HI (reg:HI 18 r18 [42])
(const_int -128 [0xffffff80]))) 58 {ashlhi3} (nil)
(nil))
b.c:8: internal compiler error: in shorten_branches, at final.c:1058
Please submit a full bug report,
--
Summary: internal compiler error: in shorten_branches, at
final.c:1058
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: david_henry_il at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30705
More information about the Gcc-bugs
mailing list