[Bug c/88660] [8/9 Regression] Invalid report of "set but used variable" with -O

2020-01-30 Thread alexander.hirsch at gin dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88660 --- Comment #5 from Alexander Hirsch --- (In reply to Jeffrey A. Law from comment #4) > Fixed on the trunk for gcc-10. Thanks :-)

[Bug libfortran/90374] Fortran 2018: Support d0.d, e0.d, es0.d, en0.d, g0.d and ew.d e0 edit descriptors for output

2020-01-30 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90374 --- Comment #29 from Jerry DeLisle --- I think this last patch above fixes the last adjustment needed. I could be wrong I suppose. Is this ready to close?

[Bug c++/92099] [9/10 Regression] static_assert of struct template of false_type succeed with GCC8 but not GCC9

2020-01-30 Thread sunxuanmailbox at 163 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92099 --- Comment #5 from 孙晅 --- (In reply to Jason Merrill from comment #4) > How is this type-dependent? id is value-dependent, but not type-dependent: > it has type E. This seems like a valid (though optional) diagnostic. But since id is a

[Bug fortran/93522] New: f951: internal compiler error: in gfc_release_symbol, at fortran/symbol.c:3121

2020-01-30 Thread gsocshubham at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93522 Bug ID: 93522 Summary: f951: internal compiler error: in gfc_release_symbol, at fortran/symbol.c:3121 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-01-30 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #2 from

[Bug tree-optimization/93521] New: 40% slower in O2 than O1 (tree-pre)

2020-01-30 Thread hehaochen at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93521 Bug ID: 93521 Summary: 40% slower in O2 than O1 (tree-pre) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug analyzer/93520] New: Compilation of Python 3.9 with gcc 10 and -fanalyzer fails with internal compiler error

2020-01-30 Thread cstratak at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93520 Bug ID: 93520 Summary: Compilation of Python 3.9 with gcc 10 and -fanalyzer fails with internal compiler error Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug target/65249] unable to find a register to spill in class 'R0_REGS' when compiling protobuf on sh4

2020-01-30 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65249 Rich Felker changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #27

[Bug c++/92169] crash on referring to a local class member by unqualified name from outside the enclosing function

2020-01-30 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92169 --- Comment #4 from Richard Smith --- Aha! godbolt.org implicitly adds -g to its command line. Try that; that causes a crash for this testcase for me with GCC 9.2.1.

[Bug middle-end/93519] New: bogus -Wrestrict for strcpy(d, s) call guarded by d != s

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93519 Bug ID: 93519 Summary: bogus -Wrestrict for strcpy(d, s) call guarded by d != s Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/93519] bogus -Wrestrict for strcpy(d, s) call guarded by d != s

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93519 Martin Sebor changed: What|Removed |Added Keywords||diagnostic

[Bug analyzer/93356] ICE in add_constraint, at analyzer/constraint-manager.cc:672

2020-01-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93356 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/93356] ICE in add_constraint, at analyzer/constraint-manager.cc:672

2020-01-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93356 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:e978955dd720d5cc0e5141a1e9b943a3cc41 commit r10-6361-ge978955dd720d5cc0e5141a1e9b943a3cc41 Author: David Malcolm Date:

[Bug target/92424] [aarch64] Broken code with -fpatchable-function-entry and BTI

2020-01-30 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92424 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #8 from

[Bug analyzer/93457] ICE in make_region_for_type, at analyzer/region-model.cc:5983

2020-01-30 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93457 --- Comment #2 from Arseny Solokha --- It's probably a duplicate of PR93511 now.

[Bug tree-optimization/93440] scalar unrolled loop makes vectorized code unreachable

2020-01-30 Thread ikonomisma at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93440 --- Comment #4 from ikonomisma at googlemail dot com --- I can reproduce this on both x86_64 and AArch64 Ubuntu 19.10. According to an answer to my question on stack overflow (https://stackoverflow.com/a/59995702/3185968), using std::transform

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 --- Comment #4 from Marek Polacek --- This is the fix, thought I recall it broke something. But we want to use fold_ here because we can have a non-dependent template code like CAST_EXPR. --- a/gcc/cp/typeck2.c +++ b/gcc/cp/typeck2.c @@ -981,7

