Re: [PATCH] loongarch: ignore zero-size fields in calling convention

2022-04-24 Thread Xi Ruoyao via Gcc-patches
Ping. Normally we shouldn't ping a patch after only a few days, but we're running out of time to catch GCC 12 milestone. And once GCC 12 is released the patch will become far more complicated for a psABI warning. And please note that the ABI difference between GCC and G++ should be considered a

[Bug c/105363] -ftree-slp-vectorize decreases performance significantly (x64)

2022-04-24 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105363 --- Comment #2 from Hongtao.liu --- Looks like neither ICC nor LLVM vectorized the loop https://godbolt.org/z/sbheqbE6Y

Re: [PATCH 0/1] RISC-V: Fix canonical extension order (K and J)

2022-04-24 Thread Kito Cheng
Hi Tsukasa: LGTM, and did you mind adding Signed-off-by to your patch and resending again? I think this patch is small enough and the copyright process should not be a blocker for this patch :) See also: https://gcc.gnu.org/dco.html On Sun, Apr 24, 2022 at 1:25 PM Tsukasa OI wrote: > >

Re: [PATCH 1/1] RISC-V: Fix canonical extension order (K and J)

2022-04-24 Thread Kito Cheng
> > and so it doesn't make > > sense to mandate any particular ordering. > > No. It affects Z* extension ordering... +1, we really need the order in ISA spec so that we could know the canonical order for z* exts.

[Bug c/105363] -ftree-slp-vectorize decreases performance significantly (x64)

2022-04-24 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105363 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug target/105339] [x86] missing AVX-512F scalef functions when optimization is disabled

2022-04-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105339 --- Comment #3 from CVS Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:3c940d42701707559fabe49be99296f60fbc43e7 commit r12-8238-g3c940d42701707559fabe49be99296f60fbc43e7 Author: Hongyu Wang Date: Fri

[Bug fortran/105372] New: The result of the merge function is different when it's type of parameters is the extensions type of derived type

2022-04-24 Thread xudong.luo--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105372 Bug ID: 105372 Summary: The result of the merge function is different when it's type of parameters is the extensions type of derived type Product: gcc Version:

[Bug fortran/105371] New: The result of the merge function is different when it's type of parameters is the extensions type of derived type

2022-04-24 Thread xudong.luo--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105371 Bug ID: 105371 Summary: The result of the merge function is different when it's type of parameters is the extensions type of derived type Product: gcc Version:

gcc-12-20220424 is now available

2022-04-24 Thread GCC Administrator via Gcc
Snapshot gcc-12-20220424 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-20220424/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 12 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug c/105369] Improved diagnostics for code from statement expressions documentation [C component]

2022-04-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105369 --- Comment #3 from Eric Gallager --- (In reply to Eric Gallager from comment #0) > Anyways, that's it for the plain-C code from that page; I'll open a separate > bug for the C++ if it turns out that that needs one, too. OK I opened bug 105370

[Bug c++/105370] New: Improved diagnostics for code from statement expressions documentation [C++ component]

2022-04-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105370 Bug ID: 105370 Summary: Improved diagnostics for code from statement expressions documentation [C++ component] Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c/105369] Improved diagnostics for code from statement expressions documentation [C component]

2022-04-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105369 --- Comment #2 from Andrew Pinski --- I don't think there is a way to get a warning for the abs really and maybe not even wanted. There should definitely be a cross reference to where the documentation says inline functions are fast as macros

[Bug c/105369] Improved diagnostics for code from statement expressions documentation [C component]

2022-04-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105369 --- Comment #1 from Eric Gallager --- Oh, I should probably add something to test the sentence that says, "If you don’t know the type of the operand, you can still do this, but you must use typeof or __auto_type (see Typeof)," too...

[Bug c/105369] New: Improved diagnostics for code from statement expressions documentation [C component]

2022-04-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105369 Bug ID: 105369 Summary: Improved diagnostics for code from statement expressions documentation [C component] Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug libfortran/105361] Incorrect end-of-file condition for derived-type I/O

