Re: un-optimal code because of forwprop after gcc-5?

2017-01-08 Thread Pitchumani Sivanupandi
On Friday 06 January 2017 09:42 PM, Jeff Law wrote: On 01/06/2017 03:09 AM, Pitchumani Sivanupandi wrote: Found a code size regression for AVR target in gcc-5 and higher. Looks like it is applicable to x86_64 also. Please file a bug. http://gcc.gnu.org/bugzilla Filed. https://gcc.gnu.org

un-optimal code because of forwprop after gcc-5?

2017-01-06 Thread Pitchumani Sivanupandi
Found a code size regression for AVR target in gcc-5 and higher. Looks like it is applicable to x86_64 also. Test case ( options: -Os) - typedef unsigned int uint8_t __attribute__((__mode__(__QI__))); typedef unsigned int uint32_t __attribute__ ((__mode__ (__SI__))); typedef struct rpl_i

Re: avr-gcc: incorrect first operand of a subreg? (PR71103)

2016-06-13 Thread Pitchumani Sivanupandi
Ping! On Tue, 2016-05-31 at 19:47 +, Pitchumani Sivanupandi wrote: > Hi, > > avr-gcc was crashing for below test case. > command line: avr-gcc -mmcu=atmega328p -O1 test.c > > struct ResponseStruct{ >   unsigned char responseLength; >   char *response; > };

avr-gcc: incorrect first operand of a subreg? (PR71103)

2016-05-31 Thread Pitchumani Sivanupandi
Hi, avr-gcc was crashing for below test case. command line: avr-gcc -mmcu=atmega328p -O1 test.c struct ResponseStruct{   unsigned char responseLength;   char *response; }; static char response[5]; struct ResponseStruct something(){   struct ResponseStruct returnValue;   returnValue.responseLengt