[Bug c/33123] New: internal compiler error: in decode_addr_const ( arm-linux-gcc 3.4.6)
I am trying to cross-compile a filter driver for a printer, by adding it to CUPS/filter directory( file name rastertostar) for arm-linux-gcc ( version 3.4.6). This filter driver is compiling and working fine for i386 machine.But when i am compiling it for arm-linux-gcc it gives an internal compiler error as follows:- "rastertostar.c:350:internal compiler error: in decode_addr_const, at varasm.c:2017" Here is the function and line no where error is coming :- 349: inline void outputCommand(struct command output) 350 { 351int i = 0; 351 354for (; i < output.length; i++) 355{ 356putchar(output.command[i]); 357} 358 } Please let me know what is the problem or more information is required. Thanks, hkumar -- Summary: internal compiler error: in decode_addr_const ( arm- linux-gcc 3.4.6) Product: gcc Version: 3.3.6 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hemant dot jaiswal at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33123
[Bug c/33123] internal compiler error: in decode_addr_const ( arm-linux-gcc 3.4.6)
--- Comment #1 from hemant dot jaiswal at gmail dot com 2007-08-20 20:30 --- arm-linux-gcc is Configured with: ../gcc-3.4.6/configure --prefix=/usr/local/swdevel/tools/arm -- target=arm-linux-gnu --with-local-prefix=/usr/local/swdevel/tools/arm/arm-linux- gnu/usr --with-gxx-include-dir=/usr/local/swdevel/tools/arm/arm-linux-gnu/includ e/c++ --with-included-gettext --with-cpu=arm9tdmi --with-float=soft --enable-cxx -flags=-mcpu=arm9tdmi --enable-languages=c,c++ --enable-shared --enable-threads= posix --enable-cross --enable-long-long --enable-target-optspace --disable-multi lib --disable-__cxa_atexit --disable-nls Thread model: posix gcc version 3.4.6 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33123
[Bug target/33123] internal compiler error: in decode_addr_const ( arm-linux-gcc 3.4.6)
--- Comment #3 from hemant dot jaiswal at gmail dot com 2007-08-21 16:24 --- Created an attachment (id=14089) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14089&action=view) pre-processed source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33123