[Bug middle-end/93518] New: missing warning on a possible overflow by sprintf %s with an allocated argument

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93518 Bug ID: 93518 Summary: missing warning on a possible overflow by sprintf %s with an allocated argument Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug target/91320] [9/10 Regression] x86-64 code generation / register allocation regressed.

2020-01-30 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91320 Vladimir Makarov changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org ---

[Bug middle-end/93517] New: bogus -Wrestrict on sprintf with unknown strings bounded by array size

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93517 Bug ID: 93517 Summary: bogus -Wrestrict on sprintf with unknown strings bounded by array size Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/14179] [8/9/10 Regression] out of memory while parsing array with many initializers

2020-01-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14179 --- Comment #80 from Jason Merrill --- (In reply to Richard Biener from comment #77) > So the "low hanging fruit" remaining is reshape_init_array copying the whole > array even if not necessary. > > INTEGER_CSTs still account for most of the

[Bug rtl-optimization/90275] [8/9/10 Regression] ICE: in insert_regs, at cse.c:1128 with -O2 -fno-dce -fno-tree-dce

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90275 Jeffrey A. Law changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug target/93125] ICE in insert_regs, at cse.c:1128

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93125 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/93496] Miscompile of range-for over braced-init-list in constructor of class with virtual inheritance

2020-01-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93496 --- Comment #4 from Jonathan Wakely --- Fixed on trunk by r266893 for PR 86669, which doesn't seem related. That change was backported to the gcc-8 branch as r267702 for GCC 8.3 which doesn't explain how it was fixed for GCC 8.2

[Bug c/88660] [8/9 Regression] Invalid report of "set but used variable" with -O

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88660 Jeffrey A. Law changed: What|Removed |Added Summary|[8/9/10 Regression] Invalid |[8/9 Regression] Invalid

[Bug c/88660] [8/9/10 Regression] Invalid report of "set but used variable" with -O

2020-01-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88660 --- Comment #3 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:f9eb0973edb2b4eed4cdbba7105b8af7afe5b547 commit r10-6360-gf9eb0973edb2b4eed4cdbba7105b8af7afe5b547 Author: Jeff Law Date: Thu Jan 30

[Bug fortran/93501] [10 regression] gfortran.dg/pr93473.f90 ICEs starting with r10-6295

2020-01-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93501 seurer at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/93516] New: [10 regression] ICE in verify_sra_access_forest, at tree-sra.c:2342

2020-01-30 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93516 Bug ID: 93516 Summary: [10 regression] ICE in verify_sra_access_forest, at tree-sra.c:2342 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/92434] [DR 2355] noexcept couldn't be deduced in function template

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92434 Marek Polacek changed: What|Removed |Added Summary|noexcept couldn't be|[DR 2355] noexcept couldn't

[Bug c++/92434] noexcept couldn't be deduced in function template

2020-01-30 Thread nok.raven at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92434 --- Comment #5 from Nikita Kniazev --- > but does [temp.deduct] actually require that this works? Judging by CWG 2355 it does not.

[Bug c++/92434] noexcept couldn't be deduced in function template

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92434 --- Comment #4 from Marek Polacek --- That should probably be + if (spec && TREE_PURPOSE (spec) && deducible_expression (TREE_PURPOSE (spec))) Note that clang fails if noexcept(B) is changed to e.g. noexcept(!B).

[Bug c++/92434] noexcept couldn't be deduced in function template

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92434 --- Comment #3 from Marek Polacek --- To match clang we could use --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -21470,6 +21470,12 @@ uses_deducible_template_parms (tree type) for (; parm; parm = TREE_CHAIN (parm)) if

[Bug c++/92434] noexcept couldn't be deduced in function template

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92434 --- Comment #2 from Marek Polacek --- Extended testcase: template void foo_false(void(*)() noexcept(B)) { static_assert (!B); } template void foo_true(void(*)() noexcept(B)) { static_assert (B); } void f(); void fn() noexcept; void bar()

