[Bug c++/97435] New: Lifetime of temporaries not correctly extending when optiimzation are enabled

2020-10-15 Thread chris at chrissavoie dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97435 Bug ID: 97435 Summary: Lifetime of temporaries not correctly extending when optiimzation are enabled Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug c++/97358] [8/9/10 Regression] ICE while building firefox since r8-2720

2020-10-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #16 from Jakub Jelinek --- Perhaps also mention it in https://bugzilla.mozilla.org/show_bug.cgi?id=1665347

[Bug c++/97438] New: [accepts-invalid] coroutines accepts prmomise type with both return_value() and return_void()

2020-10-15 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97438 Bug ID: 97438 Summary: [accepts-invalid] coroutines accepts prmomise type with both return_value() and return_void() Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug target/97436] [nvptx] -m32 support

2020-10-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97436 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org Last

[Bug testsuite/97426] [11 regression] new test case gcc.dg/ipa/modref-1.c fails

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97426 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/97434] Missed dead code optimization from data flow analysis

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97434 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Blocks|

[Bug c++/97358] [8/9/10 Regression] ICE while building firefox since r8-2720

2020-10-15 Thread sumbera at volny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #17 from Petr Sumbera --- (In reply to Dan Horák from comment #15) > Petr, are you going to open a Firefox bug to fix their code or shall I do it? Please file it. I haven't had time to read whole thread and I don't know what shall

[Bug c++/97435] Lifetime of temporaries not correctly extending when optiimzation are enabled

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

[Bug tree-optimization/97333] [gimple_can_duplicate_bb_p == false, tree-ssa-threadupdate] ICE in duplicate_block, at cfghooks.c:1093

2020-10-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97333 --- Comment #3 from Tom de Vries --- (In reply to Tom de Vries from comment #2) > (In reply to Richard Biener from comment #1) > > (because well, on GIMPLE we can duplicate all blocks). > > I'm not sure I understand why, given that tracer.c has

[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

2020-10-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 --- Comment #9 from Martin Liška --- (In reply to Alan Modra from comment #8) > Note that the error reported in comment #1 is on x86_64-linux. So please provide one more test-case which can be reproduced on x86_64-linux-gnu. Thanks.

[Bug fortran/97408] Handle ac-do-variable KIND argument to intrinsics

2020-10-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97408 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org

[Bug c++/97358] [8/9/10 Regression] ICE while building firefox since r8-2720

2020-10-15 Thread dan at danny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #15 from Dan Horák --- Petr, are you going to open a Firefox bug to fix their code or shall I do it?

[Bug tree-optimization/84958] int loads not eliminated against larger stores

2020-10-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84958 --- Comment #4 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > [ FWIW, adding an extra fre pass here also results in optimal gimple: > ... > diff --git a/gcc/passes.def b/gcc/passes.def > index 3ebcfc30349..6b64f600c4a 100644

[Bug rtl-optimization/97437] New: builtins subcarry and addcarry still not generate the right code. Not get optimized to immediate value

2020-10-15 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97437 Bug ID: 97437 Summary: builtins subcarry and addcarry still not generate the right code. Not get optimized to immediate value Product: gcc Version: 11.0 Status:

[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

2020-10-15 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 Alan Modra changed: What|Removed |Added Target||powerpc64le-linux, |

[Bug c++/97435] Lifetime of temporaries not correctly extending when optiimzation are enabled

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97435 --- Comment #1 from Richard Biener --- I believe the A(5) object doesn't live beyond the stmts lifetime and thus this is invalid.

[Bug testsuite/97426] [11 regression] new test case gcc.dg/ipa/modref-1.c fails

2020-10-15 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97426 Christophe Lyon changed: What|Removed |Added Target|powerpc64*-linux-gnu|powerpc64*-linux-gnu

[Bug ipa/97295] ICE on firefox built with lto+pgo: dist/include/mozilla/Casting.h:64:1: internal compiler error: in to_frequency, at profile-count.c:273

2020-10-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97295 --- Comment #9 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:508e2d88a4c512e8b8685cf5ba201ad48e6bb58d commit r11-3908-g508e2d88a4c512e8b8685cf5ba201ad48e6bb58d Author: Martin Liska Date: Tue

[Bug target/97436] New: [nvptx] -m32 support

2020-10-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97436 Bug ID: 97436 Summary: [nvptx] -m32 support Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee:

[Bug tree-optimization/84958] int loads not eliminated against larger stores

2020-10-15 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84958 --- Comment #6 from Andrew Stubbs --- (In reply to Tom de Vries from comment #5) > I've removed the xfail for nvptx. > > The only remaining xfail is for gcn. Is that one still necessary? The test still fails for gcn.

[Bug tree-optimization/97428] -O3 is great for basic AoSoA packing of complex arrays, but horrible one step above the basic

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97428 --- Comment #3 from Richard Biener --- Whoops, fat-fingered the PR number in the commit that fixes the group analysis (but not yet the vectorization) commit 28290cb50c7dbf87458befeb3e295b5cb13560b5 Author: Richard Biener Date: Thu Oct 15

[Bug tree-optimization/97424] Warn on invalid shift amount after inlining

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97424 Richard Biener changed: What|Removed |Added Severity|normal |enhancement Version|unknown

[Bug tree-optimization/97428] -O3 is great for basic AoSoA packing of complex arrays, but horrible one step above the basic

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97428 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-10-15 Keywords|

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/97428] -O3 is great for basic AoSoA packing of complex arrays, but horrible one step above the basic

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97428 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/97432] Casting away constness in the drafts [conv.qual] a cv-decomposition exists in the following examples but fails in gcc

