r152220 - in /trunk/gcc: ChangeLog c-typeck.c t...
schwab@gcc.gnu.org
schwab@gcc.gnu.org
Sun Sep 27 15:27:00 GMT 2009
Author: schwab
Date: Sun Sep 27 15:27:08 2009
New Revision: 152220
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152220
Log:
PR c/41476
* c-typeck.c (build_conditional_expr): Use the readonly and
volatile flags of the operand types, not of the operands itself.
testsuite/:
* gcc.dg/cond-constqual-1.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/cond-constqual-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-typeck.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list