[Bug rtl-optimization/94864] Failure to combine vunpckhpd+movsd into single vunpckhpd

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94864 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/94844] Simple nonsensical program accepted by g++ (rejected by clang++)

2020-04-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94844 --- Comment #2 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #1) > This is intentional. You get a diagnostic with -pedantic or -pedantic-errors > > 94844.cc: In function ‘int main()’: > 94844.cc:9:8: warning: ‘long’ specified

[Bug target/94865] Failure to combine unpckhpd+unpcklpd into blendps

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94865 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Last recon

[Bug c++/80516] No error for bad type-specifier-seq in template parameter

2020-04-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80516 --- Comment #4 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #3) > The warning has changed slightly since GCC 9: > > 80516.cc:6:3: warning: ‘signed’ specified with ‘u’ {aka ‘unsigned int’} > [-Wpedantic] > 6 | S s; >

[Bug target/94866] Failure to optimize pinsrq of 0 with index 1 into movq

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94866 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-04-30 Status|UNCONFIRM

[Bug c++/80516] No error for bad type-specifier-seq in template parameter

2020-04-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80516 --- Comment #5 from Andrew Pinski --- This extension has been in G++ since G++ was checked into a repo.

[Bug c++/94867] [9 Regression] New (since gcc 8) false positive with -Wnull-dereference in very simple code

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94867 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-04-30 Known to fail|

[Bug tree-optimization/94442] [10 regression] Redundant loads/stores emitted at -O3

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94442 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0 --- Comment #3 from Richard Biener

[Bug c++/94529] [8/9/10 Regression] Wrong error message for template member function specialization

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94529 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Version|unknown

[Bug lto/94848] [Offloading][LTO] error due to only partially eliminated var / -ftree-pre causes link errors | libgomp.fortran/use_device_ptr-optional-3.f90 failures

2020-04-30 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94848 --- Comment #1 from Tobias Burnus --- Similar: * PR71536 – *ICE* with *unused* static variable in declare-target function Richard wrote in https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544905.html > IIRC there was a bugreport similar to t

[Bug target/94538] [9/10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 Richard Biener changed: What|Removed |Added Summary|[10 Regression] ICE: in |[9/10 Regression] ICE: in

[Bug lto/94848] [Offloading][LTO] error due to only partially eliminated var / -ftree-pre causes link errors | libgomp.fortran/use_device_ptr-optional-3.f90 failures

2020-04-30 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94848 --- Comment #2 from Tobias Burnus --- Also possibly related (static local device variable) are the fixed PRs, which might give a hint how to solve it (although, those look more like a band aid): * PR85063 – local variable for switch statement; s

[Bug debug/94868] New: GCC compile error(GCC-4.6.3)

2020-04-30 Thread zhaojing2 at longcheer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94868 Bug ID: 94868 Summary: GCC compile error(GCC-4.6.3) Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assi

[Bug target/94863] Failure to use blendps over mov when possible

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94863 --- Comment #3 from Gabriel Ravier --- For binary size, the `movsd` takes 4 bytes and the `blendps` takes 6 bytes The port allocations for the instructions are as such (same formatting as for the throughputs) : Wolfdale: p5, p015 Nehalem: p5,

[Bug fortran/93581] [9 Regression] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6951

2020-04-30 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93581 --- Comment #9 from Paul Thomas --- (In reply to Tobias Burnus from comment #7) > Patch was submitted at > https://gcc.gnu.org/pipermail/fortran/2020-March/054050.html > > And committed as r10-7081-g9de42a8e995451cb13dceb3970ae23ff88240bff > [

[Bug ipa/94856] [10 Regression] ICE: Segmentation fault (in clone_of_p); or ICE: verify_cgraph_node failed (error: edge points to wrong declaration) since r10-4944-g1e83bd7003e03160

2020-04-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94856 --- Comment #4 from Martin Liška --- Reduced test-case: class a { public: virtual ~a() {} }; class b { public: virtual void c(); }; class C : a, public b {}; class d : C { ~d(); void c(); }; d::~d() { ((b *)this)->c(); } void d::c() {}

[Bug tree-optimization/94836] Failure to optimize condition based on known value of static variable

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94836 --- Comment #2 from Richard Biener --- OK, so it's not that easy to do. Consider int f(int x) { static int s; if (!s) s = x; return s; } which we cannot optimize in this way. VN would need to work in a way assigning the

[Bug tree-optimization/94836] Failure to optimize condition based on known value of static variable

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94836 Richard Biener changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/94869] New: Template argument deduction/substitution failure with Howard Hinnant's calendar library