2020-10-15 Thread peifeng2005 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97432 --- Comment #2 from Ray Zhang --- Hi, I actually spoke with Richard Smith about the same ticket (since clang was also involved in the comparison here), and I found that if we were conforming to the draft, the first case should also fail to

[Bug rtl-optimization/97439] Wrong min value generated for DFP numbers

2020-10-15 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97439 --- Comment #1 from Andreas Krebbel --- Created attachment 49375 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49375=edit Fix decimal_real_maxval misses to set the sign flag in the REAL_VALUE_TYPE.

[Bug target/97431] [SH] Python crashes with 'Segmentation fault with -finline-small-functions

2020-10-15 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97431 --- Comment #3 from John Paul Adrian Glaubitz --- (In reply to Rich Felker from comment #1) > Do you have a complete disassembly of the function it crashed in and > register dump at the point of crash? That would help. Register dump: (gdb)

[Bug ipa/97295] ICE on firefox built with lto+pgo: dist/include/mozilla/Casting.h:64:1: internal compiler error: in to_frequency, at profile-count.c:273

2020-10-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97295 --- Comment #12 from CVS Commits --- The releases/gcc-9 branch has been updated by Martin Liska : https://gcc.gnu.org/g:12c9413228d2955126ff5c45194f8aacf1aa81f6 commit r9-8996-g12c9413228d2955126ff5c45194f8aacf1aa81f6 Author: Martin Liska

[Bug ipa/97295] ICE on firefox built with lto+pgo: dist/include/mozilla/Casting.h:64:1: internal compiler error: in to_frequency, at profile-count.c:273

2020-10-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97295 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/97439] New: Wrong min value generated for DFP numbers

2020-10-15 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97439 Bug ID: 97439 Summary: Wrong min value generated for DFP numbers Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/96832] Wrong assumption for -Werror=nonnull check

2020-10-15 Thread slink at schokola dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96832 Nils Goroll changed: What|Removed |Added CC||slink at schokola dot de --- Comment #4

[Bug ipa/97295] ICE on firefox built with lto+pgo: dist/include/mozilla/Casting.h:64:1: internal compiler error: in to_frequency, at profile-count.c:273

2020-10-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97295 Martin Liška changed: What|Removed |Added Known to fail||10.2.0, 9.3.0 Known to work|

[Bug ipa/97295] ICE on firefox built with lto+pgo: dist/include/mozilla/Casting.h:64:1: internal compiler error: in to_frequency, at profile-count.c:273

2020-10-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97295 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Liska : https://gcc.gnu.org/g:be8b62c99cf8baea6ee8163af8e85aa0e8634222 commit r10-8891-gbe8b62c99cf8baea6ee8163af8e85aa0e8634222 Author: Martin Liska

[Bug tree-optimization/84958] int loads not eliminated against larger stores

2020-10-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84958 Tom de Vries changed: What|Removed |Added CC||ams at gcc dot gnu.org,

[Bug c++/97358] [8/9/10 Regression] ICE while building firefox since r8-2720

2020-10-15 Thread dan at danny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #18 from Dan Horák --- So there is https://bugzilla.mozilla.org/show_bug.cgi?id=1671345 now, after I commented in the bug Jakub mentioned. I like such cooperation :-)

[Bug fortran/97408] Handle ac-do-variable KIND argument to intrinsics

2020-10-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97408 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug c++/97443] gcc rejects an abstract class that could be used as a function return type due to the new rules

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97443 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/86252] Abstract class in function return type

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86252 Jonathan Wakely changed: What|Removed |Added CC||tangyixuan at mail dot dlut.edu.cn

