Re: [PATCH 1/3] Rework 128-bit complex multiply and divide, PR target/107299

2022-12-06 Thread Kewen.Lin via Gcc-patches
Hi Mike, on 2022/12/7 14:44, Michael Meissner wrote: > On Tue, Dec 06, 2022 at 05:36:54PM +0800, Kewen.Lin wrote: >> Hi Mike, >> >> Thanks for fixing this! >> >> Could you help to elaborate why we need to disable it during libgcc building? > > When you are building libgcc, you are building the

Re: [PATCH v2 1/2] Allow subtarget customization of CC1_SPEC

2022-12-06 Thread Sebastian Huber
On 07.12.22 08:10, Thomas Schwinge wrote: Hi! On 2022-12-07T07:04:10+0100, Sebastian Huber wrote: On 06.12.22 22:06, Thomas Schwinge wrote: I suppose I just fail to see some detail here, but: On 2022-11-21T08:25:25+0100, Sebastian Huber wrote: gcc/ChangeLog: * gcc.cc

[Bug target/107998] [13 Regression] gcc-13-20221204 failure to build on Cygwin No dirname for option: m32

2022-12-06 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107998 --- Comment #4 from Christophe Lyon --- Indeed my patch aimed at catching such inconsistencies. I guess before that the build had a 'strange' behavior? (with a missing dirname, some parts of the shell genmultilib shell script would expand into

[Bug analyzer/108003] [13 Regression] ICE in bitmap_check_index, at sbitmap.h:105

2022-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108003 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

Re: [PATCH v2 1/2] Allow subtarget customization of CC1_SPEC

2022-12-06 Thread Thomas Schwinge
Hi! On 2022-12-07T07:04:10+0100, Sebastian Huber wrote: > On 06.12.22 22:06, Thomas Schwinge wrote: > I suppose I just fail to see some detail here, but: > >> On 2022-11-21T08:25:25+0100, Sebastian >> Huber wrote: >>> gcc/ChangeLog: >>> >>>* gcc.cc (SUBTARGET_CC1_SPEC): Define if not

[Bug ipa/108000] Assert during ipa-cp with AutoFDO

2022-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |erozen at microsoft dot com

Re: [PATCH] i386: Avoid fma_chain for -march=alderlake and sapphirerapids.

2022-12-06 Thread Uros Bizjak via Gcc-patches
On Wed, Dec 7, 2022 at 7:36 AM Hongyu Wang wrote: > > For Alderlake there is similar issue like PR 81616, enable > avoid_fma256_chain will also benefit on Intel latest platforms > Alderlake and Sapphire Rapids. > > Bootstrapped/regtested on x86_64-pc-linux-gnu{-m32,}. > > Ok for master? > >

[Bug tree-optimization/108002] Throwing exception when compiling third-parties(ZSTD) libraries with optimization option

2022-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108002 --- Comment #5 from Richard Biener --- Btw, you can always try to bisect what GCC change fixed the issue and try backporting this yourself.

[Bug target/108004] x-form logical operations with dot instructions are not emitted.

2022-12-06 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108004 --- Comment #3 from HaoChen Gui --- (In reply to Andrew Pinski from comment #2) > Especially when it comes to signed comparisons. >From the ISA, For all fixed-point instructions in which Rc=1, and for addic., andi., and andis., the first three

Re: [PATCH 1/3] Rework 128-bit complex multiply and divide, PR target/107299

2022-12-06 Thread Michael Meissner via Gcc-patches
On Tue, Dec 06, 2022 at 05:36:54PM +0800, Kewen.Lin wrote: > Hi Mike, > > Thanks for fixing this! > > Could you help to elaborate why we need to disable it during libgcc building? When you are building libgcc, you are building the __mulkc3, __divkc3 functions. The mapping in the compiler

[PATCH] i386: Avoid fma_chain for -march=alderlake and sapphirerapids.