2020-04-30 Thread lcarreon at bigpond dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94869 Bug ID: 94869 Summary: Template argument deduction/substitution failure with Howard Hinnant's calendar library Product: gcc Version: 10.0 Status: UNCONFIRMED Se

[Bug debug/94868] GCC compile error(GCC-4.6.3)

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94868 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/94870] New: Failure to use movhlps instead of seperated mov+unpckhpd

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94870 Bug ID: 94870 Summary: Failure to use movhlps instead of seperated mov+unpckhpd Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priori

[Bug target/57002] ARM back end has extra entries in attribute interrupt array.

2020-04-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57002 --- Comment #4 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:03afbf335776916724b0608c256495c04a369d2b commit r10-8063-g03afbf335776916724b0608c256495c04a369d2b Author: Christophe Lyon Date:

[Bug target/57002] ARM back end has extra entries in attribute interrupt array.

2020-04-30 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57002 Christophe Lyon changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/94856] [10 Regression] ICE: Segmentation fault (in clone_of_p); or ICE: verify_cgraph_node failed (error: edge points to wrong declaration) since r10-4944-g1e83bd7003e03160

2020-04-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94856 --- Comment #5 from Martin Liška --- So the GNU TM is involved only very slightly as it prevents one inlining candidate: Without -fgnu-tm: Enqueueing calls in d::~d()/9. Estimating body: c.constprop/34 Known to be false: not inlined si

[Bug ipa/94856] [10 Regression] ICE: Segmentation fault (in clone_of_p); or ICE: verify_cgraph_node failed (error: edge points to wrong declaration) since r10-4944-g1e83bd7003e03160

2020-04-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94856 --- Comment #6 from Martin Liška --- With the patch, minimal options are: g++ pr47218.ii -fno-tree-dse --param uninlined-function-insns=0 --param early-inlining-insns=3 -O2 -c

[Bug testsuite/94763] UNRESOLVED scan assembler tests on arm-none-eabi

2020-04-30 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94763 --- Comment #3 from Christophe Lyon --- (In reply to vvinayag from comment #2) > Sorry for the late reply. > The tests appear to pass when I invoke them locally. They only failed as > part of our buildbot run tests. It could be a glitch in our

[Bug libstdc++/94869] [10 Regression] Template argument deduction/substitution failure with Howard Hinnant's calendar library

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94869 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Last reconfirmed|

[Bug testsuite/94725] Tests with proprietary license notices

2020-04-30 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94725 --- Comment #4 from Paul Thomas --- https://gcc.gnu.org/g:31e6f8293362979aea53b5cae3fa6ab0b6981694 commit r10-8064-g31e6f8293362979aea53b5cae3fa6ab0b6981694 Author: Paul Thomas Date: Thu Apr 30 09:56:01 2020 +0100 PR94725 - deleting gfor

[Bug target/94871] New: Failure to convert cmpeqpd+pxor with -1 into cmpneqpd

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94871 Bug ID: 94871 Summary: Failure to convert cmpeqpd+pxor with -1 into cmpneqpd Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug tree-optimization/39612] [8/9 Regression] LIM inserts loads from uninitialized local memory

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39612 --- Comment #37 from Richard Biener --- Eww. Fixing the missed optimization causes tons of maybe-uninit warnings. That was probably to be expected since we're introducing undefs on the loop entry edge and conditional uses. We eventually should

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

2020-04-30 Thread stefansf at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 94769, which changed state. Bug 94769 Summary: Possible use of uninitialized variable num https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94769 What|Removed |Added -

[Bug fortran/94769] Possible use of uninitialized variable num

2020-04-30 Thread stefansf at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94769 Stefan Schulze Frielinghaus changed: What|Removed |Added Resolution|--- |FIXED Status|U

