[Bug fortran/93635] New: Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group

2020-02-08 Thread urbanjost at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93635 Bug ID: 93635 Summary: Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group Product: gcc

[Bug c/82318] -fexcess-precision=standard has no effect on a libm function call

2020-02-08 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82318 --- Comment #9 from Rich Felker --- Indeed, I don't think the ABI says anything about this; a bug against the psABI should probably be opened.

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2020-02-08 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 --- Comment #14 from Rich Felker --- > No problems: FLT_EVAL_METHOD==2 means "evaluate all operations and constants > to the range and precision of the long double type", which is what really > occurs. The consequence is indeed double rounding

[Bug c/82318] -fexcess-precision=standard has no effect on a libm function call

2020-02-08 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82318 --- Comment #8 from Vincent Lefèvre --- (In reply to Rich Felker from comment #7) > Note that such an option would be nice to have anyway, for arbitrary > functions, since it's necessary for being able to call code that was > compiled with

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2020-02-08 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 --- Comment #13 from Vincent Lefèvre --- (In reply to Rich Felker from comment #12) > [...] and making the floating point results even more semantically incorrect > (double-rounding all over the place, mismatching FLT_EVAL_METHOD==2) No

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2020-02-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #20 from Andrew Pinski --- So the original testcase shows there are missing other bitop related optimizations on the tree level and conversions. I have two patches which fix the original issue. The first patch also fixes: unsigned

[Bug target/91927] -mstrict-align doesn't prevent unaligned accesses at -O2 and -O3 on AARCH64 targets

2020-02-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91927 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/92518] [10 regression] ppc rounding tests fail after r278207

2020-02-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92518 --- Comment #8 from Segher Boessenkool --- I confirm this is caused by r278207.

[Bug analyzer/93405] Passing constant arguments to subroutines in Fortran ... and the analyzer.

2020-02-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93405 --- Comment #4 from David Malcolm --- (In reply to Toon Moene from comment #3) > The patch indeed solved the test case. > Thanks ! Thanks for confirming it. Any chance you could review the preparatory patch:

[Bug target/91927] -mstrict-align doesn't prevent unaligned accesses at -O2 and -O3 on AARCH64 targets

2020-02-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91927 --- Comment #12 from CVS Commits --- The master branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:c2a4bf2d6edde8b148421668a4c07c844b994271 commit r10-6530-gc2a4bf2d6edde8b148421668a4c07c844b994271 Author: Andrew Pinski Date:

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-08 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #146 from The Written Word --- (In reply to The Written Word from comment #142) > (In reply to Peter Bisroev from comment #133) > > The tests are from are binutils-2.32. > > > > - gas.log > > FAIL: .file file names > > FAIL: .file

[Bug target/93136] [10 regression] gcc.dg/vmx/ops.c and several other test break after r279772

2020-02-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93136 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/92923] __builtin_vec_xor() causes subregs to be used when not using V4SImode vectors

2020-02-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92923 --- Comment #5 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:4b39d801b2698d0f756231f6f8fa0be5a36f0c05 commit r10-6529-g4b39d801b2698d0f756231f6f8fa0be5a36f0c05 Author: Peter Bergner Date:

[Bug target/93136] [10 regression] gcc.dg/vmx/ops.c and several other test break after r279772

2020-02-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93136 --- Comment #4 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:4b39d801b2698d0f756231f6f8fa0be5a36f0c05 commit r10-6529-g4b39d801b2698d0f756231f6f8fa0be5a36f0c05 Author: Peter Bergner Date:

[Bug fortran/93484] [8/9/10 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120 since r7-4028-g87c9fca50cbe7ca9

2020-02-08 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93484 --- Comment #2 from kargl at gcc dot gnu.org --- This patch is against svn r280157. Whomever commit the patch needs to convert the example code into a testcase. Index: gcc/fortran/match.c

[Bug target/92518] [10 regression] ppc rounding tests fail after r278207

2020-02-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92518 --- Comment #7 from Segher Boessenkool --- Ah, -fdump-ipa-all-all . So it seems like ppc-round.c.072i.icf is what is wrong; it says Equals called for: round_float_uint/3:round_float_int/1 with result: true Equals called for:

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

2020-02-08 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 --- Comment #20 from Jim Wilson --- Thanks for confirming that it solves the buildroot build problem. My gcc mainline g++ test failure turned out to be a thread related issue with qemu cross testing. The testcase works always on hardware, but

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

2020-02-08 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 Jim Wilson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/92518] [10 regression] ppc rounding tests fail after r278207