2022-04-24 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105361 --- Comment #2 from Thomas Koenig --- As expected: FAIL: gfortran.dg/list_read_8.f90 -O0 execution test FAIL: gfortran.dg/list_read_8.f90 -O1 execution test FAIL: gfortran.dg/list_read_8.f90 -O2 execution test FAIL:

[Bug libfortran/105361] Incorrect end-of-file condition for derived-type I/O

2022-04-24 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105361 --- Comment #1 from Thomas Koenig --- This "fixes" the bug in question, but is almost certainly entirely incorrect for a lot of other cases. Will have to look a bit further. --- a/libgfortran/io/list_read.c +++ b/libgfortran/io/list_read.c @@

[Bug tree-optimization/105368] New: [10/11/12 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-04-24 Thread zsojka at seznam dot cz via Gcc-bugs
--prefix=/repo/gcc-trunk//binary-trunk-r12-8236-20220424133922-g6b7441a46c7-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220424 (experimental) (GCC)

[Bug tree-optimization/105367] New: [12 Regression] ICE: SIGSEGV in contains_struct_check (tree.h:3570) with -Ofast -mveclibabi=acml

2022-04-24 Thread zsojka at seznam dot cz via Gcc-bugs
=/repo/gcc-trunk//binary-trunk-r12-8236-20220424133922-g6b7441a46c7-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220424 (experimental) (GCC)

[Bug analyzer/105366] New: [11/12 Regression] ICE: in cmp_cst, at analyzer/svalue.cc:309 with -O -fanalyzer

2022-04-24 Thread zsojka at seznam dot cz via Gcc-bugs
ion algorithms: zlib zstd gcc version 12.0.1 20220424 (experimental) (GCC)

[Bug analyzer/105365] New: [12 Regression] ICE: in cmp_cst, at analyzer/svalue.cc:309 with -fanalyzer

2022-04-24 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105365 Bug ID: 105365 Summary: [12 Regression] ICE: in cmp_cst, at analyzer/svalue.cc:309 with -fanalyzer Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[committed] exec-stack warning for test which wants executable stacks

2022-04-24 Thread Jeff Law via Gcc
About a week ago many targets started failing pr94157_0.c test like this (bfin-elf, but many other targets are also affected): spawn -ignore SIGHUP /home/jlaw/test/obj/bfin-elf/obj/gcc/gcc/xgcc -B/home/jlaw/test/obj/bfin-elf/obj/gcc/gcc/ c_lto_pr94157_0.o -fdiagnostics-plain-output -dumpbase 

[no subject]

2022-04-24 Thread Ashlyn Harris via Gcc
Greetings my name is Ashlyn Harris I would love to know you better please reply me

[Bug fortran/104228] [9/10/11 Regression] ICE in df_install_ref, at df-scan.cc:2294 since r8-3589-g707905d0773e5a8e

2022-04-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104228 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:4c8e037d32e91c0ec4ac577d1d0723ab9d6ec809 commit r10-10554-g4c8e037d32e91c0ec4ac577d1d0723ab9d6ec809 Author: Mikael Morin

[Bug fortran/104570] [12 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.cc:3681 since r12-7217-g57da34939703a6e6

2022-04-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104570 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:4c8e037d32e91c0ec4ac577d1d0723ab9d6ec809 commit r10-10554-g4c8e037d32e91c0ec4ac577d1d0723ab9d6ec809 Author: Mikael Morin

[Bug preprocessor/105362] Improvement: diagnose undefined behavior in preprocessing directives

2022-04-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105362 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Component|c

[PATCH] libstdc++: Add pretty printer for std::initializer_list

2022-04-24 Thread Philipp Fent via Gcc-patches
Re-using the std::span printer, this now shows the contents of the initializer list instead of the pointer and length members. Signed-off-by: Philipp Fent --- libstdc++-v3/python/libstdcxx/v6/printers.py | 23 +-- .../libstdc++-prettyprinters/cxx11.cc | 6 + 2

[Bug plugins/105364] New: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never

2022-04-24 Thread wavexx at thregr dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105364 Bug ID: 105364 Summary: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug testsuite/105349] [12 regression] gcc.target/powerpc/bswap-brw.c fails after r12-8221

2022-04-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105349 --- Comment #2 from Segher Boessenkool --- Oh, or you didn't see the next commit?

[Bug c/90181] Feature request: provide a way to explicitly select specific named registers in constraints

2022-04-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90181 --- Comment #14 from Segher Boessenkool --- It is *impossible* to have the stack registers as inputs to an inline asm, and reliably generate correct code for it that does what the writer of that code expected: loading up the operands to the asm

[Bug c/105363] New: -ftree-slp-vectorize decreases performance significantly (x64)

2022-04-24 Thread mtzguido at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105363 Bug ID: 105363 Summary: -ftree-slp-vectorize decreases performance significantly (x64) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/105362] New: Improvement: diagnose undefined behavior in preprocessing directives

