avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] avr-gcc making really bad inlining decisions.


From: Bill Westfield
Subject: Re: [avr-gcc-list] avr-gcc making really bad inlining decisions.
Date: Thu, 9 Apr 2015 15:56:48 -0700

Here is the pre-processed file, so y'all don't have to mess with
arduino "stuff."
The suspect compiler is 4.8.1.  Compile as:

BillW-MacOSX-2<10323>
/Users/billw/Library/Arduino15/packages/arduino/tools/avr-gcc/4.8.1-arduino2/bin/avr-g++
-c -Os -w -fno-exceptions -fno-threadsafe-statics -MMD
-mmcu=atmega328p oiOSoul-prepro.cpp

BillW-MacOSX-2<10324> avr-size oiOSoul-prepro.o
   text    data     bss     dec     hex filename
  44502      30      95   44627    ae53 oiOSoul-prepro.o

BillW-MacOSX-2<10325>
/Users/billw/Library/Arduino15/packages/arduino/tools/avr-gcc/4.8.1-arduino2/bin/avr-g++
-c -Os -w -fno-exceptions  -fno-threadsafe-statics -MMD
-mmcu=atmega328p oiOSoul-prepro.cpp -fno-inline-small-functions

BillW-MacOSX-2<10326> avr-size oiOSoul-prepro.o
   text    data     bss     dec     hex filename
  12668      30      95   12793    31f9 oiOSoul-prepro.o

Attachment: oiOSoul-prepro.cpp
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]