AVR Toolchain Bugs


AVR GNU Binutils Bugs

Bug # Status Description Patch Notes
#1038 ASSIGNED resolution of weak symbol not left for the linker if value is already known No The status is ASSIGNED, but there is no assignee.
#2378 NEW Incorrect opcode in __do_clear_bss if bss has more than 15 bytes No  
#2626 NEW Problems with LPM on attiny26 No  

AVR GCC Bugs

Bug # Status Description Patch Notes
#704 NEW --help and --version No  
#1078 NEW Problems with attributes documentation No  
#3507 NEW appalling optimisation with sub/cmp on i386 No See comments #4, #5
#10768 NEW ICEs on compilation of ada support library for avr Yes Patch needs to be attached to bug report and submitted to GCC.
#11074 NEW libstdc++ fails to build due to gettext issue ? Check if valid for AVR.
#11180 NEW [avr-gcc] Optimization decrease performance of struct assignment. No missed optimization
#11259 NEW [avr] gcc Double 'andi' missed optimization No missed optimization
#12017 NEW ICE: in spill_failure, at reload1.c:1862 with builtin_apply/builtin_return No ICE building libobjc
#14118 SUSPENDED h8300-elf, avr-elf, m68k-elf ports cannot build libmudflap No  
#16563 NEW The compiler doesnt the necessary push/restore of r18/r19 No Needs checking if fixed on 4.1.1, 4.2 branch, and HEAD.
#17621 NEW Add option to have GCC not search $(prefix) Yes For Windows-hosted toolchains. Patch in bug report. Patch needs more testing before final submission to GCC.
#17993 UNCONFIRMED Error in dwarf2 debug output of bitfield members No  
#17994 UNCONFIRMED avr-gcc does not output a dwarf2 .debug_frame section No  
#18065 NEW usual arithmetic conversion not applying correctly No  
#18145 NEW Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty. No  
#18251 NEW unable to find a register to spill in class `POINTER_REGS' No ice-on-valid-code
#18553 FIXED Annoying warning with -ffunction-sections -g Yes Fixed in 4.1.2, 4.2 branch, and HEAD (future 4.3).
#18989 NEW A few potentially ominous, and several likely harmless warnings during 4.0 build No  
#19087 FIXED Overflowed address in dwarf debug line information Yes Fixed in 4.1.3, 4.2 branch, and HEAD (future 4.3).
#19154 NEW miss-optimization of (x & pow2C) avr conditionals returning bool equivalent values No  
#19636 UNCONFIRMED Can't compile ethernut OS (avr-gcc) No ice-on-valid-code. Needs reconfirming.
#19676 NEW Loop optimizer fails to reverse simple loop No missed optimization
#19684 NEW avr wrong size in asm comment (peephole) No  
#19815 UNCONFIRMED Documentation change - GCC Internals MODES_TIEABLE_P No documentation change
#19959 NEW [4.0/4.1/4.2 Regression] Can't compile gnattools for the cross targets No Ada
#20243 UNCONFIRMED static initialization .data redundantly copied to ram prior to use. No  
#20296 NEW Speeding up small interrupts on avr No missed optimization
#20355 UNCONFIRMED MEM_READONLY_P & MEM_VOLATILE_P properties are lost on BLKmode rtl operands. No  
#20822 NEW makeinfo cannot process gnat_ugn_unw.texi Yes Ada. Need to check if patch has been applied and if bug is fixed.
#20937 UNCONFIRMED BLK ptr's losing original ptr's static-constant readonly attribute. No  
#21018 UNCONFIRMED Initializing string literal data improperly marked frame-relative?, should be readonly static const. No  
#21078 UNCONFIRMED Testsuite reports excecution failure for gcc.c-torture/execute/20010122.c for some optimization levels No wrong-code
#21107 FIXED [4.0/4.1/4.2 regression] internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476 No Fixed in 4.1.0
#21203 UNCONFIRMED Segfault while compiling libgfortran/intrinsics/selected_int_kind.f90 No Probably not valid for AVR.
#21834 UNCONFIRMED Error when passing unsigned long long as function arguments No  
#21990 NEW Wrong code for 4.0 and head: Reload clobbers the frame pointer by using it as spill register without recognizing the clobbering Yes Patches in bug report. Bjoern indicates that the patches have bugs, and a corrected patch has been submitted to GCC. Needs to be checked if patch is already applied.
#23479 NEW Implement binary constants with a "0b" prefix Yes Patch in bug report. Does the patch in bug report patch against GCC HEAD?
#23726 NEW Missed optimizations for divmod No missed optimization
#24894 NEW ICE building newlib/libc/misc/init.c No RTEMS/newlib. ice-on-valid-code
#25035 FIXED [4.1/4.2 regression] libssp causes a failure with cross compilers with unified trees No Supposedly fixed in 4.1.2 and HEAD. Needs testing for the AVR target!
#25448 NEW [4.0/4.1/4.2 Regression] Unfounded warnings from the AVR backend Yes  
#25722 NEW Stackpointer is not restored correct at end of function No Needs testing for 4.x
#25742 NEW Internal compiler error in gen_rtx_SUBREG No ice-on-valid-code
#26118 UNCONFIRMED avr-gcc (GCC) 3.4.5 Bug: copying structure through pointer will destroy the pointer No Needs testing if fixed in later versions. Bad patch in source tree is identified.
#26504 FIXED [4.1/4.2 Regression] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2 Yes Fixed in 4.1.2 and HEAD.
#26882 UNCONFIRMED ICE when using template function with memory attributes No ice-on-valid-code. C++
#26883 NEW ICE when assigning memory attribute to class with simple constructor No ice-on-valid-code. C++
#27192 UNCONFIRMED call through function pointer goes to wrong address No wrong-code. Reported against 4.1.
#27386 UNCONFIRMED AVR: wrong code generated when passing three uint64_t arguments to function No wrong-code. Reported against >= 3.4.6.
#27593 UNCONFIRMED bad code generation No  
#27663 UNCONFIRMED missed-optimization transforming a byte array to unsigned long No missed-optimization
#28718 UNCONFIRMED Call to -lgcc added prior to user libraries No  
#28902 NEW Fix for "alignment of XXX is greater than maximum object alignment" on AVR Yes C++
#29141 UNCONFIRMED static constructors beyond 64k fail No C++
#29449 FIXED OBJECT_FORMAT_ELF not defined for the AVR target No Fixed in 4.1.2, 4.2 branch, and HEAD (future 4.3).
Depends on GCC bug #18553.
#29560 UNCONFIRMED Poor optimization for character shifts on Atmel AVR No missed-optimization
#29932 UNCONFIRMED avr-gcc wrongly optimizes bit sets/resets for IO register 0x20 No  
#30243 UNCONFIRMED avr-gcc 4.1.1: signbit() causes an internal compiler error No ICE
#30289 UNCONFIRMED avr-gcc: builtin memset(): wrong code No wrong code
#30417 UNCONFIRMED Section .data cannot be moved with -mmcu=atmega88 No  
#30483 UNCONFIRMED Internal compiler error with inline volatile assembly on AVR No ICE
#30501 UNCONFIRMED GNAT BUG BOX: 16-bit target & Standard.Integer No Ada
#30841 ASSIGNED [4.3 regression] Missed optimizations for sbi/cbi instructions No 4.3 Regression
#30908 NEW tree cost for types which are > WORD_SIZE No About inline
#30972 UNCONFIRMED Call to _access has invalid parameter when linked with msvcrt No Building the toolchain on Windows Vista

avr-libc Bugs

List here.

AVRDUDE Bugs

List here.

AVaRICE Bugs

List here.

AVR GDB Bugs

Bug # Status Description Patch Notes
#1948 OPEN remote_xfer_partial(): packet size probe fails when LENGTH and OFFSET are zero [target: avr] No  
#2124 OPEN gdb crashes when remote simulavrxx target branches to interrupt handler No  

Last updated: $Date: 2007/02/26 21:47:50 $