[Bug lto/93384] [10 Regression] Python 3.9.0a3 fails to build on ppc64le with GCC 10.0.1: redefined symbol cannot be used on reloc

2020-01-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93384 --- Comment #27 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5fb07870fa4c86f529930bae76689ed5bdfcb192 commit r10-6359-g5fb07870fa4c86f529930bae76689ed5bdfcb192 Author: Jakub Jelinek Date:

[Bug middle-end/93505] [8/9/10 Regression] wrong code or ICE with __builtin_bswap64() and rotation at -Og

2020-01-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 --- Comment #16 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:56b92750f83724177d2c6eae30c208e935a56a37 commit r10-6358-g56b92750f83724177d2c6eae30c208e935a56a37 Author: Jakub Jelinek Date:

[Bug target/70682] [9/10 Regression] -fcompare-debug building LLVM with checking=release compiler on ppc64le

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70682 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Target

[Bug middle-end/93514] missing warning on a strlen with a negative or just past-the-end offset

2020-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93514 --- Comment #4 from Jakub Jelinek --- (In reply to Martin Sebor from comment #3) > There is no tail padding at ax2.a + 3, it's just past the end of the the > four-byte object because ax2.a is at offset 1. You're right, I was convinced I saw int

[Bug sanitizer/79096] [8/9/10 Regression] address sanitizer and jni does not work

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79096 Jeffrey A. Law changed: What|Removed |Added Target Milestone|10.0|11.0

[Bug libgomp/93515] New: OpenMP target teams distribute parallel for with defaultmap not mapping correctly

2020-01-30 Thread jhdavis at udel dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93515 Bug ID: 93515 Summary: OpenMP target teams distribute parallel for with defaultmap not mapping correctly Product: gcc Version: 9.2.0 Status: UNCONFIRMED

[Bug tree-optimization/90377] [10 Regression] New -Wstringop-overflow with -O3 since r270852

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90377 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|2019-05-07

[Bug target/91320] [9/10 Regression] x86-64 code generation / register allocation regressed.

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91320 --- Comment #4 from Jeffrey A. Law --- Created attachment 47744 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47744=edit gzipped testcase that should work with gcc-10

[Bug target/91320] [9/10 Regression] x86-64 code generation / register allocation regressed.

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91320 Jeffrey A. Law changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug middle-end/93514] missing warning on a strlen with a negative or just past-the-end offset

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93514 --- Comment #3 from Martin Sebor --- There is no tail padding at ax2.a + 3, it's just past the end of the the four-byte object because ax2.a is at offset 1. -Warray-bounds takes tail padding into consideration by calling component_ref_size().

[Bug c++/92319] Macro expansion using the __VAOPT__ construct is incorrect when the variadic argument expands to nothing

2020-01-30 Thread eldlistmailingz at tropicsoft dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92319 Edward Diener changed: What|Removed |Added CC||eldlistmailingz@tropicsoft.

[Bug target/33989] Extra load/store for float with union

2020-01-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33989 Andrew Pinski changed: What|Removed |Added Resolution|WORKSFORME |FIXED Target Milestone|---

[Bug c++/92402] parsing error in lambda trail return type with decltype, statement expressions and structured bindings

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92402 --- Comment #4 from Marek Polacek --- Not a regression though, so I'll leave it for GCC 11.

[Bug c++/92402] parsing error in lambda trail return type with decltype, statement expressions and structured bindings

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92402 --- Comment #3 from Marek Polacek --- Even shorter: int a[1]; void f() { []() -> decltype(({auto&& [x] = a; 0;})) { return 0; }; } clang++ compiles it.

[Bug middle-end/93514] missing warning on a strlen with a negative or just past-the-end offset

2020-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93514 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/89129] [meta-bug] bogus/missing -Wtype-limits warnings