2022-04-24 Thread pavel.morozkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105362 Bug ID: 105362 Summary: Improvement: diagnose undefined behavior in preprocessing directives Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/103662] [12 Regression] TBAA problem in Fortran FE triggering in gfortran.dg/unlimited_polymorphic_3.f03

2022-04-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103662 --- Comment #20 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:fa5cd7102da676dcb1757b1288421f5f3439ae0e commit r12-8235-gfa5cd7102da676dcb1757b1288421f5f3439ae0e Author: Mikael Morin Date:

[Bug sanitizer/105336] truncated address sanitizer stack traces

2022-04-24 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105336 --- Comment #6 from Avi Kivity --- (the reproducer was executed by gcc 12 prerelease, not gcc 11)

[Bug sanitizer/105336] truncated address sanitizer stack traces

2022-04-24 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105336 --- Comment #5 from Avi Kivity --- I reduced it to a few lines (attached, intentionally triggers use-after-free). The culprit is -Og. With g++ coroutine-asan.cc -o coroutine-asan --std=c++20 -fsanitize=address -Og I see READ of size 8 at

[Bug sanitizer/105336] truncated address sanitizer stack traces

2022-04-24 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105336 --- Comment #4 from Avi Kivity --- Created attachment 52856 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52856=edit intentionally buggy reproducer

[PATCH] libgo: Recognize off64_t / loff_t type definition of musl libc

2022-04-24 Thread soeren--- via Gcc-patches
From: Sören Tempel The libgo code assumes both off64_t and loff_t to be present. For example, for the splice(2) function prototype. Similar to glibc, musl libc supports these types but defines them as macros, not as typedefs. Unfortunately, -fdump-go-spec only recognizes types defined using

[PATCH] libgccjit: allow common objects in $(EXTRA_GCC_OBJS) and $(EXTRA_OBJS)

2022-04-24 Thread Yang Yujie
Hello, This patch fixes libgccjit link failure on loongarch* targets, and could probably be useful for future ports. Currently libgccjit is linked with objects from $(EXTRA_GCC_OBJS) and libbackend.a, which is in turn linked with $(EXTRA_OBJS) files. Thus, common object files that's shared

[Bug target/104723] [12 regression] Redundant usage of stack

2022-04-24 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104723 --- Comment #11 from cuilili --- (In reply to Jakub Jelinek from comment #10) > And for the backend, the question is how big the penalty for the overlapping > store is compared to doing multiple non-overlapping stores. Say for those > 49

Re: [PATCH 1/1] RISC-V: Fix canonical extension order (K and J)

2022-04-24 Thread Tsukasa OI via Gcc-patches
Hello, > Neither K nor J is an extension that exists, That is correct. > and so it doesn't make > sense to mandate any particular ordering. No. It affects Z* extension ordering... On 2022/04/24 14:36, Andrew Waterman wrote: > Neither K nor J is an extension that exists, and so it doesn't