2020-02-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92518 --- Comment #6 from Segher Boessenkool --- It is still okay in ppc-round.c.048t.local-fnsummary2 but it is wrong in ppc-round.c.088t.fixup_cfg3 (the pass immediately after it, at -O2).

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

2020-02-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 --- Comment #18 from CVS Commits --- The master branch has been updated by Jim Wilson : https://gcc.gnu.org/g:b780f68e025b2cf5631183e199ebf672ea463af6 commit r10-6528-gb780f68e025b2cf5631183e199ebf672ea463af6 Author: Jim Wilson Date: Sat

[Bug fortran/93599] [9/10 regression] Bug in fortran asynchronous I/O wait function

2020-02-08 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93599 --- Comment #6 from Jerry DeLisle --- Forgot to mention. Did you test with or without Janne's patch here: https://gcc.gnu.org/ml/fortran/2020-01/msg00158.html It could be related or influence this.

[Bug fortran/93599] [9/10 regression] Bug in fortran asynchronous I/O wait function

2020-02-08 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93599 --- Comment #5 from Jerry DeLisle --- (In reply to Thomas Koenig from comment #4) > Created attachment 47800 [details] > Possible fix > > Here is something that Nicolas and I came up with. The theory is that > pthread_cond_wait can get a

[Bug fortran/93599] [9/10 regression] Bug in fortran asynchronous I/O wait function

2020-02-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93599 --- Comment #4 from Thomas Koenig --- Created attachment 47800 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47800=edit Possible fix Here is something that Nicolas and I came up with. The theory is that pthread_cond_wait can get a

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-08 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 The Written Word changed: What|Removed |Added Attachment #46623|0 |1 is obsolete|

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-08 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #144 from The Written Word --- (In reply to Peter Bisroev from comment #135) > I just had a chance to do some testing tonight. So attempting to bootstrap > 8.3.0 in stock configuration gives PCREL21B style errors in stage1 as have >

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-08 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #143 from The Written Word --- (In reply to Peter Bisroev from comment #131) > ... > > After a bit of digging around looks > like my ar and ranlib binaries from binutils are not working properly. For > example: >

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-08 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #142 from The Written Word --- (In reply to Peter Bisroev from comment #133) > The tests are from are binutils-2.32. > > - gas.log > FAIL: .file file names > FAIL: .file file names ordering > FAIL: .equ redefinitions (ELF) > FAIL:

[Bug target/92518] [10 regression] ppc rounding tests fail after r278207

2020-02-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92518 --- Comment #5 from Segher Boessenkool --- Actually, this is simply wrong. === ;; Function round_double_uint (round_double_uint, funcdef_no=5, decl_uid=2879, cgraph_uid=3, symbol_order=2) round_double_uint (double a) { int _4; double _5;

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

2020-02-08 Thread giulio.benetti at benettiengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 --- Comment #17 from Giulio Benetti --- (In reply to Andrew Pinski from comment #16) > (In reply to Giulio Benetti from comment #15) > > I mark this bug as resolved by: > > https://gcc.gnu.org/bugzilla/attachment.cgi?id=47794 > > The patch has

[Bug c++/92852] [8/9/10 Regression] location references block not in block tree

2020-02-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92852 --- Comment #11 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:173c8defa6e82f1bc003173b6ee1e4eb2830d1c2 commit r10-6526-g173c8defa6e82f1bc003173b6ee1e4eb2830d1c2 Author: Jason Merrill Date:

[Bug c++/90691] [9/10 regression] -Wsign-compare false-positive with constant

2020-02-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90691 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:aaa26bf496a646778ac861aed124d960b5bf549f commit r10-6527-gaaa26bf496a646778ac861aed124d960b5bf549f Author: Jason Merrill Date:

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