2022-12-06 Thread Hongyu Wang via Gcc-patches
For Alderlake there is similar issue like PR 81616, enable avoid_fma256_chain will also benefit on Intel latest platforms Alderlake and Sapphire Rapids. Bootstrapped/regtested on x86_64-pc-linux-gnu{-m32,}. Ok for master? gcc/ChangeLog: * config/i386/x86-tune.def

Re: GDC environment variable

2022-12-06 Thread Ankur Saini via Gcc
I do see make using ‘GDC' while building gcc compiler, maybe try changing that ? - Ankur > On 07-Dec-2022, at 11:42 AM, Dave Blanchard wrote: > > Is there an environment variable like 'CC' or 'CXX', which specifies the name > of the D compiler to use, which I might need to set when

[Bug target/105523] Wrong warning array subscript [0] is outside array bounds

2022-12-06 Thread ahmad at a3f dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 Ahmad Fatoum changed: What|Removed |Added CC||ahmad at a3f dot at --- Comment #14

[Bug target/108004] x-form logical operations with dot instructions are not emitted.

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108004 --- Comment #2 from Andrew Pinski --- Especially when it comes to signed comparisons.

[Bug target/108004] x-form logical operations with dot instructions are not emitted.

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108004 --- Comment #1 from Andrew Pinski --- >From what I remember and. Only sets eq bit correctly.

[Bug target/108004] New: x-form logical operations with dot instructions are not emitted.

2022-12-06 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108004 Bug ID: 108004 Summary: x-form logical operations with dot instructions are not emitted. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

GDC environment variable

2022-12-06 Thread Dave Blanchard
Is there an environment variable like 'CC' or 'CXX', which specifies the name of the D compiler to use, which I might need to set when bootstrapping GCC? Thanks. -- Dave Blanchard

Re: [PATCH v2 1/2] Allow subtarget customization of CC1_SPEC

2022-12-06 Thread Sebastian Huber
On 06.12.22 22:06, Thomas Schwinge wrote: Hi! I suppose I just fail to see some detail here, but: On 2022-11-21T08:25:25+0100, Sebastian Huber wrote: gcc/ChangeLog: * gcc.cc (SUBTARGET_CC1_SPEC): Define if not defined. (cc1_spec): Append SUBTARGET_CC1_SPEC. --- v2: Append

Re: [PATCH v3, rs6000] Enable have_cbranchcc4 on rs6000

2022-12-06 Thread Kewen.Lin via Gcc-patches
on 2022/12/7 13:24, HAO CHEN GUI wrote: > Hi Kewen, > Thanks so much for your review comments. I will fix them. > > 在 2022/12/7 11:06, Kewen.Lin 写道: >> Does this issue which relies on the fix for generic part make bootstrapping >> fail? >> If no, how many failures it can cause? I'm thinking

Re: [PATCH v3, rs6000] Enable have_cbranchcc4 on rs6000

2022-12-06 Thread HAO CHEN GUI via Gcc-patches
Hi Kewen, Thanks so much for your review comments. I will fix them. 在 2022/12/7 11:06, Kewen.Lin 写道: > Does this issue which relies on the fix for generic part make bootstrapping > fail? > If no, how many failures it can cause? I'm thinking if we can commit this > firstly, > then in the

[PATCH v2] Add a new conversion for conditional ternary set into ifcvt [PR106536]

2022-12-06 Thread HAO CHEN GUI via Gcc-patches
Hi, This patch adds a new conversion to convert a certain branch to conditional ternary set in ifcvt. The branch commonly has following insns. cond_jump ? pc : label setcc (neg/subreg) label: set a constant cond_jump and setcc use the same CC reg and neg/subreg is optional. The

[Bug testsuite/105095] gcc.dg/vect/complex/fast-math-complex-* tests are not executed

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105095 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.4 Known to work|