2020-01-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89129 Bug 89129 depends on bug 82521, which changed state. Bug 82521 Summary: [8/9 Regression] No -Wtype-limits warning when using templates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82521 What|Removed |Added

[Bug c++/82521] [8/9 Regression] No -Wtype-limits warning when using templates

2020-01-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82521 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/80635] [8/9/10 regression] std::optional and bogus -Wmaybe-uninitialized warning

2020-01-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #41 from Jason Merrill --- (In reply to Jason Merrill from comment #38) > This is better: Complete revised testcase: #ifdef USE_STD #include using std::optional; #else using size_t = decltype(sizeof(1)); inline void *operator

[Bug c++/92194] [9/10 Regression] maybe-uninitialized false positive with c++2a since r9-84-gcdc184174ce56df1

2020-01-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92194 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/80635] [8/9/10 regression] std::optional and bogus -Wmaybe-uninitialized warning

2020-01-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Jason Merrill changed: What|Removed |Added CC||malcolm.parsons at gmail dot com ---

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2020-01-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 92194, which changed state. Bug 92194 Summary: [9/10 Regression] maybe-uninitialized false positive with c++2a since r9-84-gcdc184174ce56df1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92194 What|Removed

[Bug c++/82521] [8/9/10 Regression] No -Wtype-limits warning when using templates

2020-01-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82521 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4dd468a042e19ef0fdbb1c53ca4060d4cb4972c5 commit r10-6357-g4dd468a042e19ef0fdbb1c53ca4060d4cb4972c5 Author: Jason Merrill Date:

[Bug c++/91212] [8/9/10 Regression] const ignored for ctor arguments within return since r8-2493-g4ce8c5dea53d8073

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91212 --- Comment #4 from Marek Polacek --- Jason, do you want to change anything here? Though clang/icc/msvc++ seem to choose #1.

[Bug middle-end/93514] missing warning on a strlen with a negative or just past-the-end offset

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93514 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Blocks|

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 --- Comment #3 from Marek Polacek --- Another test: enum class error {}; template void afunction(F) { error{char(0)}; } 93513.C: In function ‘void afunction(F)’: 93513.C:4:16: internal compiler error: unexpected expression ‘(char)(0)’ of

[Bug c++/93513] internal compiler error internal compiler error: unexpected expression ‘(char)(e)’ of kind cast_expr

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

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Marek Polacek changed: What|Removed |Added CC||andij.cr at gmail dot com --- Comment

[Bug c++/93513] internal compiler error internal compiler error: unexpected expression ‘(char)(e)’ of kind cast_expr

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93513 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/93514] New: missing warning on a strlen with a negative or just past-the-end offset

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93514 Bug ID: 93514 Summary: missing warning on a strlen with a negative or just past-the-end offset Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/92587] Compiler is unable to generate finalization wrapper

2020-01-30 Thread liakhdi at ornl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587 --- Comment #4 from DIL --- Sorry, I was removing unnecessary dependencies in order to reduce the reproducer source size, but forgot to remove PRIVATE declaration for the deleted procedures. Now fixed. It builds with gfortran-8.x but produces

[Bug fortran/92587] Compiler is unable to generate finalization wrapper

2020-01-30 Thread liakhdi at ornl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587 --- Comment #3 from DIL --- (In reply to Martin Liška from comment #1) > For older GCC 8 I see: > > tensor_recursive.F90:738:36: > > private TensBodyGetDataDescr > 1 > Error: Symbol

[Bug fortran/92587] Compiler is unable to generate finalization wrapper

2020-01-30 Thread liakhdi at ornl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587 --- Comment #2 from DIL --- Created attachment 47742 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47742=edit Updated ICE reproducer Fixed build issues for gfortran-8. Builds with gfortran-8.x but produces ICE with gfortran-9.x.

[Bug tree-optimization/84050] [8/9/10 Regression] missing -Warray-bounds accessing a struct array member

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84050 Martin Sebor changed: What|Removed |Added Last reconfirmed|2018-01-26 00:00:00 |2020-1-30 Known to fail|

