[Bug target/92379] rs6000.c:5598:13: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

2019-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92379 Segher Boessenkool changed: What|Removed |Added Priority|P3 |P5 --- Comment #1 from Segher Boess

[Bug gcov-profile/92382] variable double-definition in routine replace_filename_variables of libgcc/libgcov-driver-system.c

2019-11-05 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92382 --- Comment #5 from qinzhao at gcc dot gnu.org --- Okay, I see. thank you for explanation. I will close this one as not a bug. (In reply to Jakub Jelinek from comment #4)

[Bug target/92379] rs6000.c:5598:13: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92379 --- Comment #2 from Martin Liška --- (In reply to Segher Boessenkool from comment #1) > That's when building the compiler with -O0 only. I also see it when doing a normal bootstrap with --with-build-config=bootstrap-asan. Which should use -O2 -f

[Bug gcov-profile/92382] variable double-definition in routine replace_filename_variables of libgcc/libgcov-driver-system.c

2019-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92382 --- Comment #6 from Jakub Jelinek --- Feel free to open an issue against GDB or GCC< wherever the debug info issue is e.g. for the #c4 testcase. Because certainly I see 0 as the value of v even when it should be 1 or 2.

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

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92380 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug target/92379] rs6000.c:5598:13: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

2019-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92379 --- Comment #3 from Segher Boessenkool --- Sure. But it still is harmless, and a special build config. Which isn't to say it shouldn't be fixed. But it isn't very high on the list, that's all.

[Bug c++/92384] New: Empty class instances have different equal testing result among GCC versions

2019-11-05 Thread michael.hliao at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92384 Bug ID: 92384 Summary: Empty class instances have different equal testing result among GCC versions Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug tree-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 --- Comment #7 from Martin Liška --- @Richi: May I please remind you this issue? Is the debugging patching helping to isolate the issue?

[Bug c++/92338] double/float thought (ambiguous) candidate for C-array index. (Non numeric types aren't.)

2019-11-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338 --- Comment #10 from Jonathan Wakely --- Can you please stop changing the status to FIXED. That means a bug in GCC was fixed. Since nothing in GCC changed, nothing has been fixed. I think all compilers are trying to convert the object to std::pt

[Bug c++/92384] [8/9/10 Regression] Empty class instances have different equal testing result among GCC versions

2019-11-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92384 Jonathan Wakely changed: What|Removed |Added Keywords||ABI Status|UNCONFIRMED

[Bug c++/92384] [8/9/10 Regression] Empty class instances have different equal testing result among GCC versions

2019-11-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92384 --- Comment #2 from Jonathan Wakely --- Reduced: class Empty {}; bool is_same(Empty a, Empty b) { __builtin_printf("%p\n%p\n", &a, &b); void* v[] = { &a, &b }; return v[0] == v[1]; } int main() { Empty a, b; if (is_same(a, b)) _

[Bug middle-end/92384] [8/9/10 Regression] Empty class instances have different equal testing result among GCC versions

2019-11-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92384 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Compon

[Bug middle-end/92363] wrong subscript value printed when indexing into an empty array

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92363 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 92363, which changed state. Bug 92363 Summary: wrong subscript value printed when indexing into an empty array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92363 What|Removed |Added ---

[Bug tree-optimization/92373] [10 Regression] ICE get_initializer_for at gcc/tree.c:13553 since r277728

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92373 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/92385] New: extremely long and memory intensive compilation for brace construction of array member

2019-11-05 Thread edquist at cs dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 Bug ID: 92385 Summary: extremely long and memory intensive compilation for brace construction of array member Product: gcc Version: 7.4.0 Status: UNCONFIRMED Se

[Bug c++/92365] [10 Regression] ice unexpected expression ‘int16_t()’ of kind cast_expr

2019-11-05 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92365 --- Comment #4 from Bernd Edlinger --- Created attachment 47180 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47180&action=edit possible fix This seems to fix the issue, although a fix in cxx_eval_constant_expression might be preferrable.

