------- Comment #8 from jsm28 at gcc dot gnu dot org 2006-06-04 17:16 -------
The patch in comment#2 is OK for 4.1 and mainline with the change to comparing
expr2 == error_mark_node, provided the testcases from this bug and bug 27490
are added to the testsuite.
Regarding that referenced in comment#6, the test against ERROR_MARK being
removed is probably intended to avoid excess diagnostics in that case. That
patch is OK for mainline if the error ("switch quantity not an integer"); is
made conditional on (orig_type != error_mark_node).
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org, jsm28 at gcc dot gnu
| |dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27489