[Bug c++/95686] undefined reference to static local variable within inline function

2020-06-16 Thread leni536 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686 --- Comment #2 from Lénárd Szolnoki --- I failed to mention that I compiled the example in -std=c++17. With this compiler option it compiles but fails to link in gcc. It compiles, links and runs as expected in clang. The linkage requirement for

[Bug target/95632] Redundant zero extension

2020-06-16 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95632 --- Comment #5 from Uroš Bizjak --- (In reply to Mel Chen from comment #2) > Is it possible to pretend that we have a pattern that can match xor (reg:SI > 80), (reg: SI 72), 0xa001 in combine pass? > And then, if the constant part is too large to

[Bug target/95632] Redundant zero extension

2020-06-16 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95632 --- Comment #6 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #5) > (In reply to Mel Chen from comment #2) > > Is it possible to pretend that we have a pattern that can match xor (reg:SI > > 80), (reg: SI 72), 0xa001 in combine pass?

[Bug sanitizer/95693] [8/9/10/11 Regression] Incorrect error from undefined behavior sanitizer

2020-06-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95693 --- Comment #2 from Jakub Jelinek --- The Derived ctor seems to first perform zero initialization of the base for some reason and only then calls the Base constructor. Dunno if that is required or not, but since Alex' change actually also zeroes

[Bug fortran/95690] [11 Regression] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092

2020-06-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95690 --- Comment #3 from Richard Biener --- (gdb) p t $1 = (gdb) p debug_generic_expr (t) ((erfc)) so that's the DECL_INITIAL of a CONST_DECL. The CONST_DECL is built that way by the FE: 8833 /* Create a temporary var to hold the value. */ 8

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2020-06-16 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 68627, which changed state. Bug 68627 Summary: [i386, AVX-512] Illegal insn generated while compiling spec2k6/437.leslie3d for KNL https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68627 What|Removed

[Bug target/68627] [i386, AVX-512] Illegal insn generated while compiling spec2k6/437.leslie3d for KNL

2020-06-16 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68627 Kirill Yukhin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/95694] New: [9/10/11 Regression] ICE in trunc_int_for_mode, at explow.c:59 since r9-7156-g33579b59aaf02eb7

2020-06-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95694 Bug ID: 95694 Summary: [9/10/11 Regression] ICE in trunc_int_for_mode, at explow.c:59 since r9-7156-g33579b59aaf02eb7 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug other/84613] [meta-bug] SPEC compiler performance issues

2020-06-16 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84613 Bug 84613 depends on bug 68627, which changed state. Bug 68627 Summary: [i386, AVX-512] Illegal insn generated while compiling spec2k6/437.leslie3d for KNL https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68627 What|Removed

[Bug target/68633] [i386, AVX-512] Spec2006/434.zeus miscompares when executed on KNL

2020-06-16 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68633 Kirill Yukhin changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug other/84613] [meta-bug] SPEC compiler performance issues

2020-06-16 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84613 Bug 84613 depends on bug 68633, which changed state. Bug 68633 Summary: [i386, AVX-512] Spec2006/434.zeus miscompares when executed on KNL https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68633 What|Removed |Added

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2020-06-16 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 68633, which changed state. Bug 68633 Summary: [i386, AVX-512] Spec2006/434.zeus miscompares when executed on KNL https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68633 What|Removed |Added

[Bug tree-optimization/95694] [9/10/11 Regression] ICE in trunc_int_for_mode, at explow.c:59 since r9-7156-g33579b59aaf02eb7

2020-06-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95694 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org Target Mi

[Bug target/95144] Many AVX-512 functions take an int instead of unsigned int

2020-06-16 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95144 Kirill Yukhin changed: What|Removed |Added Last reconfirmed||2020-06-16 CC|

[Bug tree-optimization/95694] [9/10/11 Regression] ICE in trunc_int_for_mode, at explow.c:59 since r9-7156-g33579b59aaf02eb7

2020-06-16 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95694 rsandifo at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot

[Bug sanitizer/95693] [8/9/10/11 Regression] Incorrect error from undefined behavior sanitizer

