https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102027
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #5) > (In reply to Andrew Pinski from comment #3) > > There are calls to vector_mode_supported_p in stor-layout which changes the > > It sounds odd to me since vector_mode_supported_p can change overtime. > > > TYPE_MODE of the RECORD_TYPE depending on if vector_mode_supported_p returns > > true or not and classify_argument depends on TYPE_MODE in some cases .... > > I am not sure if we can fix it in backend alone. Most back-ends moved away from looking at TYPE_MODE for argument passing long time ago. I can understand why you might want to stay with that I don't think anyone should depend on TYPE_MODE for argument passing any more.