[Bug c++/93513] New: internal compiler error internal compiler error: unexpected expression ‘(char)(e)’ of kind cast_expr

2020-01-30 Thread andij.cr at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93513 Bug ID: 93513 Summary: internal compiler error internal compiler error: unexpected expression ‘(char)(e)’ of kind cast_expr Product: gcc Version: 9.2.1 Status:

[Bug tree-optimization/92111] [10 Regression] ICE during GIMPLE pass: dom

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92111 Jeffrey A. Law changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug middle-end/93512] New: Introduce rotate_truncation_mask

2020-01-30 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93512 Bug ID: 93512 Summary: Introduce rotate_truncation_mask Product: gcc Version: unknown Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug ipa/92749] [10 Regression] warning: inlining failed in call to ‘salsa20’: --param max-inline-insns-single limit reached after r276516

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92749 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/92789] Non-obvious ?: behaviour with structurally equivalent types

2020-01-30 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92789 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug fortran/93501] [10 regression] gfortran.dg/pr93473.f90 ICEs starting with r10-6295

2020-01-30 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93501 --- Comment #2 from Andrew Benson --- PR87103 is now resolved, which should also solve this problem.

[Bug fortran/93473] ICE on valid with long module + submodule names

2020-01-30 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93473 --- Comment #10 from Andrew Benson --- PR87103 is now resolved, which should also solve this problem.

[Bug fortran/91773] Buffer overflow for long module/submodule names

2020-01-30 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91773 Bug 91773 depends on bug 87103, which changed state. Bug 87103 Summary: [OOP] ICE in gfc_new_symbol() due to overlong symbol name https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87103 What|Removed |Added

[Bug fortran/87103] [OOP] ICE in gfc_new_symbol() due to overlong symbol name

2020-01-30 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87103 Andrew Benson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/93505] [8/9/10 Regression] wrong code or ICE with __builtin_bswap64() and rotation at -Og

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug fortran/87103] [OOP] ICE in gfc_new_symbol() due to overlong symbol name

2020-01-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87103 --- Comment #8 from CVS Commits --- The master branch has been updated by Andrew Benson : https://gcc.gnu.org/g:004ac7b780308dc899e565b887c7def0a6e100f2 commit r10-6356-g004ac7b780308dc899e565b887c7def0a6e100f2 Author: Andrew Benson Date:

[Bug c++/93496] Miscompile of range-for over braced-init-list in constructor of class with virtual inheritance

2020-01-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93496 --- Comment #3 from Jonathan Wakely --- (In reply to Justin LaPolla from comment #2) > 3. My current project requires that we compile with GCC 8.1.0. To avoid this > bug, we are disallowing virtual inheritance in our code by compiling with >

[Bug lto/93384] [10 Regression] Python 3.9.0a3 fails to build on ppc64le with GCC 10.0.1: redefined symbol cannot be used on reloc

2020-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93384 --- Comment #26 from Jakub Jelinek --- Created attachment 47741 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47741=edit gcc10-pr93384.patch Untested fix (only the make localalias name unique part, not the ipa-pure-const.c change).

[Bug analyzer/93511] New: ICE in make_region_for_type analyzing zlib/gzwrite.c

2020-01-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93511 Bug ID: 93511 Summary: ICE in make_region_for_type analyzing zlib/gzwrite.c Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c++/91212] [8/9/10 Regression] const ignored for ctor arguments within return since r8-2493-g4ce8c5dea53d8073

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91212 --- Comment #3 from Marek Polacek --- Happens with a class too: struct T { int i; }; struct X { X(T&) { } // #1 X(const T&) { __builtin_abort (); } // #2 }; X fn () { T buf; return buf; } int main() { X c = fn (); } is it

[Bug c++/93106] [c++2a] Deleted move constructor is not selected when returning an automatic variable

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93106 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/91913] [8/9/10 Regression] ICE in extract_constrain_insn, at recog.c:2211

2020-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91913 --- Comment #3 from Jakub Jelinek --- Is the above what you'd like to see or do you want something else?

