[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,

[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

[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 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 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

[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:

[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 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 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 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

[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:

[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 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 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

[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 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 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++/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:

[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:

[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 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 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

[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 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 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 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:

[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 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

[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

[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 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++/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 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/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

[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=edit A patch If it looks OK, I will add a couple testcases.

[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 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

<    1   2