diff options
Diffstat (limited to 'gcc/d')
-rw-r--r-- | gcc/d/ChangeLog | 20 | ||||
-rw-r--r-- | gcc/d/d-diagnostic.cc | 7 | ||||
-rw-r--r-- | gcc/d/lang.opt.urls | 22 | ||||
-rw-r--r-- | gcc/d/toir.cc | 5 |
4 files changed, 37 insertions, 17 deletions
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index e1bfdde..6b6e58e 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,23 @@ +2024-09-25 Mikael Morin <mikael@gcc.gnu.org> + + PR other/116801 + * lang.opt.urls: Regenerate. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + * d-diagnostic.cc (d_diagnostic_report_diagnostic): Update for + renaming of diagnostic_info field. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * d-diagnostic.cc (d_diagnostic_report_diagnostic): Rename + diagnostic_context's "printer" field to "m_printer". + +2024-09-02 Richard Sandiford <richard.sandiford@arm.com> + + * toir.cc (IRVisitor): Rename ASM_INPUT_P to ASM_BASIC_P. + 2024-07-21 Sam James <sam@gentoo.org> * Make-lang.in (WARN_DFLAGS): Drop NOCOMMON_FLAG. diff --git a/gcc/d/d-diagnostic.cc b/gcc/d/d-diagnostic.cc index b2accf9..373075c 100644 --- a/gcc/d/d-diagnostic.cc +++ b/gcc/d/d-diagnostic.cc @@ -198,7 +198,7 @@ d_diagnostic_report_diagnostic (const Loc &loc, int opt, const char *format, diagnostic_set_info_translated (&diagnostic, xformat, &argp, &rich_loc, kind); if (opt != 0) - diagnostic.option_index = opt; + diagnostic.option_id = opt; diagnostic_report_diagnostic (global_dc, &diagnostic); } @@ -207,8 +207,9 @@ d_diagnostic_report_diagnostic (const Loc &loc, int opt, const char *format, /* Write verbatim messages with no location direct to stream. */ text_info text (expand_d_format (format), &argp, errno, nullptr); - pp_format_verbatim (global_dc->printer, &text); - pp_newline_and_flush (global_dc->printer); + pretty_printer *const pp = global_dc->m_printer; + pp_format_verbatim (pp, &text); + pp_newline_and_flush (pp); } va_end (argp); diff --git a/gcc/d/lang.opt.urls b/gcc/d/lang.opt.urls index 09b2a26..8fcb441 100644 --- a/gcc/d/lang.opt.urls +++ b/gcc/d/lang.opt.urls @@ -1,7 +1,7 @@ ; Autogenerated by regenerate-opt-urls.py from gcc/d/lang.opt and generated HTML H -UrlSuffix(gcc/Preprocessor-Options.html#index-H) LangUrlSuffix_D(gdc/Code-Generation.html#index-H) +UrlSuffix(gcc/Preprocessor-Options.html#index-H) LangUrlSuffix_D(gdc/Code-Generation.html#index-H) LangUrlSuffix_Fortran(gfortran/Preprocessing-Options.html#index-H) Hd LangUrlSuffix_D(gdc/Code-Generation.html#index-Hd) @@ -49,7 +49,7 @@ UrlSuffix(gcc/Warning-Options.html#index-Waddress) ; duplicate: 'gcc/Standard-Libraries.html#index-Wall-1' ; duplicate: 'gcc/Warning-Options.html#index-Wall' Wall -LangUrlSuffix_D(gdc/Warnings.html#index-Wall) +LangUrlSuffix_D(gdc/Warnings.html#index-Wall) LangUrlSuffix_Fortran(gfortran/Error-and-Warning-Options.html#index-Wall) Walloca UrlSuffix(gcc/Warning-Options.html#index-Walloca) LangUrlSuffix_D(gdc/Warnings.html#index-Walloca) @@ -67,10 +67,10 @@ Wdeprecated UrlSuffix(gcc/Warning-Options.html#index-Wdeprecated) LangUrlSuffix_D(gdc/Warnings.html#index-Wdeprecated) Werror -UrlSuffix(gcc/Warning-Options.html#index-Werror) LangUrlSuffix_D(gdc/Warnings.html#index-Werror) +UrlSuffix(gcc/Warning-Options.html#index-Werror) LangUrlSuffix_D(gdc/Warnings.html#index-Werror) LangUrlSuffix_Fortran(gfortran/Error-and-Warning-Options.html#index-Werror) Wextra -UrlSuffix(gcc/Warning-Options.html#index-Wextra) LangUrlSuffix_D(gdc/Warnings.html#index-Wextra) +UrlSuffix(gcc/Warning-Options.html#index-Wextra) LangUrlSuffix_D(gdc/Warnings.html#index-Wextra) LangUrlSuffix_Fortran(gfortran/Error-and-Warning-Options.html#index-Wextra) Wmismatched-special-enum LangUrlSuffix_D(gdc/Warnings.html#index-Wmismatched-special-enum) @@ -103,10 +103,10 @@ fassert LangUrlSuffix_D(gdc/Runtime-Options.html#index-fassert) fbounds-check -LangUrlSuffix_D(gdc/Runtime-Options.html#index-fbounds-check) +LangUrlSuffix_D(gdc/Runtime-Options.html#index-fbounds-check) LangUrlSuffix_Fortran(gfortran/Code-Gen-Options.html#index-fbounds-check) fbounds-check= -LangUrlSuffix_D(gdc/Runtime-Options.html#index-fbounds-check) +LangUrlSuffix_D(gdc/Runtime-Options.html#index-fbounds-check) LangUrlSuffix_Fortran(gfortran/Code-Gen-Options.html#index-fbounds-check) ; skipping UrlSuffix for 'fbuiltin' due to multiple URLs: ; duplicate: 'gcc/C-Dialect-Options.html#index-fbuiltin' @@ -195,22 +195,22 @@ fweak-templates LangUrlSuffix_D(gdc/Runtime-Options.html#index-fno-weak-templates) imultilib -UrlSuffix(gcc/Directory-Options.html#index-imultilib) LangUrlSuffix_D(gdc/Directory-Options.html#index-imultilib) +UrlSuffix(gcc/Directory-Options.html#index-imultilib) LangUrlSuffix_D(gdc/Directory-Options.html#index-imultilib) LangUrlSuffix_Fortran(gfortran/Preprocessing-Options.html#index-imultilib) iprefix -UrlSuffix(gcc/Directory-Options.html#index-iprefix) LangUrlSuffix_D(gdc/Directory-Options.html#index-iprefix) +UrlSuffix(gcc/Directory-Options.html#index-iprefix) LangUrlSuffix_D(gdc/Directory-Options.html#index-iprefix) LangUrlSuffix_Fortran(gfortran/Preprocessing-Options.html#index-iprefix) isysroot -UrlSuffix(gcc/Directory-Options.html#index-isysroot) +UrlSuffix(gcc/Directory-Options.html#index-isysroot) LangUrlSuffix_Fortran(gfortran/Preprocessing-Options.html#index-isysroot) isystem -UrlSuffix(gcc/Directory-Options.html#index-isystem) +UrlSuffix(gcc/Directory-Options.html#index-isystem) LangUrlSuffix_Fortran(gfortran/Preprocessing-Options.html#index-isystem) nophoboslib LangUrlSuffix_D(gdc/Linking.html#index-nophoboslib) nostdinc -UrlSuffix(gcc/Directory-Options.html#index-nostdinc) LangUrlSuffix_D(gdc/Directory-Options.html#index-nostdinc) +UrlSuffix(gcc/Directory-Options.html#index-nostdinc) LangUrlSuffix_D(gdc/Directory-Options.html#index-nostdinc) LangUrlSuffix_Fortran(gfortran/Preprocessing-Options.html#index-nostdinc) static-libphobos LangUrlSuffix_D(gdc/Linking.html#index-static-libphobos) diff --git a/gcc/d/toir.cc b/gcc/d/toir.cc index 9f5531c..a6848f2 100644 --- a/gcc/d/toir.cc +++ b/gcc/d/toir.cc @@ -1491,10 +1491,9 @@ public: outputs, inputs, clobbers, labels); SET_EXPR_LOCATION (exp, make_location_t (s->loc)); - /* If the extended syntax was not used, mark the ASM_EXPR as being an - ASM_INPUT expression instead of an ASM_OPERAND with no operands. */ + /* Record whether the basic rather than extended syntax was used. */ if (s->args == NULL && s->clobbers == NULL) - ASM_INPUT_P (exp) = 1; + ASM_BASIC_P (exp) = 1; /* All asm statements are assumed to have a side effect. As a future optimization, this could be unset when building in release mode. */ |