------- Comment #8 from jsm28 at gcc dot gnu dot org 2007-10-10 18:24 ------- Subject: Bug 32295
Author: jsm28 Date: Wed Oct 10 18:24:29 2007 New Revision: 129215 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129215 Log: PR c/32295 * c-typeck.c (default_conversion): Call require_complete_type before perform_integral_promotions. (build_unary_op): Call require_complete_type except for ADDR_EXPR. (build_c_cast): Call require_complete_type except for casts to void types. (convert_for_assignment): Call require_complete_type. testsuite: * gcc.dg/enum-incomplete-1.c: New test. Added: branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/enum-incomplete-1.c Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2-branch/gcc/c-typeck.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32295 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]