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: Fix type qualifiers of conditional expression


On Sun, 27 Sep 2009, Andreas Schwab wrote:

> 2009-09-26  Andreas Schwab  <schwab@linux-m68k.org>
> 
>         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/:
> 	PR c/41476
> 	* gcc.dg/cond-constqual-1.c: New test.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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