Is it possible to make gcc detect whether printf prints floating point numbers?

2012-06-08 Thread Bin.Cheng
Hi all, In micro-controller applications, code size is critical and the size problem is worse if library is linked. For example, most c programs call printf to format output data, that means floating point code get linked even the program only want to output non-floating point numbers. Currently, w

HARD_REGNO_CALL_PART_CLOBBERED question (PR53595)

2012-06-08 Thread Georg-Johann Lay
I observed that HARD_REGNO_CALL_PART_CLOBBERED gets called with hard registers that HARD_REGNO_MODE_OK would reject. Is it save to set HARD_REGNO_CALL_PART_CLOBBERED to FALSE for hard registers for which HARD_REGNO_MODE_OK is FALSE? Background is PR53593 where I see a code size increase of +10%

How to walk a const_tree?

2012-06-08 Thread Georg-Johann Lay
When calling walk_tree in a hook that gets a node passed as const_tree, the const qualifier must be kicked off somehow in order to get get of build warning. Currently I have the following hook implementation for TARGET_ASM_DECLARE_CONSTANT_NAME: static void avr_asm_declare_constant_name (FILE *f

unique lines in test summaries

2012-06-08 Thread Janis Johnson
I'd like to eliminate duplicate messages in test summary files. Some of these are from tests that check for multiple error or warning messages on the same line of source code, some are from misused torture options, and some are from scans that don't report torture options. All of the ones I've fo

Re: unique lines in test summaries

2012-06-08 Thread Diego Novillo
On 12-06-08 13:40 , Janis Johnson wrote: I think the long-term benefits of unique lines in test summaries far outweighs the short-term pain Absolutely. Thanks for doing this. Diego.

gcc-4.6-20120608 is now available

2012-06-08 Thread gccadmin
Snapshot gcc-4.6-20120608 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20120608/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches