]>
gcc.gnu.org Git - gcc.git/commit - gcc/cp/typeck.c
re PR c++/38472 (Wrong result type of ternary operator)
gcc/cp/ChangeLog:
2009-01-05 Dodji Seketeli <dodji@redhat.com>
PR c++/38472
* typeck.c (type_after_usual_arithmetic_conversions): Fix a typo.
Promotion should be done only for integral or enumeration types.
gcc/testsuite/ChangeLog:
2009-01-05 Dodji Seketeli <dodji@redhat.com>
PR c++/38472
* g++.dg/conversion/usual-arith-conv.C: New test.
From-SVN: r143101
This page took 0.061289 seconds and 5 git commands to generate.