[Bug target/97444] New: [nvptx] stack atomics

2020-10-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97444 Bug ID: 97444 Summary: [nvptx] stack atomics Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target

[Bug target/97436] [nvptx] Remove -m32 support

2020-10-15 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97436 Tom de Vries changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/97446] New: gcc accepts an unnamed struct

2020-10-15 Thread tangyixuan at mail dot dlut.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97446 Bug ID: 97446 Summary: gcc accepts an unnamed struct Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rtl-optimization/97440] aarch64: Wrong code with -Os -fmodulo-sched -fno-dce -fno-strict-aliasing

2020-10-15 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97440 --- Comment #1 from Alex Coplan --- Created attachment 49377 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49377=edit broken assembly at r7-1513

[Bug c++/17232] [DR 1640] classes and class template specializations treated differently w.r.t. core issue #337

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17232 Jonathan Wakely changed: What|Removed |Added Status|SUSPENDED |NEW See Also|

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2020-10-15 Thread sripar01 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 SRINATH PARVATHANENI changed: What|Removed |Added CC||bernd.edlinger at hotmail dot

[Bug target/97436] [nvptx] Remove -m32 support

2020-10-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97436 --- Comment #2 from CVS Commits --- The master branch has been updated by Tom de Vries : https://gcc.gnu.org/g:34af17c0164f3138df094b144c7f74c2d1805444 commit r11-3953-g34af17c0164f3138df094b144c7f74c2d1805444 Author: Tom de Vries Date: Thu

[Bug c/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/96241] [9/10/11 Regression] ICE in verify_ctor_sanity

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96241 Marek Polacek changed: What|Removed |Added CC||jfrech.bugzilla at gmail dot com ---

[Bug rtl-optimization/97440] New: aarch64: Wrong code with -Os -fmodulo-sched -fno-dce -fno-strict-aliasing

2020-10-15 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97440 Bug ID: 97440 Summary: aarch64: Wrong code with -Os -fmodulo-sched -fno-dce -fno-strict-aliasing Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug c++/70248] constexpr initialization with unspecified equality expression accepted

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248 --- Comment #8 from Jonathan Wakely --- In gcc/cp/typeck.c:cp_build_binary_op this warning should be an error during constant evaluation for EQ_EXPR and NE_EXPR: if (complain & tf_warning) { tree stripped_orig_op0 =

[Bug target/97437] builtins subcarry and addcarry still not generate the right code. Not get optimized to immediate value

2020-10-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97437 --- Comment #3 from Jakub Jelinek --- And fwprop that perhaps wouldn't "simplify" them that much punts on these because the instructions are multiple sets. It is unclear why, I mean, sure, it can't be adding REG_EQUAL notes in that case, but

[Bug c/97445] New: Some fonctions marked static inline in Linux kernel are not inlined

2020-10-15 Thread christophe.leroy at csgroup dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 Bug ID: 97445 Summary: Some fonctions marked static inline in Linux kernel are not inlined Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/97437] builtins subcarry and addcarry still not generate the right code. Not get optimized to immediate value

2020-10-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97437 --- Comment #5 from Segher Boessenkool --- Trying 7 -> 9: 7: r97:SI=0x2a 9: {flags:CCC=cmp(r97:SI+r98:SI,r97:SI);r99:SI=r97:SI+r98:SI;} REG_DEAD r98:SI REG_DEAD r97:SI Failed to match this instruction: (parallel [

[Bug debug/97441] New: gcc writes absolute path to .stabstr section when fdebug-prefix-map is used

2020-10-15 Thread dzagorui at cisco dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97441 Bug ID: 97441 Summary: gcc writes absolute path to .stabstr section when fdebug-prefix-map is used Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug c++/56951] Poor diagnostics for error: invalid abstract return type 'XXX'

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56951 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/71424] std::initializer_list

2020-10-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71424 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug target/97431] [SH] Python crashes with 'Segmentation fault with -finline-small-functions

2020-10-15 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97431 Oleg Endo changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/97437] builtins subcarry and addcarry still not generate the right code. Not get optimized to immediate value

2020-10-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97437 --- Comment #1 from Jakub Jelinek --- I don't see anything undesirable on that. The 0 aka %rax is used in 7 different instructions later on besides the move, so either we just clear %ecx (can't use xorl for that as the flags register needs to

[Bug c++/97443] New: gcc rejects an abstract class that could be used as a function return type due to the new rules

2020-10-15 Thread tangyixuan at mail dot dlut.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97443 Bug ID: 97443 Summary: gcc rejects an abstract class that could be used as a function return type due to the new rules Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug target/97442] New: Wrong represenation of AArch64 saba in RTL