[Bug bootstrap/93416] [10 Regression] ICE in in tree_cmp, at analyzer/region-model.cc:1851 on s390x-linux-gnu

2020-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93416 Jakub Jelinek changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug libstdc++/92570] [8/9/10 Regression] clang fails to instantiate std::optional if A is not const copy constructible

2020-01-30 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92570 Ville Voutilainen changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/91824] unnecessary sign-extension after _mm_movemask_epi8 or __builtin_popcount

2020-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91824 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/93388] ensure -fanalyzer works with our C code

2020-01-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93388 --- Comment #3 from David Malcolm --- Looks like "make BOOT_CFLAGS='-fanalyzer' bootstrap" could also be used, but it's nice to have a way to do this via configure flags.

[Bug libstdc++/92570] [8/9/10 Regression] clang fails to instantiate std::optional if A is not const copy constructible

2020-01-30 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92570 Ville Voutilainen changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/93505] [8/9/10 Regression] wrong code or ICE with __builtin_bswap64() and rotation at -Og

2020-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 --- Comment #15 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #14) > (In reply to Segher Boessenkool from comment #13) > > (In reply to Jakub Jelinek from comment #11) > > > and so I'd say even if we just don't fix expand_binop,

[Bug middle-end/93505] [8/9/10 Regression] wrong code or ICE with __builtin_bswap64() and rotation at -Og

2020-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 --- Comment #14 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #13) > (In reply to Jakub Jelinek from comment #11) > > and so I'd say even if we just don't fix expand_binop, this shows an > > optimization opportunity for the

[Bug middle-end/93505] [8/9/10 Regression] wrong code or ICE with __builtin_bswap64() and rotation at -Og

2020-01-30 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 --- Comment #13 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #11) > and so I'd say even if we just don't fix expand_binop, this shows an > optimization opportunity for the rs6000 backend > if the rotlw instruction only

[Bug middle-end/93505] [8/9/10 Regression] wrong code or ICE with __builtin_bswap64() and rotation at -Og

2020-01-30 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 --- Comment #12 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #10) > Created attachment 47740 [details] > gcc10-pr93505.patch > > Untested combiner fix. IMHO even when we fix expand_binop we want it > anyway, because we

[Bug tree-optimization/92323] bogus -Warray-bounds after unrolling despite __builtin_unreachable

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92323 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 92323, which changed state. Bug 92323 Summary: bogus -Warray-bounds after unrolling despite __builtin_unreachable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92323 What|Removed |Added

[Bug tree-optimization/92323] bogus -Warray-bounds after unrolling despite __builtin_unreachable

2020-01-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92323 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:97b40c39208e384fd3ead463b85cddda9e55a375 commit r10-6353-g97b40c39208e384fd3ead463b85cddda9e55a375 Author: Martin Sebor Date: Thu

[Bug testsuite/92415] new test case g++.dg/cpp2a/spaceship-scalar1-neg.C introduced in r277925 fails

2020-01-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92415 seurer at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug middle-end/92380] Bogus -Warray-bounds warning with structures, one of which has a flexible array member

2020-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92380 Martin Sebor changed: What|Removed |Added Component|c |middle-end Severity|normal

[Bug middle-end/93505] [8/9/10 Regression] wrong code or ICE with __builtin_bswap64() and rotation at -Og

2020-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 --- Comment #11 from Jakub Jelinek --- As for the expand_binop bug, if I fix it like: --- gcc/optabs.c.jj 2020-01-12 11:54:36.690409230 +0100 +++ gcc/optabs.c2020-01-30 16:05:43.520649234 +0100 @@ -1226,16 +1226,22 @@ expand_binop

[Bug fortran/93498] [9/10 Regression] ICE in gfc_resolve_findloc, at fortran/iresolve.c:1844 since r9-3688-g01ce9e31a02c8039

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93498 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug fortran/93501] [10 regression] gfortran.dg/pr93473.f90 ICEs starting with r10-6295

2020-01-30 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93501 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC|

  1   2   3   >