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

2020-01-31 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 --- Comment #7 from Fangrui Song --- > Is -fasynchronous-unwind-tables compatible with -fpatchable-function-entry? Apparently the Linux kernel does not care about it. To make it usable in userspace, we should place .cfi_startproc in a reasonable

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

2020-01-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 H.J. Lu changed: What|Removed |Added Attachment #47759|0 |1 is obsolete|

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

2020-01-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW

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

2020-01-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 H.J. Lu changed: What|Removed |Added Attachment #47758|0 |1 is obsolete|

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

2020-01-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 --- Comment #4 from H.J. Lu --- Created attachment 47758 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47758&action=edit A patch If it looks OK, I will add a couple testcases.

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2020-01-31 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #13 from Alan Modra --- Yes, I came to the conclusion myself that this is really nothing to do with dereferencing. So my original claim and Andrew's replies about dereferencing are not relevant. The standard says of unary & "The op

[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-31 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90374 --- Comment #32 from Jerry DeLisle --- Thanks Thomas, I will have a look. It really helps to have a second pair of eyes on this.

[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-31 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90275 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #9 fr

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

2020-01-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from H.J. Lu --- (In r

[Bug lto/66305] -ffat-lto-objects create unreproducible objects

2020-01-31 Thread peter at lekensteyn dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66305 Peter Wu changed: What|Removed |Added CC||peter at lekensteyn dot nl --- Comment #6 fro

[Bug target/93532] RISCV g++ hangs with optimization >= -O2

2020-01-31 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/93532] RISCV g++ hangs with optimization >= -O2

2020-01-31 Thread giulio.benetti at benettiengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 --- Comment #2 from Giulio Benetti --- Sorry for the noise. This is true when compiling c files too. :-)

[Bug c++/93532] RISCV g++ hangs with optimization >= -O2

2020-01-31 Thread giulio.benetti at benettiengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 --- Comment #1 from Giulio Benetti --- And the same behaviour is observed building lmbench too. Here is the log: http://autobuild.buildroot.net/results/d47/d47e46889d7bcc5864c738cb948afc168327b612/build-end.log

[Bug c++/93532] New: RISCV g++ hangs with optimization >= -O2

2020-01-31 Thread giulio.benetti at benettiengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 Bug ID: 93532 Summary: RISCV g++ hangs with optimization >= -O2 Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/86216] g++ ICE on valid code: verify_ssa failed

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

[Bug c++/16994] [meta-bug] VLA and C++

2020-01-31 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 86216, which changed state. Bug 86216 Summary: g++ ICE on valid code: verify_ssa failed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86216 What|Removed |Added ---

[Bug c++/86216] g++ ICE on valid code: verify_ssa failed

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86216 --- Comment #9 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:00a49cd840f60774b0e9e0109fb10559bc9a9194 commit r10-6389-g00a49cd840f60774b0e9e0109fb10559bc9a9194 Author: Jason Merrill Date: Fr

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

2020-01-31 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14179 Jason Merrill changed: What|Removed |Added Known to work||10.0 --- Comment #83 from Jason Merrill

[Bug fortran/83113] Bogus "duplicate allocatable attribute" error for submodule character function

2020-01-31 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83113 --- Comment #9 from Andrew Benson --- Note that this patch doesn't check that the duplicate attributes are valid or consistent with those declared in the module. For example both: module mm implicit none interface module function c()

[Bug fortran/83113] Bogus "duplicate allocatable attribute" error for submodule character function

2020-01-31 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83113 Andrew Benson changed: What|Removed |Added CC||abensonca at gmail dot com --- Comment #

[Bug c/91922] #pragma pack(push,4) does not align element on 32 bit boundary properly

2020-01-31 Thread slightbody at ledroadwaylighting dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91922 --- Comment #2 from slightbody at ledroadwaylighting dot com --- I'm not a regular gcc contributor, but I am a user of the compiler. Just wondering if this issue will ever be addressed?

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

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14179 --- Comment #82 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e98ebda074bf8fc5f630a93085af81f52437d851 commit r10-6388-ge98ebda074bf8fc5f630a93085af81f52437d851 Author: Jason Merrill Date: F

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

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14179 --- Comment #81 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d2b9548f38c77edc29ab0e24e516f1fb341ecea7 commit r10-6387-gd2b9548f38c77edc29ab0e24e516f1fb341ecea7 Author: Jason Merrill Date: T

[Bug rtl-optimization/91333] [9/10 Regression] suboptimal register allocation for inline asm

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

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

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

[Bug rtl-optimization/91333] [9/10 Regression] suboptimal register allocation for inline asm

2020-01-31 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91333 --- Comment #8 from Jeffrey A. Law --- *** Bug 91320 has been marked as a duplicate of this bug. ***

[Bug c++/93530] [10 Regression] ICE on invalid alignas

2020-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93530 --- Comment #5 from Marek Polacek --- > b) that alignas is incorrectly placed Bug 90847

[Bug analyzer/93373] ICE: Segmentation fault (in tree_class_check)

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

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

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

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

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93457 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:6775172431a8e6f0d20ac0c4946d6b5db2f46450 commit r10-6386-g6775172431a8e6f0d20ac0c4946d6b5db2f46450 Author: David Malcolm Date: Fr

[Bug analyzer/93373] ICE: Segmentation fault (in tree_class_check)

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93373 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:09bea5845a50189b093e7fa8d5b840da702197d4 commit r10-6385-g09bea5845a50189b093e7fa8d5b840da702197d4 Author: David Malcolm Date: We

[Bug other/93168] Error messages are full of control code garbage

2020-01-31 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93168 --- Comment #4 from David Malcolm --- Updated patch: https://gcc.gnu.org/ml/gcc-patches/2020-01/msg02096.html

[Bug tree-optimization/93055] [10 Regression] accumulation loops in stepanov_vector benchmark use more instruction level parpallelism

2020-01-31 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93055 --- Comment #10 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #9) > Vlad, any thoughts on this? A pseudo in the loop happens to be spilled. So the pseudo is changed onto its equivalence which is an invariant to the loop.

[Bug c++/93530] [10 Regression] ICE on invalid alignas

2020-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93530 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

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

2020-01-31 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93519 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug middle-end/93531] New: missing -Wrestrict calling strcat with strcpy as argument