[Bug target/94538] [9/10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-30 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 Christophe Lyon changed: What|Removed |Added Known to work||9.2.0 --- Comment #18 from Christophe

[Bug d/90719] libphobos.phobos_shared/std/file.d FAILs on 32-bit Solaris

2020-04-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90719 --- Comment #11 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:05b6520ed29a9e2b5480ecab4e71d999c7d04f29 commit r10-8066-g05b6520ed29a9e2b5480ecab4e71d999c7d04f29 Author: Iain Buclaw Date: Thu A

[Bug d/94825] libphobos test case failures on powerpc64

2020-04-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94825 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:05b6520ed29a9e2b5480ecab4e71d999c7d04f29 commit r10-8066-g05b6520ed29a9e2b5480ecab4e71d999c7d04f29 Author: Iain Buclaw Date: Thu Ap

[Bug ipa/94856] [10 Regression] ICE: Segmentation fault (in clone_of_p); or ICE: verify_cgraph_node failed (error: edge points to wrong declaration) since r10-4944-g1e83bd7003e03160

2020-04-30 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94856 --- Comment #7 from Martin Jambor --- The "edge points to wrong decl" case is a verifier error. We have a method which (in the course of IPA-CP) loses its this pointer because it is unused and the pass then does not clone all the this adjusting

[Bug c/94842] [8/9/10 Regression] internal compiler error: in gimplify_label_expr, at gimplify.c:2573

2020-04-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94842 --- Comment #4 from Jakub Jelinek --- Indeed: _Atomic float x = 5; void bar (float y[(int) (x += 2)]) { } is accepted while _Atomic float x = 5; void foo (void) { void bar (float y[(int) (x += 2)]) {} } ICEs. The problem is that create_artif

[Bug debug/94868] GCC compile error(GCC-4.6.3)

2020-04-30 Thread zhaojing2 at longcheer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94868 --- Comment #2 from Zhao Jing --- Dear Richard Biener: I have already installed gmp/mpfr/mpc before install gcc. zhaojing2@ubuntu:/opt/gcc-4.6.3$ ls gmp-4.3.2/gmp_install/ include lib share zhaojing2@ubuntu:/opt/gcc-4.6.3$ ls mpfr-2.4.2/mpfr_

[Bug c/94842] [8/9/10 Regression] internal compiler error: in gimplify_label_expr, at gimplify.c:2573

2020-04-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94842 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/94871] Failure to convert cmpeqpd+pxor with -1 into cmpneqpd

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94871 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Target|

[Bug tree-optimization/94872] New: Failure to optimize shuffle from u32 array into u64 array properly

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94872 Bug ID: 94872 Summary: Failure to optimize shuffle from u32 array into u64 array properly Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/94873] New: [8/9/10 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

2020-04-30 Thread zsojka at seznam dot cz
rch64-unknown-linux-gnu-ld --with-as=/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r10-8064-20200430095601-g31e6f829336-checking-yes-rtl-df-extra-aarch64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.0.1 20200430 (experimental) (GCC)

[Bug middle-end/94874] New: [OpenMP] Unhelpful 'defaultmap(none)' diagnostic for 'DECL_ARTIFICIAL': 'error: ‘array_li.0’ not specified in enclosing ‘target’'

2020-04-30 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94874 Bug ID: 94874 Summary: [OpenMP] Unhelpful 'defaultmap(none)' diagnostic for 'DECL_ARTIFICIAL': 'error: ‘array_li.0’ not specified in enclosing ‘target’' Product: gcc

[Bug middle-end/94874] [OpenMP] Unhelpful 'defaultmap(none)' diagnostic for 'DECL_ARTIFICIAL': 'error: ‘array_li.0’ not specified in enclosing ‘target’'

2020-04-30 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94874 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug middle-end/94874] [OpenMP] Unhelpful 'defaultmap(none)' diagnostic for 'DECL_ARTIFICIAL': 'error: ‘array_li.0’ not specified in enclosing ‘target’'

2020-04-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94874 --- Comment #2 from Jakub Jelinek --- This is something that is handled by lang_hooks.decls.omp_predetermined_sharing some FEs need to treat all DECL_ARTIFICIAL decls that way, others perhaps a subset of them.

