[committed] fix typos in attribute malloc example

2021-02-07 Thread Martin Sebor via Gcc-patches
I noticed typos in the example of the new form of attribute malloc. I pushed the attached patch to correct them. Martin commit fe2034e9c039c998fc5da730ed531c61cf2e0b7d Author: Martin Sebor Date: Sun Feb 7 17:21:32 2021 -0700 Correct typos in attribute malloc documentation. gcc/Ch

[PATCH] mklog: automatically fill in generated entries

2021-02-07 Thread Mike Frysinger via Gcc-patches
contrib/ChangeLog: * mklog.py (generated_files): New set. (generate_changelog): Add entries based on generated_files. --- contrib/mklog.py | 5 + 1 file changed, 5 insertions(+) diff --git a/contrib/mklog.py b/contrib/mklog.py index a70536a6849a..6509886741d7 100755 --- a/con

Re: [patch, libgfortran] PR98825 Unexpected behavior of FORTRAN FORMAT expressions when suppressing new line with '$'

2021-02-07 Thread Thomas Koenig via Gcc-patches
Hi Jerry, OK for trunk and backport to 10 since it is simple enough? OK for trunk. Because this is a user-visible change (even if we did the wrong thing before) I don't feel that we should backport (but I am open to suggestions otherwise). Could you also mention this in gcc-11/changes.html

[patch, libgfortran] PR98825 Unexpected behavior of FORTRAN FORMAT expressions when suppressing new line with '$'

2021-02-07 Thread Jerry DeLisle
Hello all, Attached patch fixes this and adds a test case. The "$" edit descriptor was being completely ignored when next_record_w is processed. Fixed by adding a simple check. OK for trunk and backport to 10 since it is simple enough? Regards, Jerry libgfortran: Do not emit end-of-record

Re: [PATCH 2/2] RISC-V: Add riscv{32, 64}be with big endian as default

2021-02-07 Thread Marcus Comstedt
Hi again. Sorry, but I just realized that the "-melf" part isn't the same in all of {elf,linux,freebsd}.h; linux.h has a LD_EMUL_SUFFIX which the other two are lacking. Which means that the only truly common part is %{mbig-endian:-EB} \ %{mlittle-endian:-EL} \ So is it worth a define to c