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: [PATCH] Fix expansion of constants with -fsection-anchors (PR middle-end/52074)


> 2012-02-01  Jakub Jelinek  <jakub@redhat.com>
>
> 	PR middle-end/52074
> 	* expr.c (expand_expr_addr_expr_1): For CONSTANT_CLASS_P or CONST_DECL
> 	if modifier < EXPAND_SUM call force_operand on the result.
>
> 	* gcc.c-torture/compile/pr52074.c: New test.

This looks fine to me.

-- 
Eric Botcazou


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