CFI directives and dynamic stack alignment

2015-08-03 Thread Steve Ellcey
I don't know if there are any CFI experts out there but I am working on dynamic stack alignment for MIPS. I think I have it working in the 'normal' case but when I try to do stack unwinding through a routine with an aligned stack, then I have problems. I was wondering if someone can help me unde

Re: Controlling instruction alternative selection

2015-08-03 Thread Jim Wilson
On 07/30/2015 09:54 PM, Paul Shortis wrote: > Resulting in ... > error: unable to find a register to spill in class ‘GP_REGS’ > > enabling lra and inspecting the rtl dump indicates that both > alternatives (R and r) seem to be equally appealing to the allocater so > it chooses 'R' and fails. The

emutls.c: warnings on master

2015-08-03 Thread Joel Sherrill
Hi I saw these warnings in the build of some RTEMS targets on the gcc head. /home/joel/test-gcc/gcc/libgcc/emutls.c:159:7: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] /home/joel/test-gcc/gcc/libgcc/emutls.c:159:13: warning: incompatible implicit declara

ctype_members.cc Comparison Always True

2015-08-03 Thread Joel Sherrill
Hi Just noticed this building the head for arm-rtems4.11. Should the first comparison be eliminated and, maybe, a comment added? ctype_members.cc:216:14: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] if (__wc >= 0 && __wc < 128 && _M_narrow_ok)

Re: vectorization cost macro TARGET_VECTORIZE_ADD_STMT_COST

2015-08-03 Thread Richard Biener
On Sun, Aug 2, 2015 at 4:13 PM, Ajit Kumar Agarwal wrote: > All: > > The definition of the following macro that determine the statement cost that > adds to vectorization cost. > > #define TARGET_VECTORIZE_ADD_STMT_COST. > > In the implementation of the above macro the following is done for many