2020-01-31 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93531 Bug ID: 93531 Summary: missing -Wrestrict calling strcat with strcpy as argument Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Prior

[Bug libgomp/92305] [10 regression] libgomp.fortran/use_device_addr-1.f90 fails starting with r277606

2020-01-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 --- Comment #18 from Jakub Jelinek --- I believe this is a FE bug, for these functions TYPE_ARG_TYPES of the FUNCTION_TYPE show just 6 arguments and don't include those 4 extra boolean args for the scalar optional dummy vars, and as the function

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

2020-01-31 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91320 --- Comment #7 from Vladimir Makarov --- I've committed a patch solving PR91333. The patch also solves the current PR. https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=2a07345c4f8dabc286fc470e76c53473e5bc3eb7 So I guess we can close the current

[Bug c++/93530] [10 Regression] ICE on invalid alignas

2020-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93530 Marek Polacek changed: What|Removed |Added Target Milestone|--- |10.0 --- Comment #3 from Marek Polacek

[Bug rtl-optimization/91333] [9/10 Regression] suboptimal register allocation for inline asm

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91333 --- Comment #7 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:2a07345c4f8dabc286fc470e76c53473e5bc3eb7 commit r10-6384-g2a07345c4f8dabc286fc470e76c53473e5bc3eb7 Author: Vladimir N. Makarov D

[Bug c++/93530] [10 Regression] ICE on invalid alignas

2020-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93530 --- Comment #2 from Marek Polacek --- r10-4969-g1723e1bedb9545c45619c4023729755243524584

[Bug c++/93530] [10 Regression] ICE on invalid alignas

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

[Bug c++/93530] New: [10 Regression] ICE on invalid alignas

2020-01-31 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93530 Bug ID: 93530 Summary: [10 Regression] ICE on invalid alignas Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Prio

[Bug analyzer/93379] ICE in set_value, at analyzer/region-model.cc:5149

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

[Bug fortran/93365] ICE in match_data_constant, at fortran/decl.c:426

2020-01-31 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93365 --- Comment #12 from Steve Kargl --- On Fri, Jan 31, 2020 at 03:46:04PM +, markeggleston at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93365 > > markeggleston at gcc dot gnu.org changed: > >>> Since I'm no longer

[Bug analyzer/93438] ICE in operator[], at vec.h:867

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

[Bug analyzer/93379] ICE in set_value, at analyzer/region-model.cc:5149

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93379 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:f1c807e887d43551bca0acc16a438d880cfaf7c9 commit r10-6383-gf1c807e887d43551bca0acc16a438d880cfaf7c9 Author: David Malcolm Date: Fr