[Bug debug/94875] New: -fdebug-types-section drops DW_AT_object_pointer

2020-04-30 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94875 Bug ID: 94875 Summary: -fdebug-types-section drops DW_AT_object_pointer Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d

[Bug middle-end/94876] New: [OpenACC] Unhelpful mapping for 'DECL_ARTIFICIAL' inside OpenACC 'kernels' regions

2020-04-30 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94876 Bug ID: 94876 Summary: [OpenACC] Unhelpful mapping for 'DECL_ARTIFICIAL' inside OpenACC 'kernels' regions Product: gcc Version: 10.0 Status: UNCONFIRMED Keyword

[Bug middle-end/94876] [OpenACC] Unhelpful mapping for 'DECL_ARTIFICIAL' inside OpenACC 'kernels' regions

2020-04-30 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94876 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug middle-end/94876] [OpenACC] Unhelpful mapping for 'DECL_ARTIFICIAL' inside OpenACC 'kernels' regions

2020-04-30 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94876 --- Comment #2 from Thomas Schwinge --- Created attachment 48419 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48419&action=edit '0001-WIP-Refuse-OMP-OpenACC-DECL_ARTIFICIAL-in-oacc_defau.patch' Indeed, using the attached '0001-WIP-Refuse

[Bug fortran/94358] [OMP] Privatize internal array variables introduced by the Fortran FE

2020-04-30 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94358 --- Comment #2 from Thomas Schwinge --- (In reply to Thomas Schwinge from comment #0) > The original test case, 'gcc/testsuite/gfortran.dg/goacc/default_none.f95', > had already gotten committed (unmodified) to trunk in r229832 (commit > ef014f95

[Bug debug/94875] -fdebug-types-section drops DW_AT_object_pointer

2020-04-30 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94875 --- Comment #1 from Tom de Vries --- Minimal example: ... $ cat derivation.cc class A { public: A() {} int afoo() { return 1; } }; A a_instance; int main (void) { return 0; } ... compiled as: ... $ g++ derivation.cc -g -fdebug-types-se

[Bug debug/94847] -fdebug-types-section drops const in type

2020-04-30 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94847 --- Comment #2 from Tom de Vries --- Minimal test-case: ... $ cat constvars.c int main (void) { const char laconic = 'A'; volatile char vox = 'X'; const volatile char victor = 'Y'; return 0; } ... Compiled like this: ... $ gcc -g constv

[Bug tree-optimization/94877] New: Failure to simplify ~(x + 1) to -2 - x

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94877 Bug ID: 94877 Summary: Failure to simplify ~(x + 1) to -2 - x Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimi

[Bug target/94748] aarch64: many unnecessary bti j emitted

2020-04-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94748 --- Comment #2 from CVS Commits --- The master branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:6ac83d350604c3e934d5e8a455ba7ec1c1c0240b commit r10-8069-g6ac83d350604c3e934d5e8a455ba7ec1c1c0240b Author: Szabolcs Nagy Date: Fr

[Bug tree-optimization/94878] New: Failure to optimize div with bls/or pattern

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94878 Bug ID: 94878 Summary: Failure to optimize div with bls/or pattern Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-o

[Bug tree-optimization/94878] Failure to optimize div with bls/or pattern

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94878 --- Comment #1 from Gabriel Ravier --- Also, the assembly outputs are for when compiling with with `-mbmi` but that should not affect the bug itself

[Bug tree-optimization/39612] [8/9 Regression] LIM inserts loads from uninitialized local memory

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39612 --- Comment #38 from Richard Biener --- Created attachment 48420 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48420&action=edit patch Tested on x86_64-unknown-linux-gnu, queued for GCC 11. Note it does not (and cannot) fix the case for

[Bug c++/94879] coroutines: ICE building folly in captures_temporary, at cp/coroutines.cc:2707

2020-04-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94879 Iain Sandoe changed: What|Removed |Added Target Milestone|--- |10.0 Keywords|

[Bug c++/94879] New: coroutines: ICE building folly in captures_temporary, at cp/coroutines.cc:2707