2020-06-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95693 --- Comment #3 from Jonathan Wakely --- (In reply to Martin Liška from comment #1) > I'm not a C++ expert, but it seems to me an invalid code. I don't see anything wrong with the code.

[Bug debug/95695] New: -gcolumn-info is unstable with LTO and --save-temps

2020-06-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95695 Bug ID: 95695 Summary: -gcolumn-info is unstable with LTO and --save-temps Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug debug/95695] -gcolumn-info is unstable with LTO and --save-temps

2020-06-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95695 Martin Liška changed: What|Removed |Added CC||vries at gcc dot gnu.org Stat

[Bug debug/95695] -gcolumn-info is unstable with LTO and --save-temps

2020-06-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95695 --- Comment #2 from Jakub Jelinek --- I don't see how is that related to LTO. -save-temps does change the column of many tokens, and I'm afraid there is no way around that, except to use -fdirectives-only preprocessing instead.

[Bug debug/95695] -gcolumn-info is unstable with LTO and --save-temps

2020-06-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95695 --- Comment #3 from Martin Liška --- And it's not related to LTO, it comes from a pre-processor. So we somehow screw locations with -E and w/o -E option: $ g++ -g -O2 demo.C && readelf --wide --debug-dump=info a.out > 1 $ g++ -g -O2 demo.C --sav

[Bug debug/95695] -gcolumn-info is unstable with --save-temps

2020-06-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95695 Martin Liška changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug debug/95695] -gcolumn-info is unstable with --save-temps

2020-06-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95695 --- Comment #5 from Andrew Pinski --- -gcolumn-info depends on the preprocessor. This means if you expand macros and such, columns are going to be different. I almost want to close this as invalid but I am just going to mark it as suspended unti

[Bug rtl-optimization/95696] New: regrename creates overlapping register allocations for vliw

2020-06-16 Thread zhongyunde at tom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95696 Bug ID: 95696 Summary: regrename creates overlapping register allocations for vliw Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Pr

[Bug middle-end/94988] [11 Regression] FAIL: gcc.target/i386/pr64110.c scan-assembler vmovd[\\t ]

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94988 --- Comment #8 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:2210ef7d3d68a027ec16476825049567953c7fa4 commit r11-1348-g2210ef7d3d68a027ec16476825049567953c7fa4 Author: Thomas Schwinge Date:

[Bug c++/55227] designated initializer for char array by string constant

2020-06-16 Thread steven.spark at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227 Szikra changed: What|Removed |Added CC||steven.spark at gmail dot com --- Comment #5 fr

[Bug target/94687] PPC vector fails to optimize shift (used bits)

2020-06-16 Thread shawn at git dot icu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94687 --- Comment #2 from Shawn Landden --- LLVM fixed this by lowering to vector shuffle: https://dev.gnupg.org/D501

[Bug tree-optimization/95649] [11 Regression] ICE during GIMPLE pass: cunroll since r11-1146-g1396fa5b91cfa0b3

2020-06-16 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95649 --- Comment #7 from Aldy Hernandez --- Hmmm, previous code propagating into PHI args had: - if (vr->singleton_p (&val) && may_propagate_copy (arg, val)) - propagate_value (use_p, val); We seem to have lost the check for consta

[Bug fortran/95690] [11 Regression] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95690 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a97e49a89d11b302b12ec319a3316ba78adca02a commit r11-1349-ga97e49a89d11b302b12ec319a3316ba78adca02a Author: Richard Biener Date:

[Bug fortran/95690] [11 Regression] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092

2020-06-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95690 Richard Biener changed: What|Removed |Added Blocks||95493 Resolution|---

[Bug rtl-optimization/95493] [10 Regression] test for vector members apparently reordered with assignment to vector members since r10-7523-gb90061c6ec090c6b

2020-06-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95493 Bug 95493 depends on bug 95690, which changed state. Bug 95690 Summary: [11 Regression] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95690 What|Removed

[Bug c++/95678] [9 Regression] ICE in dependent_type_p, at cp/pt.c:25610

2020-06-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95678 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Last reconfi

