diff options
author | Andreas Schwab <schwab@gcc.gnu.org> | 2009-09-27 15:27:08 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 2009-09-27 15:27:08 +0000 |
commit | afbd0665815715ff285dba5143ecb49d4d27990f (patch) | |
tree | c7e4b6907c602b90a4229832311fc15b051f3545 /gcc/loop-iv.c | |
parent | 88febe351918f2cb70edd3527febf3e06f588089 (diff) | |
download | gcc-afbd0665815715ff285dba5143ecb49d4d27990f.zip gcc-afbd0665815715ff285dba5143ecb49d4d27990f.tar.gz gcc-afbd0665815715ff285dba5143ecb49d4d27990f.tar.bz2 |
re PR c/41476 (__typeof__ expands to const type for function types)
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.
From-SVN: r152220
Diffstat (limited to 'gcc/loop-iv.c')
0 files changed, 0 insertions, 0 deletions