This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lto] Fix locus information in decls and expressions


On Friday 15 May 2009 18:42:41, Diego Novillo wrote:
> +#define LTO_SOURCE_FILE ? ?1 << 0
> +#define LTO_SOURCE_LINE ? ?1 << 1
> +#define LTO_SOURCE_COL ? ? 1 << 2
> +#define LTO_SOURCE_HAS_LOC 1 << 3

These should be guarded with ()'s

 #define LTO_SOURCE_HAS_LOC (1 << 3)

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]