2020-10-15 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97442 Bug ID: 97442 Summary: Wrong represenation of AArch64 saba in RTL Product: gcc Version: unknown Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug c++/70248] constexpr initialization with unspecified equality expression accepted

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-10-15 Severity|minor

[Bug c++/85474] unspecified string literal comparison accepted in constexpr context

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85474 --- Comment #2 from Jonathan Wakely --- Is this a dup of PR 70248?

[Bug libstdc++/97415] Invalid pointer comparison in stringbuf::str() (reported by pointer-compare AddressSanitizer)

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97415 --- Comment #4 from Jonathan Wakely --- Fixed on trunk so far. I'm undecided whether it needs to be backported. Although the comparison with null is formally unspecified, I think all the compilers we support behave as expected.

[Bug target/97437] builtins subcarry and addcarry still not generate the right code. Not get optimized to immediate value

2020-10-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97437 --- Comment #7 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #5) > Trying 7 -> 9: > 7: r97:SI=0x2a > 9: {flags:CCC=cmp(r97:SI+r98:SI,r97:SI);r99:SI=r97:SI+r98:SI;} > REG_DEAD r98:SI > REG_DEAD r97:SI >

[Bug target/97437] builtins subcarry and addcarry still not generate the right code. Not get optimized to immediate value

2020-10-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97437 --- Comment #6 from Segher Boessenkool --- I forgot to add: subtract immediate is the same as add immediate for us, we don't change the sense of the carry bit to a "borrow bit" (and instead, we have a subtract-from-immediate). But this doesn't

