------- Comment #6 from pault at gcc dot gnu dot org 2009-05-07 04:44 ------- (In reply to comment #5) > The patch in comment #4 fixes this pr, but gives: > > .*: internal compiler error: in fold_convert, at fold-const.c:2551
Yes... I went to bed when the regression test started spewing out the errors. The fix is easy... I think :-) The type must be checked for not being a character type before doing the fold_convert. It's regtesting right now. Cheers Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40018