2020-04-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94879 Bug ID: 94879 Summary: coroutines: ICE building folly in captures_temporary, at cp/coroutines.cc:2707 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: n

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 Richard Biener changed: What|Removed |Added Attachment #48381|0 |1 is obsolete|

[Bug target/94538] [9/10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-30 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 --- Comment #19 from Wilco --- Yes I have a GCC9.3 build now, this fails too.

[Bug tree-optimization/94880] New: Failure to recognize andn pattern

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94880 Bug ID: 94880 Summary: Failure to recognize andn pattern Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimizatio

[Bug tree-optimization/94882] New: Failure to optimize and+or+sub into xor+not

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94882 Bug ID: 94882 Summary: Failure to optimize and+or+sub into xor+not Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-o

[Bug sanitizer/94881] New: incorrect Wstringop-overflow warning with thread sanitizer

2020-04-30 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94881 Bug ID: 94881 Summary: incorrect Wstringop-overflow warning with thread sanitizer Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/94775] [8/9/10 Regression] ICE in strip_typedefs, at cp/tree.c:1734 since r8-4668-g8a5ee94a082b3d48

2020-04-30 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94775 --- Comment #10 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:6318fe77395fc0dd59419bc4d69cd06ac0158e54 commit r10-8071-g6318fe77395fc0dd59419bc4d69cd06ac0158e54 Author: Marek Polacek Date: W

[Bug rtl-optimization/94873] [8/9/10 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

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

[Bug sanitizer/94881] [10 Regression] incorrect Wstringop-overflow warning with thread sanitizer since r10-5451-gef29b12cfbb4979a

2020-04-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94881 Martin Liška changed: What|Removed |Added CC||msebor at gcc dot gnu.org Target Milest

[Bug rtl-optimization/94873] [8/9/10 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

2020-04-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94873 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/94873] [8/9/10 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

2020-04-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94873 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug tree-optimization/94872] Failure to optimize shuffle from u32 array into u64 array properly

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94872 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Ever confirmed|

[Bug c++/94883] New: coroutines: ICE building folly in verify_gimple_stmt, at tree-cfg.c:4959

2020-04-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94883 Bug ID: 94883 Summary: coroutines: ICE building folly in verify_gimple_stmt, at tree-cfg.c:4959 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/94883] coroutines: ICE building folly in verify_gimple_stmt, at tree-cfg.c:4959

2020-04-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94883 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Assignee|unassigned at gcc d

[Bug c++/94775] [8/9 Regression] ICE in strip_typedefs, at cp/tree.c:1734 since r8-4668-g8a5ee94a082b3d48

2020-04-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94775 Marek Polacek changed: What|Removed |Added Summary|[8/9/10 Regression] ICE in |[8/9 Regression] ICE in

[Bug tree-optimization/94877] Failure to simplify ~(x + 1) to -2 - x

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94877 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-04-30 Keywords|

[Bug tree-optimization/94878] Failure to optimize div with bls/or pattern

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94878 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug tree-optimization/94880] Failure to recognize andn pattern

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94880 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug tree-optimization/94882] Failure to optimize and+or+sub into xor+not

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94882 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-04-30 Status|UNCONFIRM

[Bug tree-optimization/94884] New: Failure to recognize that result of or is always superior to operands

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94884 Bug ID: 94884 Summary: Failure to recognize that result of or is always superior to operands Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/94884] Failure to recognize that result of or is always superior to operands

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94884 --- Comment #1 from Gabriel Ravier --- `f` can also be translated to `return true;` when it's this : bool f(unsigned x, unsigned y) { return (x & y) <= getXOrY(x, y); }

[Bug tree-optimization/94884] Failure to recognize that result of or is always superior to operands

2020-04-30 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94884 --- Comment #2 from Gabriel Ravier --- Also when it is this : bool f(unsigned x, unsigned y) { return x <= (x | ~y); }

[Bug tree-optimization/94884] Failure to recognize that result of or is always superior to operands

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94884 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/94885] New: Functional cast from int to empty class incorrectly accepted with -std=c++2a

2020-04-30 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94885 Bug ID: 94885 Summary: Functional cast from int to empty class incorrectly accepted with -std=c++2a Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: nor