2020-02-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 Andrew Pinski changed: What|Removed |Added Status|RESOLVED|NEW Resolution|FIXED

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

2020-02-08 Thread giulio.benetti at benettiengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 Giulio Benetti changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/93634] Improving modular calculations (e.g. divisibility tests).

2020-02-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93634 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug middle-end/93634] New: Improving modular calculations (e.g. divisibility tests).

2020-02-08 Thread cassio.neri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93634 Bug ID: 93634 Summary: Improving modular calculations (e.g. divisibility tests). Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-08 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #141 from dave.anglin at bell dot net --- On 2020-02-07 8:04 p.m., peter.bisroev at groundlabs dot com wrote: > Program received signal SIGSEGV, Segmentation fault > si_code: 1 - SEGV_MAPERR - Address not mapped to object. >

[Bug c++/93549] [10 Regression] ICE / Segfault in constexpr expansion involving vector_size(16) short COND_EXPR

2020-02-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93549 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c7c09af8ef0fe6671c7733d4d67bb73ecf10fc1b commit r10-6523-gc7c09af8ef0fe6671c7733d4d67bb73ecf10fc1b Author: Jakub Jelinek Date:

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

2020-02-08 Thread giulio.benetti at benettiengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 --- Comment #14 from Giulio Benetti --- Hi Ji, thanks for providing this patch, it fixes the problem.

[Bug libgcc/85334] Shadow stack isn't unwound properly through signal handler

2020-02-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85334 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/81652] [meta-bug] -fcf-protection=full bugs

2020-02-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85334, which changed state. Bug 85334 Summary: Shadow stack isn't unwound properly through signal handler https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85334 What|Removed |Added

[Bug c++/93633] ICE on consteval virtual

2020-02-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93633 --- Comment #2 from Jakub Jelinek --- Created attachment 47798 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47798=edit gcc10-pr93633.patch Untested fix. BTW, your #c0 testcase is not valid, because the new doesn't have corresponding

[Bug c++/93633] ICE on consteval virtual

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

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 Jakub Jelinek changed: What|Removed |Added Status|REOPENED|ASSIGNED Assignee|unassigned

[Bug c++/93633] New: ICE on consteval virtual

2020-02-08 Thread tyker at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93633 Bug ID: 93633 Summary: ICE on consteval virtual Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug target/65782] Assembly failure (invalid register for .seh_savexmm) with -O3 -mavx512f on mingw-w64

2020-02-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65782 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:79ab8c4321b2dc940bb706a7432a530e26f0df1a commit r10-6522-g79ab8c4321b2dc940bb706a7432a530e26f0df1a Author: Jakub Jelinek Date:

[Bug c++/93630] Multi-dimensional array initialization converts empty raw strings to NULL

2020-02-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93630 Jakub Jelinek changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/90947] [9 Regression] Simple lookup table of array of strings is miscompiled

2020-02-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90947 Jakub Jelinek changed: What|Removed |Added CC||rodrigorivascosta at gmail dot com ---

[Bug fortran/93599] [9/10 regression] Bug in fortran asynchronous I/O wait function

2020-02-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93599 --- Comment #3 from Thomas Koenig --- Update: I am not convinced that the error message by helgrind is correct. I have been able to reproduce the error in the meantime, by running the test case with #! /bin/sh set -e while true do for a in

[Bug c++/93632] New: Build time regression in 9.2.1

2020-02-08 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93632 Bug ID: 93632 Summary: Build time regression in 9.2.1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug analyzer/93405] Passing constant arguments to subroutines in Fortran ... and the analyzer.

2020-02-08 Thread toon at moene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93405 --- Comment #3 from Toon Moene --- The patch indeed solved the test case. Thanks !

[Bug d/91916] Maybe a dead code in socket.d

2020-02-08 Thread ibuclaw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91916 --- Comment #3 from ibuclaw at gcc dot gnu.org --- (In reply to Martin Liška from comment #2) > @Iain: ping^2 Hi, sorry for the late pick-up, I guess the dead code must come from this line.