[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2021-12-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #18 from Segher Boessenkool --- Yes, it is slow. Five sequential dependent integer instructions instead of one load instruction. Depending on how you benchmark this you possibly won't see the slowness, the values are stored to

[Bug c/103872] New: testcase fail in gcc.dg/analyzer/pr103526.c on riscv64-unknown-elf-gcc

2021-12-30 Thread shihua at iscas dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103872 Bug ID: 103872 Summary: testcase fail in gcc.dg/analyzer/pr103526.c on riscv64-unknown-elf-gcc Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 --- Comment #18 from Andrew Pinski --- Going to finish reducing the testcase using valgrind since it is an use after free bug.

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 --- Comment #17 from Andrew Pinski --- ==20277== Invalid write of size 8 ==20277==at 0xB1C11C: name_lookup::search_unqualified(tree_node*, cp_binding_level*) (in /home/apinski/upstream-gcc/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/cc1plus)

Re: Re: [PATCH] Testsuite: Add btf-dataset option for RISC-V.

2021-12-30 Thread 陈嘉炜
-原始邮件- 发件人: "Palmer Dabbelt" 发送时间: 2021-12-31 00:59:08 (星期五) 收件人: jeffreya...@gmail.com 抄送: gcc-patches@gcc.gnu.org, jia...@iscas.ac.cn, gcc-patches@gcc.gnu.org, indu.bha...@oracle.com, kito.ch...@sifive.com, yul...@nj.iscas.ac.cn, si...@isrc.iscas.ac.cn, shi...@iscas.ac.cn 主题:

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2021-12-30 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #17 from Jiu Fu Guo --- One thing, I'm wondering, is if it is really 'slow' using instructions to build the const (even with 5 insns). For example, there seems no big difference in runtime between the below two pieces of code on a

[Bug c/24016] Missing warning for unspecified evaluation order

2021-12-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24016 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2021-12-30 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #16 from Jiu Fu Guo --- Thanks, Alan! I saw your patches in this PR. They would help us to get the sequence of what we are thinking. And as you said in the comments: it is a big problem for fixing insn and rtl cost.

[Bug tree-optimization/95424] Failure to optimize division with numerator of 1

2021-12-30 Thread zhaoweiliew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95424 Zhao Wei Liew changed: What|Removed |Added Attachment #52097|0 |1 is obsolete|

[Bug tree-optimization/95424] Failure to optimize division with numerator of 1

2021-12-30 Thread zhaoweiliew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95424 --- Comment #4 from Zhao Wei Liew --- Comment on attachment 52097 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52097 Optimization for both unsigned and signed integer X diff --git a/gcc/match.pd b/gcc/match.pd index

[Bug tree-optimization/95424] Failure to optimize division with numerator of 1

2021-12-30 Thread zhaoweiliew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95424 --- Comment #3 from Zhao Wei Liew --- Comment on attachment 52097 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52097 Optimization for both unsigned and signed integer X diff --git a/gcc/match.pd b/gcc/match.pd index

[Bug tree-optimization/95424] Failure to optimize division with numerator of 1

2021-12-30 Thread zhaoweiliew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95424 Zhao Wei Liew changed: What|Removed |Added Attachment #52091|0 |1 is obsolete|

[Bug c++/103871] [11.2.1/12 Regression] co_await causes build error

2021-12-30 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 --- Comment #1 from Egor Pugin --- 11.2.1 fails g++ --version g++ (GCC) 11.2.1 20211203 (Red Hat 11.2.1-7)

[Bug c++/103871] New: [11.2.1/12 Regression] co_await causes build error

2021-12-30 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 Bug ID: 103871 Summary: [11.2.1/12 Regression] co_await causes build error Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/99783] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2021-12-30 Thread shorne at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99783 --- Comment #7 from shorne at gmail dot com --- On Thu, Dec 30, 2021 at 09:59:57PM +, shorne at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99783 > > --- Comment #6 from shorne at gmail dot com --- > Ok, let me have a

[Bug c++/103862] -Wold-style-cast warns about system macros

2021-12-30 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103862 Alejandro Colomar changed: What|Removed |Added CC||colomar.6.4.3 at gmail dot com ---

[Bug c/103810] -fallow-parameterless-variadic-functions flag could use a testcase that covers its documentation better

2021-12-30 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103810 --- Comment #1 from joseph at codesourcery dot com --- Note also that there is a proposal for C23 (N2854) to allow such functions, including changing the requirements on va_start to make it possible to read their arguments.

