------- Comment #8 from jakub at gcc dot gnu dot org 2008-11-15 09:54 ------- Subject: Bug 37561
Author: jakub Date: Sat Nov 15 09:53:02 2008 New Revision: 141881 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141881 Log: PR c++/37561 * c-typeck.c (build_unary_op): Don't call get_unwidened. Use argtype instead of result_type. * typeck.c (cp_build_unary_op): Don't call get_unwidened. Use argtype instead of result_type. * gcc.dg/pr37561.c: New test. * g++.dg/other/increment1.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/increment1.C trunk/gcc/testsuite/gcc.dg/pr37561.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-typeck.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37561