> Another workaround is to use a VIEW_CONVERT_EXPR in case > fold_convertible_p () returns false but you still think you are ok.
I'm trying that, but fold_convertible_p () return true and it still ICEs in in fold_convert, at fold-const.c:2643! Basically, fold_convert() can't handle RECORD_TYPEs, but in fold_convertible_p() it falls into the default case and returns TRUE, in my case. Is it considered a middle-end bug? FX -- FX Coudert http://www.homepages.ucl.ac.uk/~uccafco/