[Bug analyzer/93438] ICE in operator[], at vec.h:867

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93438 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:455f58ec50465aed9d92dc31d68708a05e499388 commit r10-6382-g455f58ec50465aed9d92dc31d68708a05e499388 Author: David Malcolm Date: Fr

[Bug c++/93529] Implement P1009R2, Array size deduction in new-expressions

2020-01-31 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93529 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/93529] Implement P1009R2, Array size deduction in new-expressions

2020-01-31 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93529 --- Comment #1 from Jason Merrill --- Created attachment 47756 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47756&action=edit initial WIP This implements the simplest form, but not the string literal case or parenthesized init.

[Bug c++/93529] New: Implement P1009R2, Array size deduction in new-expressions

2020-01-31 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93529 Bug ID: 93529 Summary: Implement P1009R2, Array size deduction in new-expressions Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: enhancement

[Bug c++/93528] New: Object copy not optimized out for most sizes in strict aliasing memcpy pattern

2020-01-31 Thread andrey.vihrov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93528 Bug ID: 93528 Summary: Object copy not optimized out for most sizes in strict aliasing memcpy pattern Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity:

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

2020-01-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93515 --- Comment #3 from Jakub Jelinek --- The patch unfortunately regressed: +FAIL: c-c++-common/gomp/loop-5.c (internal compiler error) +FAIL: c-c++-common/gomp/loop-5.c (test for excess errors) which looks like previously broken code on the testcas

[Bug rtl-optimization/91838] [8/9 Regression] incorrect use of shr and shrx to shift by 64, missed optimization of vector shift

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91838 --- Comment #11 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5910b14503dd82772dfeca5336a0176f9b1d260a commit r10-6381-g5910b14503dd82772dfeca5336a0176f9b1d260a Author: Jakub Jelinek Date: F

[Bug libgomp/92305] [10 regression] libgomp.fortran/use_device_addr-1.f90 fails starting with r277606

2020-01-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 --- Comment #17 from Jakub Jelinek --- So, to sum up, in #c9 we are (or want to do) in Fortran roughly what in C we would do with: void foo (double aa, double bb, void *c_aptr, void *c_bptr, double **aptr, double **bptr, _Bool _aa, _Bool _bb, _Bo

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

2020-01-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93496 --- Comment #7 from Jonathan Wakely --- On the gcc-8 branch it was fixed by r261091 for PR 85873

[Bug middle-end/93509] Stack protector should offer trap-only handling

2020-01-31 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93509 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2020-01-31 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91320 --- Comment #6 from Jeffrey A. Law --- Sounds good Vlad. Real curious to see what, if any, heuristics work in practice. We can obviously reevaluate this BZ once you've wrapped up on 91333.

[Bug c++/93527] Internal compiler error when static_assert concept std::regular on class with variadic constrained constructor.

2020-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93527 Marek Polacek changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Marek Polacek -

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

2020-01-31 Thread ikonomisma at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93440 --- Comment #6 from ikonomisma at googlemail dot com --- (In reply to Richard Biener from comment #5) > OK, so I can compile the testcase now but I fail to see the error. We're > doing pointer difference compares and those should work out fine? >

[Bug c++/93527] Internal compiler error when static_assert concept std::regular on class with variadic constrained constructor.

2020-01-31 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93527 --- Comment #3 from Andreas Schwab --- zcat namidevel.pp.cc.gz

[Bug c++/93527] Internal compiler error when static_assert concept std::regular on class with variadic constrained constructor.

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

[Bug c++/93527] Internal compiler error when static_assert concept std::regular on class with variadic constrained constructor.

2020-01-31 Thread pacoarjonilla at yahoo dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93527 --- Comment #1 from Paco Arjonilla --- Created attachment 47755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47755&action=edit Preprocessed source code File is gzipped because its original size is 1055841 bytes.

[Bug c++/93527] New: Internal compiler error when static_assert concept std::regular on class with variadic constrained constructor.

2020-01-31 Thread pacoarjonilla at yahoo dot es
(fc4ea7a) x86_64 x86_64 x86_64 GNU/Linux $ gcc10git --version gcc10git (GCC) 10.0.1 20200131 (experimental) configuration options: $ ../gcc/configure --disable-multilib --enable-languages=c++ --program-suffix=10git Build command: $ make -j 12 maybe related to bug 79917 Compiler command

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

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

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

2020-01-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93496 --- Comment #6 from Jonathan Wakely --- A brief, but maybe too brief look at the other bug. If it's the same issue, I don't understand how it was fixed in GCC 8.2 when r267702 wasn't committed until after the 8.2 release.