[Bug gcov-profile/95348] GCC records zero functions and modules in the profiling data file, ICC does NOT

2020-06-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95348 Martin Liška changed: What|Removed |Added Attachment #48660|0 |1 is obsolete|

[Bug rtl-optimization/95493] [10 Regression] test for vector members apparently reordered with assignment to vector members since r10-7523-gb90061c6ec090c6b

2020-06-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95493 --- Comment #8 from Jonathan Wakely --- This also fixes a regression introduced by: alias.c (ao_ref_from_mem): Move stack-slot sharing rewrite ... 2019-05-22 Richard Biener * alias.c (ao_ref_from_mem): Move stack-slot sh

[Bug c++/41437] No access control for classes in template functions

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 --- Comment #11 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:92bed036098928cd4659c8990e14cf7ad040e0c2 commit r11-1350-g92bed036098928cd4659c8990e14cf7ad040e0c2 Author: Patrick Palka Date: T

[Bug c++/47346] access control for nested type is ignored in class template

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346 --- Comment #19 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:668ef28fbb44c1e51d9c5a35b421903c98d87b03 commit r11-1351-g668ef28fbb44c1e51d9c5a35b421903c98d87b03 Author: Patrick Palka Date: T

[Bug c++/41437] No access control for classes in template functions

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 --- Comment #12 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:668ef28fbb44c1e51d9c5a35b421903c98d87b03 commit r11-1351-g668ef28fbb44c1e51d9c5a35b421903c98d87b03 Author: Patrick Palka Date: T

[Bug c++/47346] access control for nested type is ignored in class template

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346 --- Comment #18 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:92bed036098928cd4659c8990e14cf7ad040e0c2 commit r11-1350-g92bed036098928cd4659c8990e14cf7ad040e0c2 Author: Patrick Palka Date: T

[Bug libstdc++/94003] is_constructible seems to have sideeffects

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94003 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:92bed036098928cd4659c8990e14cf7ad040e0c2 commit r11-1350-g92bed036098928cd4659c8990e14cf7ad040e0c2 Author: Patrick Palka Date: Tu

[Bug c++/41437] No access control for classes in template functions

2020-06-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/94003] is_constructible seems to have sideeffects

2020-06-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94003 Bug 94003 depends on bug 41437, which changed state. Bug 41437 Summary: No access control for classes in template functions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 What|Removed |Added

[Bug c++/59002] [meta-bug] Access checking in templates

2020-06-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002 Bug 59002 depends on bug 41437, which changed state. Bug 41437 Summary: No access control for classes in template functions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 What|Removed |Added

[Bug c++/94644] Wrong is_nothrow_move_constructible result if used in a template first

2020-06-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94644 Bug 94644 depends on bug 41437, which changed state. Bug 41437 Summary: No access control for classes in template functions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 What|Removed |Added

[Bug c++/59002] [meta-bug] Access checking in templates

2020-06-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002 Bug 59002 depends on bug 47346, which changed state. Bug 47346 Summary: access control for nested type is ignored in class template https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346 What|Removed |Added

[Bug c++/41437] No access control for classes in template functions

2020-06-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c++/47346] access control for nested type is ignored in class template

2020-06-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/47346] access control for nested type is ignored in class template

2020-06-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.0

[Bug libstdc++/94003] is_constructible seems to have sideeffects

2020-06-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94003 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Target Miles

[Bug target/95488] Suboptimal multiplication codegen for v16qi

2020-06-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95488 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug middle-end/95622] [11 Regression] force_output flag on a variable prevents optimization / regresses c-c++-common/goacc/kernels-alias-ipa-pta{-2,-4,}.c

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95622 --- Comment #4 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:e70fbee1a3dd9fdeb661366dbf3096d76c4e2d6e commit r11-1384-ge70fbee1a3dd9fdeb661366dbf3096d76c4e2d6e Author: Tobias Burnus Date: Tu

