On Thu, May 10, 2018 at 02:17:15PM -0400, Marek Polacek wrote:
> ./f951 -quiet
> ^D
> crashes in gfc_create_decls:
>   /* Build our translation-unit decl.  */
>   current_translation_unit
>     = build_translation_unit_decl (get_identifier (main_input_filename));
> because main_input_filename is null in this case.  We can fix it like
> below, where main_input_filename will be set to "".
> 
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
> 

Yes.

-- 
Steve

Reply via email to