------- Comment #4 from pinskia at gcc dot gnu dot org 2006-09-12 05:57 ------- Simple untested (even on the testcase) fix: Index: rs6000.c =================================================================== --- rs6000.c (revision 116799) +++ rs6000.c (working copy) @@ -4607,7 +4607,10 @@ rs6000_darwin64_record_arg_advance_recur { HOST_WIDE_INT bitpos = startbitpos; tree ftype = TREE_TYPE (f); - enum machine_mode mode = TYPE_MODE (ftype); + enum machine_mode mode; + if (ftype == error_mark_node) + continue; + mode = TYPE_MODE (ftype);
if (DECL_SIZE (f) != 0 && host_integerp (bit_position (f), 1)) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29030