[Bug middle-end/95622] [11 Regression] force_output flag on a variable prevents optimization / regresses c-c++-common/goacc/kernels-alias-ipa-pta{-2,-4,}.c

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95622 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:7d249d84e4c1be7c6f857c3a9d7791623a0e9d00 commit r10-8309-g7d249d84e4c1be7c6f857c3a9d7791623a0e9d00 Author: Tobias Burnus D

[Bug rtl-optimization/95696] regrename creates overlapping register allocations for vliw

2020-06-16 Thread zhongyunde at tom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95696 zhongyunde at tom dot com changed: What|Removed |Added CC||zhongyunde at tom dot com --

[Bug target/94959] Wrong code gen for MVE intrinsics vldrbq_s32 which fails with assembler `Error: lo register required`

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94959 --- Comment #2 from CVS Commits --- The releases/gcc-10 branch has been updated by SRINATH PARVATHANENI : https://gcc.gnu.org/g:32c348ce3efd1d693df43045338c8c3e33798edd commit r10-8310-g32c348ce3efd1d693df43045338c8c3e33798edd Author: Srinath P

[Bug target/94735] MVE vector load/store pair getting removed with -O2.

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94735 --- Comment #2 from CVS Commits --- The releases/gcc-10 branch has been updated by SRINATH PARVATHANENI : https://gcc.gnu.org/g:aac5ae144363dbd857654511fbf335e53c8f7cf5 commit r10-8312-gaac5ae144363dbd857654511fbf335e53c8f7cf5 Author: Srinath P

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2020-06-16 Thread andrew2085 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #41 from Andrew Downing --- > Thus for types without a non-trivial ctor/dtor you do not need to use > placement new. So take your example and remove the placement new. > Does that change its semantics? These are C++17 rules. 4.5/1)

[Bug tree-optimization/95649] [11 Regression] ICE during GIMPLE pass: cunroll since r11-1146-g1396fa5b91cfa0b3

2020-06-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95649 --- Comment #8 from Jeffrey A. Law --- I still don't understand why propagating one SSA_NAME for another is causing headaches later though. I don't see anything fundamentally wrong with your patch and it restores previous behavior since singlet

[Bug c++/41437] No access control for classes in template functions

2020-06-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 --- Comment #14 from Jonathan Wakely --- *** Bug 94644 has been marked as a duplicate of this bug. ***

[Bug c++/94644] Wrong is_nothrow_move_constructible result if used in a template first

2020-06-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94644 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/90925] gcc allows calling private overridden operators

2020-06-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90925 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > This is probably another dup of PR 41437 Apparently not.

[Bug tree-optimization/92029] [10/11 Regression] 'libgomp.fortran/pr90779.f90' ICE for nvptx offloading

2020-06-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92029 Tobias Burnus changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/95698] New: Failure to optimize float comparison of converted integer to integer comparison

2020-06-16 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95698 Bug ID: 95698 Summary: Failure to optimize float comparison of converted integer to integer comparison Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/95697] New: Failure to optimize float comparison of converted integer to integer comparison

2020-06-16 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95697 Bug ID: 95697 Summary: Failure to optimize float comparison of converted integer to integer comparison Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/95697] Failure to optimize float comparison of converted integer to integer comparison

2020-06-16 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95697 --- Comment #1 from Gabriel Ravier --- *** Bug 95698 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/95698] Failure to optimize float comparison of converted integer to integer comparison

2020-06-16 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95698 Gabriel Ravier changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/95699] New: __builtin_constant_p inconsistencies

2020-06-16 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95699 Bug ID: 95699 Summary: __builtin_constant_p inconsistencies Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/95700] New: read-md.c: "missing sentinel in function call" when building gcc with musl

2020-06-16 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95700 Bug ID: 95700 Summary: read-md.c: "missing sentinel in function call" when building gcc with musl Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: norma

[Bug c++/95700] read-md.c: "missing sentinel in function call" when building gcc with musl

2020-06-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95700 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug gcov-profile/95348] GCC records zero functions and modules in the profiling data file, ICC does NOT

2020-06-16 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95348 --- Comment #39 from qinzhao at gcc dot gnu.org --- (In reply to Martin Liška from comment #38) > Created attachment 48738 [details] > Patch candidate v2 I have added this patch to my private gcc 8 with some change, works fine with the small testi