Re: [PATCH] Set __FLT_EVAL_METHOD__/__FLT_EVAL_METHOD_TS_18661_3__ to FLT_EVAL_METHOD_PROMOTE_TO_FLOAT when FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16.

2021-12-30 Thread Joseph Myers
On Mon, 27 Dec 2021, liuhongt via Gcc-patches wrote: > Since FLT_EVAL_METHOD only accepts negative value, 0, 1 or 2. > > gcc/c-family/ChangeLog: > > PR c/100854 > * c-common.c (excess_precision_mode_join): Return > FLT_EVAL_METHOD_PROMOTE_TO_FLOAT when both x and y are >

gcc-9-20211230 is now available

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

[Bug middle-end/103870] ARM: Wrong branch instruction with optimization O2 and higher

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103870 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/103870] ARM: Wrong branch instruction with optimization O2 and higher

2021-12-30 Thread petro.karashchenko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103870 --- Comment #1 from Petro Karashchenko --- I would expect "bgt" instruction instead of "bne" in such case.

[Bug middle-end/103870] New: ARM: Wrong branch instruction with optimization O2 and higher

2021-12-30 Thread petro.karashchenko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103870 Bug ID: 103870 Summary: ARM: Wrong branch instruction with optimization O2 and higher Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal

[Bug target/99783] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2021-12-30 Thread shorne at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99783 --- Comment #6 from shorne at gmail dot com --- Ok, let me have a look. On Fri, Dec 31, 2021, 5:34 AM giulio.benetti at benettiengineering dot com < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99783 > > ---

[Bug c++/103869] better diagnostics surrounding uses of -fms-extensions

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103869 Andrew Pinski changed: What|Removed |Added Component|c |c++ Severity|normal

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 --- Comment #16 from Andrew Pinski --- Rereducing via PR 100129 so I don't hit the hash-table-verification issue (which is not modules related) but rather try to find the GC issue.

[Bug rtl-optimization/103756] [12 Regression] -fcompare-debug failure (length) with -O -fconserve-stack -frename-registers -fno-tree-ch -fira-algorithm=priority since r12-5978-ga888259a71fbbb7f

2021-12-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103756 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug preprocessor/89971] [9/10/11 Regression] ICE: unspellable token PADDING

2021-12-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89971 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11 Regression] ICE:

[Bug rtl-optimization/103756] [12 Regression] -fcompare-debug failure (length) with -O -fconserve-stack -frename-registers -fno-tree-ch -fira-algorithm=priority since r12-5978-ga888259a71fbbb7f

2021-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103756 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6c684aa50d4eef28bb59ebb4664f362662845cd6 commit r12-6156-g6c684aa50d4eef28bb59ebb4664f362662845cd6 Author: Jakub Jelinek Date:

[Bug preprocessor/89971] [9/10/11/12 Regression] ICE: unspellable token PADDING

2021-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89971 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5545d1edcbdb1701443f94dde7ec97c5ce3e1a6c commit r12-6155-g5545d1edcbdb1701443f94dde7ec97c5ce3e1a6c Author: Jakub Jelinek Date:

[Bug libstdc++/103866] AM_PROG_LIBTOOL not compatible with GCC_NO_EXECUTABLES

2021-12-30 Thread pixel--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866 --- Comment #8 from Nicolas Noble --- > Yes, and even with that fixed, more checks for $is_hosted are needed for > stdint.h types. I have a patch for that too, but I'm not happy with it yet. I'm willing to test out patches if you need. In

Re: [PATCH] Register --sysroot in the driver switches table

2021-12-30 Thread Olivier Hainque via Gcc-patches
> On 28 Dec 2021, at 17:38, Jeff Law wrote: >> gcc/ >> * gcc.c (driver_handle_option): do_save --sysroot. > OK. Thanks for the prompt review Jeff! I have another simple one coming :)

[Bug target/99783] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2021-12-30 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99783 --- Comment #5 from Giulio Benetti --- Dear Stafford, here we go again, after updating libgeos to version 3.10.1 the same bug shows up. This happens with libgeos but not with protobuf that is fixed. I'm sure i pass -mcmodel=large. Can you help

[Bug c++/77465] [DR909] rejected C-style cast involving casting away constness from result of conversion operator

2021-12-30 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77465 --- Comment #3 from Ed Catmur --- Sent patches to mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587495.html