[Bug c/104822] -Wscalar-storage-order warning for initialization from NULL seems useless

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104822 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Mine, I think this patch will fix the issue: Which is similar to the check above dealing with named address spaces.

[Bug c/104822] -Wscalar-storage-order warning for initialization from NULL seems useless

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104822 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/105043] Documentation for __builtin_object_size and other Object Size checking builtin functions should mention - D_FORTIFY_SOURCE

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105043 Andrew Pinski changed: What|Removed |Added Resolution|MOVED |--- Summary|Please document

[Bug tree-optimization/108002] Throwing exception when compiling third-parties(ZSTD) libraries with optimization option

2022-12-06 Thread pefy19950714 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108002 --- Comment #4 from Grant Li --- (In reply to Andrew Pinski from comment #3) > # pragma GCC optimize("-O2") > > The bugs that related to this pragma were fixed in GCC 4.8.0 (a few were > fixed before). > There were many changes that helped

[Bug analyzer/108003] New: [13 Regression] ICE in bitmap_check_index, at sbitmap.h:105

2022-12-06 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108003 Bug ID: 108003 Summary: [13 Regression] ICE in bitmap_check_index, at sbitmap.h:105 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug tree-optimization/108002] Throwing exception when compiling third-parties(ZSTD) libraries with optimization option

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108002 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/108002] Throwing exception when compiling third-parties(ZSTD) libraries with optimization option

2022-12-06 Thread pefy19950714 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108002 --- Comment #2 from Grant Li --- (In reply to Andrew Pinski from comment #1) > 4.4.3 is over 12 years old now. Is there any way to move to something newer? I already tried gcc 4.4.7 and 4.4.4... but also had same error. We need to compatible

Re: [PATCH v3, rs6000] Enable have_cbranchcc4 on rs6000

2022-12-06 Thread Kewen.Lin via Gcc-patches
Hi Haochen, on 2022/12/6 13:44, HAO CHEN GUI wrote: > Hi, > This patch enables "have_cbranchcc4" on rs6000 by defining > a "cbranchcc4" expander. "have_cbrnachcc4" is a flag in ifcvt.cc > to indicate if branch by CC bits is invalid or not. With this > flag enabled, some branches can be

[Bug tree-optimization/108002] Throwing exception when compiling third-parties(ZSTD) libraries with optimization option

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108002 --- Comment #1 from Andrew Pinski --- 4.4.3 is over 12 years old now. Is there any way to move to something newer?

[Bug c/108002] New: Throwing exception when compiling third-parties(ZSTD) libraries with optimization option

2022-12-06 Thread pefy19950714 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108002 Bug ID: 108002 Summary: Throwing exception when compiling third-parties(ZSTD) libraries with optimization option Product: gcc Version: 4.4.3 Status: UNCONFIRMED

[Bug go/107992] m68k-linux-gnu bootstap error in gofrontend

2022-12-06 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107992 --- Comment #1 from Ian Lance Taylor --- Thanks. This is happening because the data structures that Go's garbage collector uses require that all pointers be aligned on their natural boundaries. Unfortunately m68k only provides 2-byte

[Bug c++/108001] New: unamed struct extension is documented for C++

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108001 Bug ID: 108001 Summary: unamed struct extension is documented for C++ Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: documentation Severity: normal

[Bug c++/18474] Unary plus/minus lvalueness not diagnosed in templates

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18474 --- Comment #2 from Andrew Pinski --- Note this is only invalid as n (if declared correctly) was not depedent so the operator lookup would be bound at definition time. That is the following needs to be accepted still: template void g(void) {

[Bug target/106708] [rs6000] 64bit constant generation with oris xoris

2022-12-06 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106708 --- Comment #1 from Jiu Fu Guo --- PR93178 also mentioned the "li,oris" case.

[Bug c++/105059] Inconsistency between paren- and brace-initialization of a union with anonymous struct

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105059 Andrew Pinski changed: What|Removed |Added Keywords|accepts-invalid |documentation Ever confirmed|0