[Bug c++/95700] read-md.c: "missing sentinel in function call" when building gcc with musl

2020-06-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95700 --- Comment #2 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #1) > I don't think it is a good idea to allow (uintptr_t) 0 as valid sentinel. Definitely not. (uintptr_t)0 is not a null pointer constant, and is not a valid defin

[Bug c++/95700] read-md.c: "missing sentinel in function call" when building gcc with musl

2020-06-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95700 --- Comment #3 from Jonathan Wakely --- (In reply to Ilya Leoshkevich from comment #0) > musl has the following commit: > https://git.musl-libc.org/cgit/musl/commit/ > ?id=c8a9c22173f485c8c053709e1dfa0a617cb6be1a, which suggests that C++ (as > op

[Bug c++/95700] read-md.c: "missing sentinel in function call" when building gcc with musl

2020-06-16 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95700 --- Comment #4 from Ilya Leoshkevich --- Created attachment 48740 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48740&action=edit preprocessed output In the preprocessed output I see that gcc's stddef.h is used, but most likely `#define N

[Bug c++/95700] read-md.c: "missing sentinel in function call" when building gcc with musl

2020-06-16 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95700 --- Comment #5 from Ilya Leoshkevich --- I'm sorry, I should not have written (uintptr_t)0 - I just used it as a synonym for a "pointer-sized int". Would allowing 0L as a sentinel value be a reasonable thing?

[Bug c++/95700] read-md.c: "missing sentinel in function call" when building gcc with musl

2020-06-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95700 --- Comment #6 from Jonathan Wakely --- To be really safe during stage 1, GCC should not use NULL as a pointer sentinel in C++ code anyway. The bootstrap compiler could define it to 0 or 0u, neither of which is guaranteed to be OK to pass as a v

[Bug c++/93842] generic lambda accesses a variable with with automatic storage duration that wasn't captured by the lambda expression

2020-06-16 Thread kuzniar95 at o2 dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842 kuzniar95 at o2 dot pl changed: What|Removed |Added Resolution|--- |INVALID Status|UNCON

[Bug c++/93842] generic lambda accesses a variable with with automatic storage duration that wasn't captured by the lambda expression

2020-06-16 Thread kuzniar95 at o2 dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842 --- Comment #6 from kuzniar95 at o2 dot pl --- P.S. odr_use function signature should be: void odr_use(const char&);

[Bug c++/95701] New: undefined enum conversion accepted in constant expression

2020-06-16 Thread leni536 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95701 Bug ID: 95701 Summary: undefined enum conversion accepted in constant expression Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prior

[Bug tree-optimization/95697] Failure to optimize float comparison of converted integer to integer comparison

2020-06-16 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95697 --- Comment #2 from joseph at codesourcery dot com --- See bug 60540, of which this is probably a duplicate, noting the issue with losing "inexact" exceptions (and "overflow" for some types) and the reference to bug 57371 for a more detailed di

[Bug libstdc++/95702] New: ranges::transform missing vectorization opportunity

2020-06-16 Thread pilarlatiesa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95702 Bug ID: 95702 Summary: ranges::transform missing vectorization opportunity Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/95703] New: Please backport 0998d2fd59e7a5eb3a3566c57625702bbdc6a05f to gcc 9

2020-06-16 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95703 Bug ID: 95703 Summary: Please backport 0998d2fd59e7a5eb3a3566c57625702bbdc6a05f to gcc 9 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/93842] generic lambda accesses a variable with with automatic storage duration that wasn't captured by the lambda expression

2020-06-16 Thread kuzniar95 at o2 dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842 kuzniar95 at o2 dot pl changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|I

[Bug c++/95560] [8/11 Regression] ICE in comptypes, at cp/typeck.c:1498 since r7-4206-g84ff4775d41b716c

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95560 --- Comment #11 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:2661635323bd44410f1a154683eccecd2c163b46 commit r11-1391-g2661635323bd44410f1a154683eccecd2c163b46 Author: Marek Polacek Date: T

[Bug c++/95701] undefined enum conversion accepted in constant expression

