[PATCH] PR c++/38472 (P1 regression)

Dodji Seketeli dodji@redhat.com
Mon Jan 5 21:08:00 GMT 2009


Hello,

This patch fixes what I believe was a typo in 
http://gcc.gnu.org/viewcvs?view=rev&revision=141233 .

It basically makes sure no integral promotion is performed on non 
integral operands during "usual arithmetic conversions", as explained in 
the c++ spec in [expr], paragraph 10.

It passes regtests on x86_64 for trunk.

Would this be okay to commit to trunk ?

Thanks.



More information about the Gcc-patches mailing list