[Bug c++/94885] Functional cast from int to empty class type with empty base incorrectly accepted with -std=c++2a

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

[Bug middle-end/88780] [8/9/10 Regression] bogus -Wstringop-truncation for copying as many bytes from a string as its length

2020-04-30 Thread jiapei at longervision dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88780 Pei JIA changed: What|Removed |Added CC||jiapei at longervision dot com --- Comment #4

[Bug tree-optimization/94675] [9/10 regression] -Warray-bounds false positive with -O2 since r9-1948

2020-04-30 Thread chantry.xavier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94675 --- Comment #18 from Xavier --- The lib has been recently opensourced so I can share it : https://github.com/Intersec/lib-common/blob/master/src/core/str-stream.h We have 100-200 usages of p_end/s_end/b_end so even if it's possible to patch them

[Bug c++/94885] Functional cast from int to empty class type with empty base incorrectly accepted with -std=c++2a

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

[Bug c++/94886] New: coroutines: ICE building folly, in transform_local_var_uses, at cp/coroutines.cc:1908

2020-04-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94886 Bug ID: 94886 Summary: coroutines: ICE building folly, in transform_local_var_uses, at cp/coroutines.cc:1908 Product: gcc Version: 10.0 Status: UNCONFIRMED Seve

[Bug c++/94886] coroutines: ICE building folly, in transform_local_var_uses, at cp/coroutines.cc:1908

2020-04-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94886 Iain Sandoe changed: What|Removed |Added Keywords||ice-on-valid-code Assignee|unass

[Bug debug/94887] New: -fdebug-types-section drops DW_TAG_formal_parameter and DW_TAG_template_type_param

2020-04-30 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94887 Bug ID: 94887 Summary: -fdebug-types-section drops DW_TAG_formal_parameter and DW_TAG_template_type_param Product: gcc Version: 10.0 Status: UNCONFIRMED Severit

[Bug libstdc++/89510] [9/10 Regression] new_allocator::construct needs to be constrained

2020-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89510 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-04-30 Summary|new_allo

[Bug c++/94888] New: segment fault

2020-04-30 Thread chunqiu1234 at foxmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94888 Bug ID: 94888 Summary: segment fault Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned

[Bug c++/94888] segment fault

2020-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94888 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/94888] segment fault

2020-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94888 --- Comment #2 from Jonathan Wakely --- AddressSanitizer:DEADLYSIGNAL = ==198476==ERROR: AddressSanitizer: stack-overflow on address 0x7ffc0eba4ff8 (pc 0x7f4eab1169b4 bp 0x7f4eab20ef

[Bug libstdc++/94869] [10 Regression] Template argument deduction/substitution failure with Howard Hinnant's calendar library

2020-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94869 --- Comment #2 from Jonathan Wakely --- It includes tons of std::lib headers: #include #include #include #include #include #if !(__cplusplus >= 201402) # include #endif #include #include #include #include #include #include #include

[Bug c++/94827] [10 Regression] crash on requires clause in tparam list since r10-4424

2020-04-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94827 --- Comment #3 from Nathan Sidwell --- Created attachment 48425 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48425&action=edit try instantiating the fn This one ices with the initial patch.

[Bug c++/94885] Functional cast from int to empty class type with empty base incorrectly accepted with -std=c++2a

2020-04-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94885 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/94885] [10 Regression] Functional cast from int to empty class type with empty base incorrectly accepted with -std=c++2a

2020-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94885 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0 Summary|Functional cast

[Bug c/94889] New: Negate function not getting optimised to negate call

2020-04-30 Thread satanichiya at waifu dot club
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94889 Bug ID: 94889 Summary: Negate function not getting optimised to negate call Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug libstdc++/94890] New: std::tuple({0}) fails to compile with -std=c++2a

2020-04-30 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94890 Bug ID: 94890 Summary: std::tuple({0}) fails to compile with -std=c++2a Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/94856] [10 Regression] ICE: Segmentation fault (in clone_of_p); or ICE: verify_cgraph_node failed (error: edge points to wrong declaration) since r10-4944-g1e83bd7003e03160

2020-04-30 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94856 --- Comment #8 from Martin Jambor --- I proposed the patch on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544943.html

  1   2   >