[PATCH 3/3] c++: expr-cast - C-style cast conformance [PR77465]

2021-12-30 Thread Ed Catmur
gcc/testsuite/ChangeLog: * g++.dg/conversion/explicit2.C: New test. * g++.dg/conversion/explicit3.C: New test. 0003-Add-tests-verifying-conformance-to-explicit.patch Description: Binary data

[PATCH 2/3] c++: expr-cast - C-style cast conformance [PR77465]

2021-12-30 Thread Ed Catmur
gcc/cp/ChangeLog: * call.c (reference_binding): gcc/testsuite/ChangeLog: * g++.dg/cpp0x/constexpr-union.C: * g++.dg/warn/Wstrict-aliasing-5.C: * g++.old-deja/g++.jason/rvalue3.C: * g++.dg/conversion/explicit1.C: New test.

[PATCH 1/3] c++: expr-cast - C-style cast conformance [PR77465]

2021-12-30 Thread Ed Catmur
PR c++/77465 - [DR909] rejected C-style cast involving casting away constness from result of conversion operator PR c++/77465 gcc/cp/ChangeLog: * call.c (tourney): (joust): (build_user_type_conversion_1): (reference_binding):

[Bug c/103869] New: better diagnostics surrounding uses of -fms-extensions

2021-12-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103869 Bug ID: 103869 Summary: better diagnostics surrounding uses of -fms-extensions Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic, documentation

[PATCH 0/3] c++: expr-cast - C-style cast conformance [PR77465]

2021-12-30 Thread Ed Catmur
This patch series improves conformance to the C++ standard for C-style casts (explicit cast notation, [expr.cast]) in two scenarios. First, as discussed in CWG 909 [1], a C-style cast may invoke a user-defined conversion (as a static_cast) followed by a const_cast; currently this is

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2021-12-30 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 --- Comment #4 from sandra at gcc dot gnu.org --- I thought I had a fix for this that involved making gfc_is_simply_contiguous smarter about intrinsics and other function calls, but after writing more test cases I found that this one still ICEs.

[Bug libstdc++/103866] AM_PROG_LIBTOOL not compatible with GCC_NO_EXECUTABLES

2021-12-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866 --- Comment #7 from Jonathan Wakely --- (In reply to Nicolas Noble from comment #6) > While a bit tangential from the narrow topic of this bug, it may be > noteworthy that I just tried using the --with-newlib kludge here, and > compilation

Re: [PATCH] convert (xor (and (xor A B) C) A) to (ior (and A ~C) (and B C)) [PR90323]

2021-12-30 Thread Segher Boessenkool
Hi! On Tue, Dec 28, 2021 at 07:27:06PM -0600, Xionghu Luo wrote: > Bootstrapped and regtested on powerpc64le-linux-gnu {P10,P9} > powerpc64-linux-gnu {P8, P7} and X86. OK for master? > > gcc/ChangeLog: > > PR 90323 > * simplify-rtx.c (simplify_context::simplify_binary_operation_1):

[Bug go/103847] gccgo SIGSEGV in libgo standard library on sparc64

2021-12-30 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103847 Ian Lance Taylor changed: What|Removed |Added Resolution|--- |FIXED

Re: Need for __builtin_issignaling()

2021-12-30 Thread Joseph Myers
On Wed, 29 Dec 2021, FX via Gcc wrote: > Is it particularly hard to do? I came across a post in the list archives > from Joseph, who said it would be good to have. I’d be willing to try > and put something together, unless you think it’s a big project. Any > pointers as to how to start would

[Bug libstdc++/100057] There are no freestanding C++

2021-12-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #42 from cqwrteur --- And std::format shit is an absolute log4j vuln but wg21 wastes time on this instead of fixing iostream. LOL. We see wg21 as a joke.

[Bug libstdc++/100057] There are no freestanding C++

2021-12-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #41 from cqwrteur --- (In reply to Jonathan Wakely from comment #38) > (In reply to Nicolas Noble from comment #33) > > At the moment, I don't understand if it's possible to spawn a cross compiler > > with a freestanding libc and

Re: _Float16-related failures on x86_64-apple-darwin

2021-12-30 Thread FX via Gcc
Hi Joseph, > fixincludes is the right place for a fix for this issue. There is a > plausible case for having an architecture-independent > __FLT_EVAL_METHOD___ macro that takes only values defined by > C99 (regardless of -fpermitted-flt-eval-methods), rather than using the > new C23 values