Re: Naming flag for specifying the output file name for Binary Module Interface files

2022-12-06 Thread chuanqi.xcq via Gcc
Hi Nathan, > 1) 'save' -- does it *cause* the bmi to be saved, or is that actually > controlled by other options? (I suspect the latter) Yes, it causes the bmi to be saved. In fact, when we add `-save-temps` option in clang and we compile a module unit, we'll see the preprocessed output, the

[Bug middle-end/104975] ICE in execute, at gimple-harden-conditionals.cc:577 and returns_twice and pure attributes on the same function

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104975 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/105049] [12 Regression] ICE: in build_vector_from_val, at tree.cc:2119 with -O -fno-tree-forwprop

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105049 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Summary|ICE: in

Re: [PATCH] Fix aarch64 PR 99657: ICE with SVE types used without an error

2022-12-06 Thread Kewen.Lin via Gcc-patches
Hi, In the recent discussion on how to make some built-in type only valid for some target features efficiently[1], Andrew mentioned this patch which he made previously (Thanks!). I confirmed it can help rs6000 related issue, and noticed PR99657 is still opened, so I think we still want this to

[Bug target/103302] wrong code with -fharden-compares

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103302 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 --- Comment #18 from Andrew

[Bug c++/105047] invalid non-dependent call to non-static member of the current instantiation not rejected ahead of time

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105047 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

Re: Naming flag for specifying the output file name for Binary Module Interface files

2022-12-06 Thread Jonathan Wakely via Gcc
On Wed, 7 Dec 2022, 00:36 Nathan Sidwell via Gcc, wrote: > On 12/6/22 16:03, David Blaikie wrote: > > Over in https://reviews.llvm.org/D137059 we're discussing the naming > > of a clang flag - would be good to have it be consistent with GCC. > > > > The functionality is to name the BMI (.pcm in

[PATCH] doc: Correct a clerical error in the document.

2022-12-06 Thread Lulu Cheng
gcc/ChangeLog: * doc/rtl.texi: Correct a clerical error in the document. --- gcc/doc/rtl.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 43c9ee8bffe..44858d12892 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@

[Bug tree-optimization/107967] [13 regression] The gcc commit r13-3923 caused the glibc make check fails.

2022-12-06 Thread caiyinyu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107967 --- Comment #10 from caiyinyu --- (In reply to Jakub Jelinek from comment #9) > Created attachment 54029 [details] > gcc13-pr107967.patch > > Untested fix. Deferring the mode_composite stuff for later. There are still some fails and errors

RE: [EXTERNAL] Re: [PATCH] Fix count comparison in ipa-cp

2022-12-06 Thread Eugene Rozenfeld via Gcc-patches
I initially ran into this while reviving autoprofiledbootstrap build. I was able to create a simple reliable test for this bug and captured it in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 I also included the test case in the updated patch below. Eugene

[Bug target/107970] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-12-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107970 Hongtao.liu changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/107970] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107970 --- Comment #2 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:da7fb32d403759daefefc79dc251d2437c1b638c commit r13-4532-gda7fb32d403759daefefc79dc251d2437c1b638c Author: liuhongt Date: Tue Dec

[Bug c++/105050] error: expression '' is not a constant expression

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105050 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/105050] error: expression '' is not a constant expression

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105050 --- Comment #7 from Andrew Pinski --- I think clang still gives a better error message here though: :43:15: error: static assertion expression is not an integral constant expression static_assert(test_swap()); ^~~ :18:17:

[Bug ipa/108000] Assert during ipa-cp with AutoFDO

2022-12-06 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 --- Comment #2 from Eugene Rozenfeld --- I actually have a fix for this, just wanted to file a simple test case. I initially ran into this failure while reviving autoprofiledbootstrap build. The failure happens while using the profile and the

[Bug ipa/108000] Assert during ipa-cp with AutoFDO

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-12-07