[Bug target/93526] x86-64: %c cannot be used in asm for "i" constraint operand and arbitrary constant value

2020-01-31 Thread jbeulich at suse dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93526 --- Comment #3 from jbeulich at suse dot com --- Let me quote documentation then: "Require a constant operand and print the constant expression with no punctuation." There's nothing said about valid value ranges or alike. To me as a user of the

[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-31 Thread vstinner at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93384 --- Comment #29 from Victor Stinner --- Jakub Jelinek: "Fixed on the trunk." Oh wow, that was quick! Thanks for the fix!

[Bug tree-optimization/93055] [10 Regression] accumulation loops in stepanov_vector benchmark use more instruction level parpallelism

2020-01-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93055 --- Comment #9 from Jakub Jelinek --- Vlad, any thoughts on this?

[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-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93384 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/93526] x86-64: %c cannot be used in asm for "i" constraint operand and arbitrary constant value

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

[Bug fortran/93365] ICE in match_data_constant, at fortran/decl.c:426

2020-01-31 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93365 markeggleston at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resol

[Bug target/93526] x86-64: %c cannot be used in asm for "i" constraint operand and arbitrary constant value

2020-01-31 Thread jbeulich at suse dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93526 --- Comment #1 from jbeulich at suse dot com --- Bug 85344 may be related for the signedness aspect.

[Bug target/92388] [10 Regression] ICE in insert_regs, at cse.c:1129

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

[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-31 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90275 --- Comment #8 from Jeffrey A. Law --- *** Bug 92388 has been marked as a duplicate of this bug. ***

[Bug target/93526] New: x86-64: %c cannot be used in asm for "i" constraint operand and arbitrary constant value

2020-01-31 Thread jbeulich at suse dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93526 Bug ID: 93526 Summary: x86-64: %c cannot be used in asm for "i" constraint operand and arbitrary constant value Product: gcc Version: 9.2.0 Status: UNCONFIRMED

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

2020-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 --- Comment #5 from Marek Polacek --- (In reply to Marek Polacek from comment #4) > This is the fix, thought I recall it broke something. That was constexpr-ex4.C: constexpr-ex4.C:13:11: error: no matching function for call to ‘A::operator int

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

2020-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92169 --- Comment #6 from Marek Polacek --- Started with r0-116587-g0fd0752e83525409addcdb904c67dc535bd5c1d1: commit 0fd0752e83525409addcdb904c67dc535bd5c1d1 Author: Jason Merrill Date: Thu May 3 12:19:02 2012 -0400 dwarf2out.c (modified_type_

[Bug target/40838] gcc shouldn't assume that the stack is aligned

2020-01-31 Thread mahatma at eu dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #101 from Dzianis Kahanovich --- Created attachment 47754 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47754&action=edit additional aligning on demand 10.0 (unsure) This is same for gcc 10.0 and not fully verifyed. It MUST w

[Bug target/40838] gcc shouldn't assume that the stack is aligned

2020-01-31 Thread mahatma at eu dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #100 from Dzianis Kahanovich --- Created attachment 47753 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47753&action=edit additional aligning on demand <10.0 Finally (for me), if somebody think to patch by H.J. Lu is not enou

[Bug fortran/93462] ICE in gfc_trans_omp_atomic, at fortran/trans-openmp.c:3771

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93462 --- Comment #3 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:6a97d9eae4543a995f895e6739530f55f5d039a7 commit r10-6372-g6a97d9eae4543a995f895e6739530f55f5d039a7 Author: Tobias Burnus Date: Fr

[Bug gcov-profile/93401] [9/10 regression] It is no longer possible to use -fprofile-generate= on setups with different instrumentation and feedback directories

2020-01-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93401 --- Comment #9 from Jan Hubicka --- This only work because the directory does not change from build time to train time. The paths are not relative instead absolute path is put into every .o file at compile time. jan@skylake:~> gcc -fprofile-gene

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

2020-01-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 Jakub Jelinek changed: What|Removed |Added Priority|P1 |P2

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

2020-01-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] wrong |[8/9 Regression] wrong code

[Bug rtl-optimization/93525] New: Left shift and arithmetic shift could be futher simplified in simplify-rtx.c

2020-01-31 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93525 Bug ID: 93525 Summary: Left shift and arithmetic shift could be futher simplified in simplify-rtx.c Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: mis

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

2020-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92169 Marek Polacek changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug rtl-optimization/91838] [8/9 Regression] incorrect use of shr and shrx to shift by 64, missed optimization of vector shift