[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

2020-10-15 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 --- Comment #11 from Andrew Macleod --- (In reply to Alan Modra from comment #10) > Here's elf32-arc.i creduced. > > a; > b(); > c() { > void *d; > if (d == b && e()) is that actually allowed? if (d == b) is void * == (void * ()) I

[Bug tree-optimization/97428] -O3 is great for basic AoSoA packing of complex arrays, but horrible one step above the basic

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97428 --- Comment #4 from Richard Biener --- I have a fix that, with -mavx512f generates just .L3: vmovupd (%rcx,%rax), %zmm0 vpermpd (%rsi,%rax), %zmm1, %zmm2 vpermpd %zmm0, %zmm1, %zmm0 vmovupd %zmm2, (%rdi,%rax,2)

[Bug rtl-optimization/97439] Wrong min value generated for DFP numbers

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97439 --- Comment #2 from Richard Biener --- OK for all branches.

[Bug c++/97438] [accepts-invalid] coroutines accepts prmomise type with both return_value() and return_void()

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97438 Richard Biener changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment

[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

2020-10-15 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 --- Comment #10 from Alan Modra --- Here's elf32-arc.i creduced. a; b(); c() { void *d; if (d == b && e()) d = a; return d; }

[Bug target/97431] [SH] Python crashes with 'Segmentation fault with -finline-small-functions

2020-10-15 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97431 --- Comment #5 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #4) > Just to point out the obvious, r13 is never initialized nor referenced by > anything else throughout the function. What are the compiler options? One

[Bug target/97437] builtins subcarry and addcarry still not generate the right code. Not get optimized to immediate value

2020-10-15 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97437 --- Comment #4 from fdlbxtqi --- (In reply to Jakub Jelinek from comment #1) > I don't see anything undesirable on that. The 0 aka %rax is used in 7 > different instructions later on besides the move, so either we just clear > %ecx (can't use

[Bug c++/96241] [9/10/11 Regression] ICE in verify_ctor_sanity

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96241 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/97431] [SH] Python crashes with 'Segmentation fault with -finline-small-functions

2020-10-15 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97431 --- Comment #7 from John Paul Adrian Glaubitz --- Created attachment 49380 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49380=edit Archive containing C source, preprocessed source as well as assembly and object output I have created the

[Bug target/97437] builtins subcarry and addcarry still not generate the right code. Not get optimized to immediate value

2020-10-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97437 --- Comment #2 from Jakub Jelinek --- Anyway, #include void foo (unsigned int a[4], unsigned int b[4]) { unsigned char carry = 0; carry = _addcarry_u32 (carry, 42, b[0], [0]); carry = _addcarry_u32 (carry, b[1], 43, [1]); carry =

[Bug c++/97438] [accepts-invalid] coroutines accepts prmomise type with both return_value() and return_void()

2020-10-15 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97438 --- Comment #2 from Avi Kivity --- Created attachment 49379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49379=edit test case

[Bug target/97431] [SH] Python crashes with 'Segmentation fault with -finline-small-functions

2020-10-15 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97431 --- Comment #6 from Oleg Endo --- (In reply to John Paul Adrian Glaubitz from comment #5) So the difference seems to be only the -fPIC option? Can you get the preprocessed .i file with -save-temps ?

[Bug c/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #2 from Richard Biener --- alternatively use inline w/o static to get C99 inline semantics (you have to provide a single out of line copy yourself then via the appropriate declaration)

[Bug c++/55004] [meta-bug] constexpr issues

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 85474, which changed state. Bug 85474 Summary: unspecified string literal comparison accepted in constexpr context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85474 What|Removed

[Bug sanitizer/97414] AddressSanitizer CHECK failed: detect_stack_use_after_return and detect_invalid_pointer_pairs

2020-10-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97414 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-10-15 Assignee|unassigned

[Bug c++/97406] Truncated pointer-to-member type in concept satisfaction error

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97406 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85901] Error message contains "#'offset_type' not supported by simple_type_specifier#)#'offset_type' not supported by direct_abstract_declarator#"

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85901 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-15 Thread christophe.leroy at csgroup dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #6 from Christophe Leroy --- Sorry, the above command is for another problem I'm about to report. The command in question in this bug report is: powerpc64-linux-gcc -Wp,-MMD,arch/powerpc/kernel/.setup-common.o.d -nostdinc -isystem

[Bug target/97437] builtins subcarry and addcarry still not generate the right code. Not get optimized to immediate value

2020-10-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97437 --- Comment #8 from Segher Boessenkool --- So is that something than can/should be improved in ix86_cc_mode?

[Bug sanitizer/97416] pointer-compare sanitizer + use-after-return: CHECK failed: /build/gcc/src/gcc/libsanitizer/asan/asan_thread.cpp:369 "((bottom)) != (0)" (0x0, 0x0)

2020-10-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97416 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Last

[Bug c++/95808] Can mismatch non-array new/delete with array new/delete during constant evaluation

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

[Bug libstdc++/97415] Invalid pointer comparison in stringbuf::str() (reported by pointer-compare AddressSanitizer)

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

[Bug c/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

[Bug c/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-15 Thread christophe.leroy at csgroup dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #5 from Christophe Leroy --- GCC version with the BUG: Using built-in specs. COLLECT_GCC=/opt/gcc-10.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc

[Bug tree-optimization/96974] [10/11 Regression] ICE in vect_get_vector_types_for_stmt compiling for SVE

2020-10-15 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96974 Stam Markianos-Wright changed: What|Removed |Added Host||x86_64-linux-gnu

[Bug libstdc++/97449] [11 Regression] libstdc++ cannot be compiled with clang after 3427e31331677ca826c5588c87924214f7e5c54b

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97449 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-10-15 Ever confirmed|0

[Bug libstdc++/97449] [11 Regression] libstdc++ cannot be compiled with clang after 3427e31331677ca826c5588c87924214f7e5c54b

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97449 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.0 Known to fail|

[Bug c/97447] New: During IPA pass: modref: ICE on gcc.dg/atomic/pr65345-4.c

2020-10-15 Thread vvinayag at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97447 Bug ID: 97447 Summary: During IPA pass: modref: ICE on gcc.dg/atomic/pr65345-4.c Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/97449] New: libstdc++ cannot be compiled with clang after 3427e31331677ca826c5588c87924214f7e5c54b

2020-10-15 Thread foom at fuhm dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97449 Bug ID: 97449 Summary: libstdc++ cannot be compiled with clang after 3427e31331677ca826c5588c87924214f7e5c54b Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/95844] [11 Regression] ICE: Segmentation fault (in cp_warn_deprecated_use)

2020-10-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95844 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f3ee94724686b82556c07b4d33821ae973eb9aba commit r11-3958-gf3ee94724686b82556c07b4d33821ae973eb9aba Author: Jason Merrill Date:

[Bug c++/97446] gcc accepts an unnamed struct

2020-10-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97446 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/97446] gcc accepts an unnamed struct

2020-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97446 --- Comment #2 from Jonathan Wakely --- Just like PR 97401. Please try to remember that diagnostics are not required for errors in uninstantiated templates, so it's not a bug.

[Bug c/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #4 from Jakub Jelinek --- Even if it is just a few insns, if it is larger than the function call, the caller might already trigger threshold of how much it can be enlarged by inlining. If this bugreport would come with the requested

[Bug c/97448] New: Unneccessary stack frame when using stack protector

2020-10-15 Thread christophe.leroy at csgroup dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97448 Bug ID: 97448 Summary: Unneccessary stack frame when using stack protector Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

  1   2   >