[Bug ipa/108000] Assert during ipa-cp with AutoFDO

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 --- Comment #1 from Andrew Pinski --- Can you provide the exact command lines being used and does it fail during while using the profile or before?

[Bug c/107980] va_start does not warn about an arbitrary number of arguments in C2x mode

2022-12-06 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107980 --- Comment #12 from joseph at codesourcery dot com --- The standard rule about not using extra arguments means that any warnings would need to avoid even converting those arguments from pp-tokens to tokens; it's OK for them to contain

[Bug ipa/108000] New: Assert during ipa-cp with AutoFDO

2022-12-06 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 Bug ID: 108000 Summary: Assert during ipa-cp with AutoFDO Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa

[Bug testsuite/107999] [13 Regression] test-error-array-bounds.c now fails because [-Warray-bounds] was updated to [-Warray-bounds=] in error messages after r13-4410-g7c01d029fca669263b9c2

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107999 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

Re: AArch64: Add UNSPECV_PATCHABLE_AREA [PR98776]

2022-12-06 Thread Pop, Sebastian via Gcc-patches
Thanks Richard for your review and for pointing out the issue with BTI. The current patch removes the existing BTI instruction, and then adds the BTI hint when expanding the patchable_area pseudo. The attached patch passed bootstrap and regression test on arm64-linux. Ok to commit to gcc

[Bug jit/107770] Comparison of vectors of float doesn't work

2022-12-06 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107770 Antoni changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c/107954] Support -std=c23/gnu23 as aliases of -std=c2x/gnu2x

2022-12-06 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107954 --- Comment #3 from joseph at codesourcery dot com --- Editorial review before the CD ballot slipped the schedule. Second-round editorial review after a huge number of changes in the editorial review slipped the schedule. Getting a final

[Bug jit/107999] New: test-error-array-bounds.c now fails because [-Warray-bounds] was updated to [-Warray-bounds=] in error messages

2022-12-06 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107999 Bug ID: 107999 Summary: test-error-array-bounds.c now fails because [-Warray-bounds] was updated to [-Warray-bounds=] in error messages Product: gcc Version:

[Bug jit/107770] Comparison of vectors of float doesn't work

2022-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107770 --- Comment #1 from CVS Commits --- The master branch has been updated by Antoni Boucher : https://gcc.gnu.org/g:d2e782cb99c3116c389d6a9565678c4ffe26 commit r13-4531-gd2e782cb99c3116c389d6a9565678c4ffe26 Author: Antoni Boucher Date:

Re: Naming flag for specifying the output file name for Binary Module Interface files

2022-12-06 Thread Nathan Sidwell via Gcc
On 12/6/22 16:03, David Blaikie wrote: Over in https://reviews.llvm.org/D137059 we're discussing the naming of a clang flag - would be good to have it be consistent with GCC. The functionality is to name the BMI (.pcm in Clang's parlance) output file when compiling a C++20 module. Current

[Bug libstdc++/106611] std::is_nothrow_copy_constructible returns wrong result

2022-12-06 Thread nikolasklauser at berlin dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106611 --- Comment #6 from Nikolas Klauser --- Is there any update on this?

[Bug tree-optimization/107997] [13 Regression] fd8dd6c03849691 probably uncovered an issue building the Linux kernel

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107997 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug target/107998] [13 Regression] gcc-13-20221204 failure to build on Cygwin No dirname for option: m32

2022-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107998 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Component|bootstrap

[Bug c++/107998] [13 Regression] gcc-13-20221204 failure to build on Cygwin No dirname for option: m32

2022-12-06 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107998 --- Comment #2 from James McKelvey --- Configured with: ./configure --enable-languages=c,c++ --enable-threads=posix

[Bug analyzer/107882] [13 Regression] ICE in get_last_bit_offset, at analyzer/store.h:255 since 13-2582-g0ea5e3f4542832b8

