Post Created date
avr-gcc optimization of xor incorrectly eliminates volatile access!
And it got approved with a minor change too, yay! (https://gcc.gnu.org/ml/gcc-patch...)
Sunday, 16 December 2018 - 13:32
avr-gcc optimization of xor incorrectly eliminates volatile access!
The combine pass tries to merge multiple insns by substituting operands with the RTL pattern that set them. If you pass -fdump-rtl-all-raw-details and inspect .combine, you'll...
Tuesday, 11 December 2018 - 15:51
Faster code
aster94 wrote:byte changed; for (int i = 0; i<=5; i++){ if (changed & 1){ // } changed >>=1; }   You can do these kinds of experiments with avr-gcc explorer....
Thursday, 17 November 2016 - 08:57
AVR-GCC compiler does not consider a defined macro
clawson wrote:OK so are you saying that if I use -gdwarf-4 when building and tell AS7 to switch to avr-gdb for debugging that I might get a "better" debugging experience?  ...
Friday, 4 November 2016 - 14:44
AVR-GCC compiler does not consider a defined macro
clawson wrote:Then why isn't the debugger upgraded to handle DWARF4 if it would give a "better" experience   Guess the idea is to let gdb (avr-gdb in this case) handle DWARF...
Friday, 4 November 2016 - 13:07
AVR-GCC compiler does not consider a defined macro
clawson wrote:Sadly the avr-gcc does not seem to have whatever is necessary to create DWARF4   Not really. Just that the default DWARF version for the Atmel toolchain is...
Friday, 4 November 2016 - 12:15
avr-gcc 4.8.1 (Debian 8.6 standard version) gives link errors on AT90USB162
clawson wrote: The ALIGN(2)'s in there ensures that everything after a possibly odd length .progmem section is back to word alignment.   I remember submitting a patch to add...
Friday, 4 November 2016 - 12:09
Combining app and boot with AS7
I should mention that objcopy has an --update-section option to insert contents from an arbitrary file into an ELF. See http://senthilthecoder.com/post/...
Tuesday, 1 November 2016 - 05:01
avr-gcc explorer
Just realized it can handle #including URLs, like this
Monday, 24 October 2016 - 11:01
avr-gcc explorer
clawson wrote: I love the way you can use -Ox and instantly see the effect on any particular optimisation level but something weird I never knew. If you just type -O without any...
Monday, 24 October 2016 - 09:27
avr-gcc explorer
Added gcc version numbers to the Atmel toolchains, and am now building and plugging in gcc-5-branch and gcc-6-branch daily too.
Monday, 24 October 2016 - 05:13
avr-gcc explorer
clawson wrote: BTW am I the only one to who the numbers 3.2.3, 3.4.5 and 3.5.4 mean absolutely nothing? I tend to think of GCC version in terms of the version number of the gcc...
Friday, 21 October 2016 - 12:07

Pages