hi there, I'd like to report a bug with the 'gcc' and its optimizer: the attached file 'compilerbug.txt' contains the compiler version, the command line and the compiler output.
find also attached the source '2m_tpl.c' and the preprocessed file '2m_tpl.i' Without the optimizer, the file compiles ok. We have another file in the project that triggers the same intenal error, while all the (hundred) others are ok. What these two files have in common is the rather large number of local variables. If there's no immediate fix for the compiler, probably you could tell me a workaround by turning on or off particular compiler option(s) ? kind regards Gerhard "DonGerry" Jacobs Marconi ONDATA Backnang Tel. 07191/13- 3083 [EMAIL PROTECTED] Fax 07191/13-63083 >>> One man's error is another man's data <<<
# COMPILER VERSION Reading specs from /home_bk6914/shw2bk/usr/local/bin/../lib/gcc-lib/m68k-elf/3.3.3/specs Configured with: /usr/local/src/uclinux-tools/gcc-3.3-20031222/configure --enable-languages=c,c++ --target=m68k-elf --enable-multilib --enable-target-optspace --with-gnu-ld --disable-nls --disable-__cxa_atexit --disable-c99 --disable-clocale --disable-c-mbchar --disable-long-long --enable-cxx-flags="-D_ISOC99_SOURCE -D_BSD_SOURCE" Thread model: single gcc version 3.3.3 20031222 (prerelease) # COMPILER INVOCATION /home/shw2bk/usr/local/bin/m68k-elf-gcc -save-temps -c -g -Wall -O2 -m5407 -fno-strict-aliasing -o 2m_tpl.o 2m_tpl.c # COMPILER OUTPUT 2m_tpl.c: In function `TB2M_Calculate_J1_CRC': 2m_tpl.c:84: error: insn does not satisfy its constraints: (insn 255 202 130 5 (nil) (set (reg:QI 9 %a1) (mem:QI (plus:SI (reg/f:SI 14 %a6) (const_int -7 [0xfffffff9])) [0 J1_CRC_Byte S1 A8])) 37 {*m68k.md:1060} (nil) (nil)) 2m_tpl.c:84: internal compiler error: in reload_cse_simplify_operands, at reload1.c:8353 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
2m_tpl.c
Description: Binary data
2m_tpl.i
Description: Binary data