2022-12-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107882 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/107998] [13 Regression] gcc-13-20221204 failure to build on Cygwin No dirname for option: m32

2022-12-06 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107998 --- Comment #1 from James McKelvey --- Created attachment 54032 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54032=edit Config log

[committed] analyzer: don't create bindings or binding keys for empty regions [PR107882]

2022-12-06 Thread David Malcolm via Gcc-patches
PR analyzer/107882 reports an ICE, due to trying to get a compound svalue for this binding: cluster for: a: key: {bytes 0-3} value: {UNKNOWN()} key: {empty} value: {UNKNOWN()} key: {bytes 4-7} value: {UNKNOWN()} where there's an binding to the unknown value of

[Bug analyzer/107882] [13 Regression] ICE in get_last_bit_offset, at analyzer/store.h:255 since 13-2582-g0ea5e3f4542832b8

2022-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107882 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:dfe2ef7f2b6cac7017f32a0a04f74e1b6d9f1311 commit r13-4529-gdfe2ef7f2b6cac7017f32a0a04f74e1b6d9f1311 Author: David Malcolm Date:

[Bug c++/107998] New: [13 Regression] gcc-13-20221204 failure to build on Cygwin No dirname for option: m32

2022-12-06 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107998 Bug ID: 107998 Summary: [13 Regression] gcc-13-20221204 failure to build on Cygwin No dirname for option: m32 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug regression/107997] New: fd8dd6c03849691 probably uncovered an issue building the Linux kernel

2022-12-06 Thread jbglaw--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107997 Bug ID: 107997 Summary: fd8dd6c03849691 probably uncovered an issue building the Linux kernel Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug fortran/106856] [12/13 Regression][OOP] CLASS attribute handling / ICE in gfc_conv_expr_present, at fortran/trans-expr.cc:1977 since r12-4346-geb92cd57a1ebe7cd

2022-12-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106856 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

Re: [PATCH] libstdc++: Add error handler for

2022-12-06 Thread Jonathan Wakely via Gcc-patches
On Wed, 30 Nov 2022 at 18:00, François Dumont wrote: > > On 30/11/22 14:07, Jonathan Wakely wrote: > > On Wed, 30 Nov 2022 at 11:57, Jonathan Wakely wrote: > >> > >> > >> On Wed, 30 Nov 2022 at 11:54, Jonathan Wakely wrote: > >>> > >>> > >>> On Wed, 30 Nov 2022 at 06:04, François Dumont via

[Bug libstdc++/107871] _Iter_sink:: _M_overflow missing some difference type casting

2022-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107871 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/107979] [13 regression] r13-4391-g0ded30b361d2b1 causes excess errors in 17_intro/names.cc on big endian

2022-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107979 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[committed] libstdc++: Fix test that fails due to name clash with old glibc [PR107979]

2022-12-06 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux. Pushed to trunk. -- >8 -- This test was recently modified to check that the library doesn't use __unused anywhere, because that's a macro in newlib. But it's also a macro in old versions of glibc, so the test now fails for those targets. Disable that check for those targets

[committed] libstdc++: Add casts for integer-like difference type [PR107871]

2022-12-06 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux. Pushed to trunk. -- >8 -- libstdc++-v3/ChangeLog: PR libstdc++/107871 * include/std/format (_Iter_sink::_M_overflow): Add cast to size_t. (_Iter_sink::_M_make_span): Use typedef instead of decltype. *

Re: [PATCH] libstdc++: Make chrono::hh_mm_ss more compact

2022-12-06 Thread Jonathan Wakely via Gcc-patches
I've pushed this to trunk. Tested x86_64-linux. On Mon, 21 Nov 2022 at 20:44, Jonathan Wakely via Libstdc++ wrote: > > While finishing the time zone support for C++20, I noticed that the > chrono::hh_mm_ss type is surprisingly large: 40 bytes. That's because > we use duration for each of the