[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2019-11-05 Thread edquist at cs dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 --- Comment #1 from Carl --- Created attachment 47179 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47179&action=edit original source file with bad compilation performance Note the brace member initialization in the constructor: "item_arr

[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2019-11-05 Thread edquist at cs dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 --- Comment #2 from Carl --- Created attachment 47181 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47181&action=edit source that does not exhibit bad compilation performance Note the constructor initializes the member with parens: "item_

[Bug rtl-optimization/92342] [10 Regression] a small missed transformation into x?b:0

2019-11-05 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342 --- Comment #9 from Richard Earnshaw --- (In reply to Segher Boessenkool from comment #7) > I think the IF_THEN_ELSE version should be canonical, and it should be > formed in simplify_rtx, not at random spots in combine. Why? The and/ior varia

[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2019-11-05 Thread edquist at cs dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 --- Comment #3 from Carl --- Original "good.cpp" and "bad.cpp" sources now attached.

[Bug debug/92386] New: gdb issue with variable-shadowing

2019-11-05 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92386 Bug ID: 92386 Summary: gdb issue with variable-shadowing Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug

[Bug gcov-profile/92382] variable double-definition in routine replace_filename_variables of libgcc/libgcov-driver-system.c

2019-11-05 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92382 --- Comment #7 from qinzhao at gcc dot gnu.org --- I have just created a bug to record the debugging issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92386 (In reply to Jakub Jelinek from comment #6) > Feel free to open an issue against GDB o

[Bug middle-end/92263] [10 Regression] ICE in commit_one_edge_insertion, at cfgrtl.c:2087 since r270758

2019-11-05 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92263 --- Comment #8 from Jim Wilson --- Author: wilson Date: Tue Nov 5 22:34:40 2019 New Revision: 277861 URL: https://gcc.gnu.org/viewcvs?rev=277861&root=gcc&view=rev Log: Allow libcalls for complex memcpy when optimizing for size. The RISC-V back

[Bug middle-end/92263] [10 Regression] ICE in commit_one_edge_insertion, at cfgrtl.c:2087 since r270758

2019-11-05 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92263 Jim Wilson changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #9 from Jim Wilson --

[Bug tree-optimization/91825] [10 regression] Bogus -Wmaybe-uninitialized with r275744 breaks bootstrap

2019-11-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91825 --- Comment #8 from Jason Merrill --- Author: jason Date: Tue Nov 5 23:53:53 2019 New Revision: 277864 URL: https://gcc.gnu.org/viewcvs?rev=277864&root=gcc&view=rev Log: Fix conversions for built-in operator overloading candidates. While worki

[Bug tree-optimization/92373] [10 Regression] ICE in -Warray-bounds on access to member array in an initialized char buffer

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92373 Martin Sebor changed: What|Removed |Added Keywords||patch Summary|[10 Regression]

[Bug other/92090] [10 regression] ICE in gcc.dg/atomic/c11-atomic-exec-5.c starting with r276469

2019-11-05 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92090 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment #

[Bug rtl-optimization/92342] [10 Regression] a small missed transformation into x?b:0

2019-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342 --- Comment #10 from Segher Boessenkool --- There are a gazillion ways to write this without if_then_else, none obviously better than any other, and it gets much worse if your b,c have special values. I don't think this optimisation should be d

[Bug tree-optimization/92373] [10 Regression] ICE in -Warray-bounds on access to member array in an initialized char buffer

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92373 --- Comment #2 from Martin Sebor --- Author: msebor Date: Wed Nov 6 01:25:09 2019 New Revision: 277871 URL: https://gcc.gnu.org/viewcvs?rev=277871&root=gcc&view=rev Log: PR tree-optimization/92373 - ICE in -Warray-bounds on access to member arr

[Bug tree-optimization/92373] [10 Regression] ICE in -Warray-bounds on access to member array in an initialized char buffer

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92373 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70141] [6 Regression] template parameter not deducible in partial specialization of template inside template

2019-11-05 Thread s.lee at dpmms dot cam.ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70141 Sori Lee changed: What|Removed |Added CC||s.lee at dpmms dot cam.ac.uk --- Comment #21

[Bug c++/70141] [6 Regression] template parameter not deducible in partial specialization of template inside template

2019-11-05 Thread postmas...@trippelsdorf-de.bounceio.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70141 --- Comment #22 from postmas...@trippelsdorf-de.bounceio.net --- Your email was bounced... - ... because something went wrong between you and your recipient. Ugh! What to do next? Well

[Bug c++/70141] [6 Regression] template parameter not deducible in partial specialization of template inside template

2019-11-05 Thread s.lee at dpmms dot cam.ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70141 --- Comment #24 from Sori Lee --- I retract my last report. I mistakenly thought my example compiled on clang, but rightly it didn't there either -- the U in the partial specialisation is in a non-deduced context, and fails to be deduced as discu

[Bug c++/70141] [6 Regression] template parameter not deducible in partial specialization of template inside template

2019-11-05 Thread postmas...@trippelsdorf-de.bounceio.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70141 --- Comment #25 from postmas...@trippelsdorf-de.bounceio.net --- Your email was bounced... - ... because something went wrong between you and your recipient. Ugh! What to do next? Well

[Bug go/91992] gcc/testsuite/go/index0-out.x SEGV and spinlock during testsuite run

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91992 --- Comment #5 from Martin Sebor --- I haven't had time to debug it but it would help if the test set up an alarm to avoid hanging the build. Otherwise I have no choice but to disable go in my builds.

[Bug c++/91318] [C++][PATCH] warnings about unused internal macros with -Wunused-macros and #pragma GCC optimize

2019-11-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91318 --- Comment #4 from Eric Gallager --- (In reply to Piotr Henryk Dabrowski from comment #3) > Sent: > https://gcc.gnu.org/ml/gcc-patches/2019-08/msg00325.html Sorry that it doesn't seem to have been reviewed yet; please ping it occasionally!

[Bug debug/92387] New: gcc generates wrong debug information at -O1

2019-11-05 Thread qrzhang at gatech dot edu
runk -v Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.0.0 20191105 (experimental) [trunk revision 277821] (GCC) #expected output $ gcc-trunk -g abc.c $ gdb -x cmds -batch a.out Breakpoint 1 at 0x400540: file abc.c, line 12. Breakpoint 1, main () at abc.c:12 12

[Bug sanitizer/90589] In Fedora 30 ps hangs using address sanitizer

2019-11-05 Thread mccannd at uk dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90589 --- Comment #11 from mccannd at uk dot ibm.com --- I've just discovered that /usr/bin/free also exhibits the same symptoms.

[Bug target/77918] S390: Floating point comparisons don't raise invalid for unordered operands.

2019-11-05 Thread stli at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77918 --- Comment #16 from stli at linux dot ibm.com --- Just as information, this glibc commit will be first available with glibc 2.31 release: "S390: Fp comparison are now raising FE_INVALID with gcc 10." https://sourceware.org/git/?p=glibc.git;a=com

[Bug lto/92279] [10 Regression] ICE in error: non-trivial conversion in 'constructor' since r276416

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92279 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92388 Bug ID: 92388 Summary: ICE in insert_regs, at cse.c:1129 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P

<    1   2