2020-01-31 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91838 --- Comment #10 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:e60b1e23626701939e8a2f0cf6fc1e48abdf867b commit r10-6371-ge60b1e23626701939e8a2f0cf6fc1e48abdf867b Author: Tamar Christina Date:

[Bug libgomp/93510] [gfortran] OpenMP target teams distribute reduction with multiply operator gives incorrect results

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

[Bug gcov-profile/93401] [9/10 regression] It is no longer possible to use -fprofile-generate= on setups with different instrumentation and feedback directories

2020-01-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93401 --- Comment #8 from Martin Liška --- (In reply to Jan Hubicka from comment #7) > do you have example how the relative paths can be used? We use them in GCC boostrap for instance ;) We copy .gcda files with: { find . -name '*.*da' | sed

[Bug rtl-optimization/91838] [8/9 Regression] incorrect use of shr and shrx to shift by 64, missed optimization of vector shift

2020-01-31 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91838 Tamar Christina changed: What|Removed |Added Status|NEW |ASSIGNED Component|target

[Bug libgomp/93510] [gfortran] OpenMP target teams distribute reduction with multiply operator gives incorrect results

2020-01-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93510 --- Comment #1 from Jakub Jelinek --- If I get this right, extern void abort (void); extern int random (); int main () { int a[1024]; for (int x = 0; x < 1024; x++) a[x] = 1 + (random () & 1); int d, h; for (int x = 0; x < 1024; x +=

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

2020-01-31 Thread justin.lapolla.hpe at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93496 --- Comment #5 from Justin LaPolla --- I think this may be a duplicate of PR 86669. Thanks for finding it. > Fixed on trunk by r266893 for PR 86669, which doesn't seem related. What makes you say it doesn't seem related?

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

2020-01-31 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65249 --- Comment #28 from Oleg Endo --- (In reply to Rich Felker from comment #27) > We've hit what seems like almost the exact same issue on gcc 8.3.0 with this > minimized testcase: > > void fg(int *); > int get_response(int a) > { > int b; > i

[Bug gcov-profile/93401] [9/10 regression] It is no longer possible to use -fprofile-generate= on setups with different instrumentation and feedback directories

2020-01-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93401 --- Comment #7 from Jan Hubicka --- do you have example how the relative paths can be used?

[Bug tree-optimization/92924] [10 regression] reproducible indirect call profile merging causes 80% slowdown in Firefox pref-reftest-singletons id-getter microbenchmarks

2020-01-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92924 --- Comment #28 from Martin Liška --- Stats one more time (should not wrap around): == Stats for /tmp/prev-gcc == stats for indirect_call: Total: 9218, total freq: 5945116271, covered freq: 3610877419 (60.74%) Histogram: 0 tracked: 6257 (6

[Bug tree-optimization/92924] [10 regression] reproducible indirect call profile merging causes 80% slowdown in Firefox pref-reftest-singletons id-getter microbenchmarks

2020-01-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92924 --- Comment #27 from Martin Liška --- I've just made an experiment with the dynamic allocation of TOPN profile counts (similarly to what clang does). There's a GCC branch that does instrumentation and profiling (including merging): https://gcc.gn

[Bug gcov-profile/93401] [9/10 regression] It is no longer possible to use -fprofile-generate= on setups with different instrumentation and feedback directories

2020-01-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93401 --- Comment #6 from Martin Liška --- (In reply to Jan Hubicka from comment #4) > Actually passing phony / is not needed. We could do right thing with > > gcc foo.c -o /ibb1/foo.o -fprofile-prefix-map== > -fprofile-generate > > or > > gcc foo.

[Bug gcov-profile/93401] [9/10 regression] It is no longer possible to use -fprofile-generate= on setups with different instrumentation and feedback directories

2020-01-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93401 --- Comment #5 from Martin Liška --- (In reply to Jan Hubicka from comment #3) > Just to summarize discussions we had. I think we need to think through > setup where there are different build, train and pgo-buid machines and the > directories ar

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

2020-01-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93515 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug gcov-profile/93401] [9/10 regression] It is no longer possible to use -fprofile-generate= on setups with different instrumentation and feedback directories

2020-01-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93401 --- Comment #4 from Jan Hubicka --- Actually passing phony / is not needed. We could do right thing with gcc foo.c -o /ibb1/foo.o -fprofile-prefix-map== -fprofile-generate or gcc foo.c -o /ibb1/foo.o -fprofile-strip-prefix= -fprofile-generate

  1   2   >