[Bug libstdc++/107979] [13 regression] r13-4391-g0ded30b361d2b1 causes excess errors in 17_intro/names.cc on big endian

2022-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107979 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:2a23b93f944fa78d4284eb5687051c224e5ab08f commit r13-4528-g2a23b93f944fa78d4284eb5687051c224e5ab08f Author: Jonathan Wakely

[Bug libstdc++/107871] _Iter_sink:: _M_overflow missing some difference type casting

2022-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107871 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:9cce91a63dcc40cb39e68f6a771e891e51c51946 commit r13-4527-g9cce91a63dcc40cb39e68f6a771e891e51c51946 Author: Jonathan Wakely

[committed] libstdc++: Add hint to compiler about vector invariants [PR106434]

2022-12-06 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux. Pushed to trunk. -- >8 -- The PR shows a bogus warning where jump threading generates code for the undefined case that the insertion point is a value-initialized iterator but _M_finish and _M_end_of_storage are unequal (so at least one must be non-null). Using

[committed] libstdc++: Add nodiscard attribute to mutex try_lock functions

2022-12-06 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux. Pushed to trunk. -- >8 -- libstdc++-v3/ChangeLog: * include/bits/std_mutex.h (mutex): Add nodiscard attribute to try_lock member function. * include/bits/unique_lock.h (unique_lock): Likewise for try_lock, try_lock_until, try_lock_for member

[Bug c++/106434] [12/13 Regression] Spurious -Wnull-dereference when using std::unique_copy() since r12-5187-g1ae8edf5f73ca5c3

2022-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106434 --- Comment #11 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4ba94abf147fe7778a7541849ce27cafee74df9b commit r13-4525-g4ba94abf147fe7778a7541849ce27cafee74df9b Author: Jonathan Wakely

[committed] libstdc++: The Trouble with Tribbles

2022-12-06 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux. Pushed to trunk. -- >8 -- Fix digit grouping for integers formatted with "{:#Lx}" which were including the "0x" prefix in the grouped digits. This resulted in output like "0,xff,fff" instead of "0xff,fff". Also change std:::basic_format_parse_context to not throw for an

Re: [PATCH] libgcc: Fix uninitialized RA signing on AArch64 [PR107678]

2022-12-06 Thread Szabolcs Nagy via Gcc-patches
The 12/06/2022 11:58, Wilco Dijkstra wrote: > > i don't think how[*RA_STATE] can ever be set to REG_SAVED_OFFSET, > > this pseudo reg is not spilled to the stack, it is reset to 0 in > > each frame and then toggled within a frame. > > It's is just a state, we can use any state we want since it is

Re: [PATCH v2 1/2] Allow subtarget customization of CC1_SPEC

2022-12-06 Thread Thomas Schwinge
Hi! I suppose I just fail to see some detail here, but: On 2022-11-21T08:25:25+0100, Sebastian Huber wrote: > gcc/ChangeLog: > > * gcc.cc (SUBTARGET_CC1_SPEC): Define if not defined. > (cc1_spec): Append SUBTARGET_CC1_SPEC. > --- > v2: Append SUBTARGET_CC1_SPEC directly to cc1_spec

Naming flag for specifying the output file name for Binary Module Interface files

2022-12-06 Thread David Blaikie via Gcc
Over in https://reviews.llvm.org/D137059 we're discussing the naming of a clang flag - would be good to have it be consistent with GCC. The functionality is to name the BMI (.pcm in Clang's parlance) output file when compiling a C++20 module. Current proposal is to use

[Bug analyzer/107882] [13 Regression] ICE in get_last_bit_offset, at analyzer/store.h:255 since 13-2582-g0ea5e3f4542832b8

2022-12-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107882 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from David

D

2022-12-06 Thread Malika Houston via Gcc
Sent from my iPhone

Re: Using [[may_alias]] in C23/C++23 on a union works in neither post-"union" position, or at the end of the definition

