------- Comment #12 from gary at intrepid dot com 2006-05-06 01:42 ------- Given the above, I suggest that my bug report be marked closed, because the problem I was seeing in 4.0.1 is fixed by the change to create_tmp_from_val that passes in TYPE_MAIN_VARIANT(). Note that the use of the main variant is stronger (removes more qualifiers/attirbutes) than the code that sets new_type anyway.
It might be a good idea to remove the setting of new_type since it isn't used. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27445