r184060 - in /branches/gcc-4_6-branch/gcc: Chan...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Feb 9 17:28:00 GMT 2012


Author: jakub
Date: Thu Feb  9 17:28:22 2012
New Revision: 184060

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184060
Log:
	Backported from mainline
	2012-02-07  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.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr52074.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/expr.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list