2020-06-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95701 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug c++/95560] [8/11 Regression] ICE in comptypes, at cp/typeck.c:1498 since r7-4206-g84ff4775d41b716c

2020-06-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95560 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/95704] New: PPC: int128 shifts should be implemented branchless

2020-06-16 Thread jens.seifert at de dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95704 Bug ID: 95704 Summary: PPC: int128 shifts should be implemented branchless Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/95704] PPC: int128 shifts should be implemented branchless

2020-06-16 Thread jens.seifert at de dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95704 --- Comment #1 from Jens Seifert --- Created attachment 48742 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48742&action=edit assembly

[Bug c++/93842] generic lambda accesses a variable with with automatic storage duration that wasn't captured by the lambda expression

2020-06-16 Thread kuzniar95 at o2 dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842 kuzniar95 at o2 dot pl changed: What|Removed |Added Resolution|--- |INVALID Status|UNCON

[Bug c++/95369] braced-init-list with designated initializers as template-argument rejected

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95369 --- Comment #6 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:04afaf4575ff239279cfa34aff17101345451965 commit r11-1392-g04afaf4575ff239279cfa34aff17101345451965 Author: Marek Polacek Date: Mo

[Bug c++/95369] braced-init-list with designated initializers as template-argument rejected

2020-06-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95369 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/95705] Internal compiler error generated when using int cast as array index

2020-06-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95705 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/95705] Internal compiler error generated when using int cast as array index

2020-06-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95705 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/95508] [10/11 Regression] ICE on unexpected expression implicit_conv_expr since r10-7096

2020-06-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95508 Marek Polacek changed: What|Removed |Added CC||staffordstyle at gmail dot com --- Comme

[Bug c++/95686] undefined reference to static local variable within inline function

2020-06-16 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug c++/95705] New: Internal compiler error generated when using int cast as array index

2020-06-16 Thread staffordstyle at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95705 Bug ID: 95705 Summary: Internal compiler error generated when using int cast as array index Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/95706] New: New test case gfortran.dg/pr95690.f90 fails

2020-06-16 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95706 Bug ID: 95706 Summary: New test case gfortran.dg/pr95690.f90 fails Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsu

[Bug c/95699] __builtin_constant_p inconsistencies

2020-06-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95699 --- Comment #1 from Andrew Pinski --- Signed integer overflow is undefined.

[Bug c/95699] __builtin_constant_p inconsistencies

2020-06-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95699 --- Comment #2 from Andrew Pinski --- Oh never mind. It is about [ if (r < 0x8000) r = 0x8000; r *= r; __builtin_constant Well it is Jump threading related.

[Bug fortran/95707] New: ICE in finish_equivalences, at fortran/trans-common.c:1319

2020-06-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95707 Bug ID: 95707 Summary: ICE in finish_equivalences, at fortran/trans-common.c:1319 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/95649] [11 Regression] ICE during GIMPLE pass: cunroll since r11-1146-g1396fa5b91cfa0b3

2020-06-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95649 --- Comment #9 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:8fb4d1d58362b77da78c09740c6b5562124a369e commit r11-1395-g8fb4d1d58362b77da78c09740c6b5562124a369e Author: Aldy Hernandez Date:

[Bug fortran/95708] New: [9/10/11 Regression] ICE in resolve_fl_procedure, at fortran/resolve.c:13002

2020-06-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95708 Bug ID: 95708 Summary: [9/10/11 Regression] ICE in resolve_fl_procedure, at fortran/resolve.c:13002 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: nor

[Bug fortran/95709] New: [9/10/11 Regression] ICE in gfc_resolve_code, at fortran/resolve.c:11807

2020-06-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95709 Bug ID: 95709 Summary: [9/10/11 Regression] ICE in gfc_resolve_code, at fortran/resolve.c:11807 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/95710] New: ICE in gfc_type_is_extensible, at fortran/resolve.c:8848

2020-06-16 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95710 Bug ID: 95710 Summary: ICE in gfc_type_is_extensible, at fortran/resolve.c:8848 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priori

  1   2   >