2022-12-06 Thread Jonathan Wakely via Gcc
On Tue, 6 Dec 2022 at 20:32, Gavin Ray wrote: > > Ah got it, didn't know that (handy, will save me duplicating a bunch of > attributes). > Thanks Jonathan! The Clang doc acually show all the forms that can be used for each attribute: https://clang.llvm.org/docs/AttributeReference.html#may-alias

Re: Using [[may_alias]] in C23/C++23 on a union works in neither post-"union" position, or at the end of the definition

2022-12-06 Thread Gavin Ray via Gcc
Ah got it, didn't know that (handy, will save me duplicating a bunch of attributes). Thanks Jonathan! On Tue, Dec 6, 2022 at 2:23 PM Jonathan Wakely wrote: > > > On Tue, 6 Dec 2022, 18:36 Gavin Ray via Gcc, wrote: > >> Oh, D'oh! Thanks Joseph, apologies for the needless email on the list >>

[Bug tree-optimization/107967] [13 regression] The gcc commit r13-3923 caused the glibc make check fails.

2022-12-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107967 --- Comment #9 from Jakub Jelinek --- Created attachment 54029 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54029=edit gcc13-pr107967.patch Untested fix. Deferring the mode_composite stuff for later.

[PATCH 2/4] libbacktrace: detect executable path on windows

2022-12-06 Thread Björn Schäpers
From: Björn Schäpers This is actually needed so that libstdc++'s implementation to be able to work on windows. Tested on x86_64-linux and i686-w64-mingw32. -- >8 -- * configure.ac: Add a check for windows.h. * configure, config.h.in: Regenerate. * fileline.c: Add

[PATCH 3/4] libbacktrace: work with aslr on windows

2022-12-06 Thread Björn Schäpers
From: Björn Schäpers Any underflow which might happen, will be countered by an overflow in dwarf.c. Tested on x86_64-linux and i686-w64-mingw32. -- >8 -- Fixes https://github.com/ianlancetaylor/libbacktrace/issues/89 and https://github.com/ianlancetaylor/libbacktrace/issues/82. *

[PATCH 4/4] libbacktrace: get debug information for loaded dlls

2022-12-06 Thread Björn Schäpers
From: Björn Schäpers Fixes https://github.com/ianlancetaylor/libbacktrace/issues/53, except that libraries loaded after the backtrace_initialize are not handled. But as far as I can see that's the same for elf. Tested on x86_64-linux and i686-w64-mingw32. -- >8 -- * pecoff.c

[PATCH 1/4] libbacktrace: change all pc related variables to uintptr_t

2022-12-06 Thread Björn Schäpers
From: Björn Schäpers It's the right thing to do, since the PC shouldn't go out of the uintptr_t domain, and in backtrace_pcinfo the pc is uintptr_t. This is a preparation for a following patch. Tested on x86_64-linux and i686-w64-mingw32. -- >8 -- * dwarf.c: changed variables holding

[PATCH v4 15/19] modula2 front end: cc1gm2 additional non modula2 source files

2022-12-06 Thread Gaius Mulley via Gcc-patches
Version 4 contains two missed feedback suggestions (namespace in m2pp.cc) and use build_nonstandard_integer_type in gm2-lang.cc:gm2_type_for_size. This patch set contains the .h, .cc and .flex files found in gcc/m2. The files are tightly coupled with the gimple interface (see

Re: Using [[may_alias]] in C23/C++23 on a union works in neither post-"union" position, or at the end of the definition

2022-12-06 Thread Jonathan Wakely via Gcc
On Tue, 6 Dec 2022, 18:36 Gavin Ray via Gcc, wrote: > Oh, D'oh! Thanks Joseph, apologies for the needless email on the list then. > > One final question if I could -- does that mean that in order to support > "may-alias" with the bracket syntax on both Clang and GCC, it would > require: > >

  1   2   3   4   >