Re: [PATCH] Refactor the code to remove IS_UNKNOWN_LOCATION

2012-09-26 Thread Richard Guenther
On Wed, Sep 26, 2012 at 6:29 AM, Dehao Chen wrote: > IS_UNKNOWN_LOCATION is very misleading. This patch removes this macro > from input.h. For sites when checking LOCUS is intended, we explicit > use LOCATION_LOCUS and compare it to UNKNOWN_LOCATION. > > Bootstrapped and passed all gcc regression

[PATCH] Refactor the code to remove IS_UNKNOWN_LOCATION

2012-09-25 Thread Dehao Chen
IS_UNKNOWN_LOCATION is very misleading. This patch removes this macro from input.h. For sites when checking LOCUS is intended, we explicit use LOCATION_LOCUS and compare it to UNKNOWN_LOCATION. Bootstrapped and passed all gcc regression tests. Ok for trunk? Thanks, Dehao gcc/ChangeLog: 2012-09