https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85002

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is that 'dest' is NULL so we build NULL.a which of course can't work.

8845              /* We need source and destination components.  */
8846              comp = fold_build3_loc (input_location, COMPONENT_REF, ctype,
decl,
8847                                      cdecl, NULL_TREE);
8848              dcmp = fold_build3_loc (input_location, COMPONENT_REF, ctype,
dest,
8849                                      cdecl, NULL_TREE);
8850              dcmp = fold_convert (TREE_TYPE (comp), dcmp);
8851

Reply via email to