Re: _Float16-related failures on x86_64-apple-darwin

2021-12-30 Thread Joseph Myers
On Fri, 24 Dec 2021, Hongtao Liu via Gcc wrote: > gcc define __FLT_EVAL_METHOD__ according to > > builtin_define_with_int_value ("__FLT_EVAL_METHOD__", > c_flt_eval_method (true)); > > and guess we need to handle things like: > >/* GCC only supports one interchange type right now,

Re: [PATCH] aix: handle 64bit inodes for include directories

2021-12-30 Thread Jeff Law via Gcc-patches
On 12/30/2021 9:43 AM, David Edelsohn wrote: Hi, Jeff Is the revised patch from Clement okay? I *think* so.    I don't think it's likely to affect any other system as a host, build or target.   I'm not entirely sure it's right for canadian crosses to/from involving aix, but that seems like

[Bug libstdc++/103866] AM_PROG_LIBTOOL not compatible with GCC_NO_EXECUTABLES

2021-12-30 Thread pixel--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866 Nicolas Noble changed: What|Removed |Added CC||pi...@nobis-crew.org --- Comment #6

[Bug fortran/103854] ICE in generate_finalization_wrapper, at fortran/class.c:1618 since r8-4344-gaea5e9327a49bc73

2021-12-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103854 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug c++/103480] [10/11/12 Regression] -Werror=useless-cast with constexpr destructor

2021-12-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103480 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/95644] [F2018] IEEE_FMA is missing from the IEEE_ARITHMETIC module

2021-12-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95644 --- Comment #15 from Francois-Xavier Coudert --- Created attachment 52094 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52094=edit Tentative patch, adding IEEE_FMA and IEEE_SIGNBIT I am attaching a tentative patch for the issue. I also

Ping^3: [PATCH, rs6000 V2] rotate and mask constants [PR94393]

2021-12-30 Thread Pat Haugen via Gcc-patches
Ping. On 11/22/21 1:38 PM, Pat Haugen via Gcc-patches wrote: > Updated version of the patch. Changes made from original are updated > commentary to hopefully aid readability, no functional changes. > > > Implement more two insn constants. rotate_and_mask_constant covers > 64-bit constants

Re: [PATCH] convert (xor (and (xor A B) C) A) to (ior (and A ~C) (and B C)) [PR90323]

2021-12-30 Thread Segher Boessenkool
On Thu, Dec 30, 2021 at 09:22:51AM -0700, Jeff Law wrote: > On 12/28/2021 6:27 PM, Xionghu Luo via Gcc-patches wrote: > > PR 90323 > > * simplify-rtx.c (simplify_context::simplify_binary_operation_1): > > Relax > > C from constant to constant or reg. > > >

Re: [PATCH] Testsuite: Add btf-dataset option for RISC-V.

2021-12-30 Thread Palmer Dabbelt
On Thu, 30 Dec 2021 08:28:34 PST (-0800), gcc-patches@gcc.gnu.org wrote: On 12/29/2021 8:02 PM, jiawei wrote: Add -msmall-data-limit option to put global and static data into right section and generate 'btt_info' on RISC-V target. BTF (BPF Type Format) is the metadata format which encodes

Re: [PATCH] aix: handle 64bit inodes for include directories

2021-12-30 Thread David Edelsohn via Gcc-patches
Hi, Jeff Is the revised patch from Clement okay? Thanks, David On Tue, Aug 24, 2021 at 3:59 AM CHIGOT, CLEMENT wrote: > > >>> So my worry here is this is really a host property -- ie, this is > >>> behavior of where GCC runs, not the target for which GCC is generating > >>> code. > >>> > >>>

[Bug c++/101073] [9/10/11/12 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.c:6941

2021-12-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101073 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 CC|

Re: [PATCH] libiberty: support digits in cpp mangled clone names

2021-12-30 Thread Jeff Law via Gcc-patches
On 12/16/2021 3:40 AM, lsix--- via Gcc-patches wrote: From: Lancelot SIX Currently libiberty fails to demangle the name of cloned functions if the clone-type-identifier contains numbers. This can be observed with the following example: $ cat > ex.cc

Re: [PATCH] regrename: Fix -fcompare-debug issue in find_rename_reg [PR103756]

2021-12-30 Thread Jeff Law via Gcc-patches
On 12/29/2021 3:19 AM, Jakub Jelinek wrote: Hi! The r12-5978 change caused a -fcompare-debug issue, because without -g a chain might start with a noop move, but with -g there could be one or more DEBUG_INSNs in the chain before the noop move and so regrename could make different decisions

[Bug c++/95454] type-level nodiscard not applied to constructors

2021-12-30 Thread steve+gcc at tecwec dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95454 Eric Estievenart changed: What|Removed |Added CC||steve+gcc at tecwec dot eu ---

Re: [PATCH] convert (xor (and (xor A B) C) A) to (ior (and A ~C) (and B C)) [PR90323]

2021-12-30 Thread Jeff Law via Gcc-patches
On 12/30/2021 9:27 AM, Jakub Jelinek wrote: On Thu, Dec 30, 2021 at 09:22:51AM -0700, Jeff Law via Gcc-patches wrote: On 12/28/2021 6:27 PM, Xionghu Luo via Gcc-patches wrote: Bootstrapped and regtested on powerpc64le-linux-gnu {P10,P9} powerpc64-linux-gnu {P8, P7} and X86. OK for master?

[Bug fortran/95644] [F2018] IEEE_FMA is missing from the IEEE_ARITHMETIC module

2021-12-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95644 Francois-Xavier Coudert changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |fxcoudert at gcc dot

Re: [PATCH] Testsuite: Add btf-dataset option for RISC-V.

2021-12-30 Thread Jeff Law via Gcc-patches
On 12/29/2021 8:02 PM, jiawei wrote: Add -msmall-data-limit option to put global and static data into right section and generate 'btt_info' on RISC-V target. BTF (BPF Type Format) is the metadata format which encodes the debug info related to BPF program/map, more details on:

Re: [PATCH] convert (xor (and (xor A B) C) A) to (ior (and A ~C) (and B C)) [PR90323]

2021-12-30 Thread Jakub Jelinek via Gcc-patches
On Thu, Dec 30, 2021 at 09:22:51AM -0700, Jeff Law via Gcc-patches wrote: > On 12/28/2021 6:27 PM, Xionghu Luo via Gcc-patches wrote: > > Bootstrapped and regtested on powerpc64le-linux-gnu {P10,P9} > > powerpc64-linux-gnu {P8, P7} and X86. OK for master? > > > > gcc/ChangeLog: > > > > PR

Re: [PATCH] libcpp: Fix up ##__VA_OPT__ handling [PR89971]

2021-12-30 Thread Jeff Law via Gcc-patches
On 12/30/2021 2:24 AM, Jakub Jelinek via Gcc-patches wrote: Hi! In the following testcase we incorrectly error about pasting / token with padding token (which is a result of __VA_OPT__); instead we should like e.g. for ##arg where arg is empty macro argument clear PASTE_LEFT flag of the

[Bug c++/101597] [12 Regression] ICE in pretty-printer formatting an OBJ_TYPE_REF since r12-2132-ga110855667782dac

2021-12-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101597 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

Re: [PATCH] convert (xor (and (xor A B) C) A) to (ior (and A ~C) (and B C)) [PR90323]

2021-12-30 Thread Jeff Law via Gcc-patches
On 12/28/2021 6:27 PM, Xionghu Luo via Gcc-patches wrote: Bootstrapped and regtested on powerpc64le-linux-gnu {P10,P9} powerpc64-linux-gnu {P8, P7} and X86. OK for master? gcc/ChangeLog: PR 90323 * simplify-rtx.c (simplify_context::simplify_binary_operation_1): Relax

[Bug c++/99861] [modules] ICE in hashtab_chk_error

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 Bug 99861 depends on bug 100052, which changed state. Bug 100052 Summary: [11/12 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100052 What|Removed

[Bug c++/103524] [meta-bug] modules issue

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 100052, which changed state. Bug 100052 Summary: [11/12 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100052 What|Removed

[Bug c++/100052] [11/12 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118

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

[Bug c++/103769] [11/12 Regression] checking ICE in hashtab_chk_error with alias template and pack expansion after r11-7931

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103769 Andrew Pinski changed: What|Removed |Added CC||alexander.lelyakin@googlema

[Bug c++/99861] [modules] ICE in hashtab_chk_error

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 --- Comment #11 from Andrew Pinski --- This is actually a dup of bug 103769. *** This bug has been marked as a duplicate of bug 103769 ***

[Bug c++/101597] [12 Regression] ICE in pretty-printer formatting an OBJ_TYPE_REF since r12-2132-ga110855667782dac

2021-12-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101597 --- Comment #5 from Jakub Jelinek --- Testcase that reproduces even with current trunk (started also with r12-2132): // PR c++/101597 // { dg-do compile } // { dg-options "-O2 -Warray-bounds" } typedef __SIZE_TYPE__ size_t; struct S { virtual

[Bug c++/103769] [11/12 Regression] checking ICE in hashtab_chk_error with alias template and pack expansion after r11-7931

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103769 Andrew Pinski changed: What|Removed |Added Keywords||GC, ice-on-valid-code --- Comment #2

[Bug c++/103524] [meta-bug] modules issue

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99722, which changed state. Bug 99722 Summary: [modules] internal compiler error: segmentation fault https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99722 What|Removed |Added

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99722, which changed state. Bug 99722 Summary: [modules] internal compiler error: segmentation fault https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99722 What|Removed |Added

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 --- Comment #15 from Andrew Pinski --- *** Bug 99722 has been marked as a duplicate of this bug. ***

[Bug c++/99722] [modules] internal compiler error: segmentation fault

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99722 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/100129] [modules] ICE free(): invalid pointer

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100129 Bug 100129 depends on bug 99861, which changed state. Bug 99861 Summary: [modules] ICE in hashtab_chk_error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 What|Removed |Added

[Bug c++/103524] [meta-bug] modules issue

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99861, which changed state. Bug 99861 Summary: [modules] ICE in hashtab_chk_error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 What|Removed |Added

[Bug c++/99948] [modules] ICE in add_mergeable_specialization

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99948 Bug 99948 depends on bug 99861, which changed state. Bug 99861 Summary: [modules] ICE in hashtab_chk_error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 What|Removed |Added

[Bug c++/99722] [modules] internal compiler error: segmentation fault

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99722 Bug 99722 depends on bug 99861, which changed state. Bug 99861 Summary: [modules] ICE in hashtab_chk_error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 What|Removed |Added

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 Bug 99479 depends on bug 99861, which changed state. Bug 99861 Summary: [modules] ICE in hashtab_chk_error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 What|Removed |Added

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99861, which changed state. Bug 99861 Summary: [modules] ICE in hashtab_chk_error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 What|Removed |Added

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 --- Comment #14 from Andrew Pinski --- *** Bug 99861 has been marked as a duplicate of this bug. ***

[Bug c++/99861] [modules] ICE in hashtab_chk_error

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/103524] [meta-bug] modules issue

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 100052, which changed state. Bug 100052 Summary: [11/12 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100052 What|Removed

[Bug c++/99861] [modules] ICE in hashtab_chk_error

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 Bug 99861 depends on bug 100052, which changed state. Bug 100052 Summary: [11/12 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100052 What|Removed

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 Andrew Pinski changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug c++/100052] [11/12 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100052 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/103524] [meta-bug] modules issue

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 100129, which changed state. Bug 100129 Summary: [modules] ICE free(): invalid pointer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100129 What|Removed |Added

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 100129, which changed state. Bug 100129 Summary: [modules] ICE free(): invalid pointer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100129 What|Removed |Added

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 --- Comment #12 from Andrew Pinski --- *** Bug 100129 has been marked as a duplicate of this bug. ***

[Bug c++/100129] [modules] ICE free(): invalid pointer

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100129 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/103524] [meta-bug] modules issue

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99737, which changed state. Bug 99737 Summary: [modules] malloc(): smallbin double linked list corrupted https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99737 What|Removed |Added

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99737, which changed state. Bug 99737 Summary: [modules] malloc(): smallbin double linked list corrupted https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99737 What|Removed |Added

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 --- Comment #11 from Andrew Pinski --- *** Bug 99737 has been marked as a duplicate of this bug. ***

[Bug c++/99737] [modules] malloc(): smallbin double linked list corrupted

2021-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99737 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/103868] ICE at end of coroutine when using asio

2021-12-30 Thread ashenglandelbro at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103868 --- Comment #1 from ashenglandelbro at protonmail dot com --- Created attachment 52092 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52092=edit .ii for the file that failed to compile Compressed as an xz as the raw text is 8mb

[Bug c++/103868] New: ICE at end of coroutine when using asio

2021-12-30 Thread ashenglandelbro at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103868 Bug ID: 103868 Summary: ICE at end of coroutine when using asio Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

  1   2   >