[Bug c++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand

2019-08-02 Thread jbassett271 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64372 Justin Bassett changed: What|Removed |Added CC||jbassett271 at gmail dot com ---

[Bug c++/91335] False positive "unused variable" warning with variable initialized in 'if' condition

2019-08-02 Thread zeratul976 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91335 --- Comment #1 from Nathan Ridge --- (In reply to Nathan Ridge from comment #0) > As a result, the only way to fix the warning is to lift the variable into > the outer scope, which can be undesirable from a code style point of view: (Well, or I

[Bug c++/91335] New: False positive "unused variable" warning with variable initialized in 'if' condition

2019-08-02 Thread zeratul976 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91335 Bug ID: 91335 Summary: False positive "unused variable" warning with variable initialized in 'if' condition Product: gcc Version: unknown Status: UNCONFIRMED

[Bug fortran/89943] Submodule functions are not allowed to have C binding

2019-08-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89943 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/90985] Wrong error message with variables named "DATA*"

2019-08-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90985 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status|NEW

[Bug fortran/90985] Wrong error message with variables named "DATA*"

2019-08-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90985 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Aug 2 23:48:36 2019 New Revision: 274033 URL: https://gcc.gnu.org/viewcvs?rev=274033=gcc=rev Log: 2019-08-02 Steven G. Kargl PR fortran/90985 * decl.c

[Bug fortran/90297] gcc/fortran/resolve.c: 2 * possibly redundant code ?

2019-08-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90297 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug fortran/90986] Wrong error message with variables named "EQUIVALENCE*"

2019-08-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90986 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug c++/91334] New: [10 Regression] internal compiler error: Segmentation fault

2019-08-02 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91334 Bug ID: 91334 Summary: [10 Regression] internal compiler error: Segmentation fault Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/90297] gcc/fortran/resolve.c: 2 * possibly redundant code ?

2019-08-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90297 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Aug 2 21:28:58 2019 New Revision: 274031 URL: https://gcc.gnu.org/viewcvs?rev=274031=gcc=rev Log: 2019-08-02 Steven G. Kargl PR fortran/90297 * match.c

[Bug c/91312] -Wconversion warning with += operator

2019-08-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91312 --- Comment #5 from Andrew Pinski --- (In reply to Kostas Sotiropoulos from comment #4) > Any comments on my questions? Yes go read the c standard about prompting to int here.

[Bug c/91312] -Wconversion warning with += operator

2019-08-02 Thread kosotiro at yahoo dot gr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91312 --- Comment #4 from Kostas Sotiropoulos --- Any comments on my questions?

[Bug c++/77712] [DR903] int() is incorrectly treated as a null pointer constant in C++11 and later

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77712 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

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

2019-08-02 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91333 Bug ID: 91333 Summary: [9/10 Regression] suboptimal register allocation for inline asm Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ra

[Bug libfortran/90374] Fortran 2018: Support d0.d, e0.d, es0.d, en0.d, g0.d and ew.d e0 edit descriptors for output

2019-08-02 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90374 Jerry DeLisle changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug lto/91313] [10 regression] r273908 breaks lto on power 7

2019-08-02 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91313 --- Comment #9 from Steve Kargl --- On Fri, Aug 02, 2019 at 09:30:04AM +, marxin at gcc dot gnu.org wrote: > > --- Comment #8 from Martin Liška --- > Should be fixed now. > Thanks! I can comfirm the issue is fixed on FreeBSD.

[Bug tree-optimization/91326] VRP does not handle array value range

2019-08-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91326 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #2

[Bug c++/67033] [c++11] template argument invalid for integral constant expression beginning with address-of expression

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67033 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/56428] [C++11] "is not a constant expression" when comparing non-type template argument to nullptr

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56428 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/91332] New: ICE: Segfault in gfortran when compiling massive function with -O3

2019-08-02 Thread clogged.drainpipe at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91332 Bug ID: 91332 Summary: ICE: Segfault in gfortran when compiling massive function with -O3 Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal

[Bug c++/56428] [C++11] "is not a constant expression" when comparing non-type template argument to nullptr

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56428 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Fri Aug 2 18:17:20 2019 New Revision: 274028 URL: https://gcc.gnu.org/viewcvs?rev=274028=gcc=rev Log: PR c++/56428 * g++.dg/cpp0x/nontype4.C: New test. Added:

[Bug c++/56428] [C++11] "is not a constant expression" when comparing non-type template argument to nullptr

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56428 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c/78736] enum warnings in GCC (request for -Wenum-conversion to be added)

2019-08-02 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78736 --- Comment #12 from Jonny Grant --- If -Wenum-conversion is not enabled automatically, do those GCC build warnings need to be cleaned up before it is added? It's a bit chicken and egg.

[Bug c++/53009] pointer to static member function of template class is “invalid” as a template argument of another template class

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53009 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/90786] [7/8 Regression] ICE on procedure pointer assignment to function with class pointer result

2019-08-02 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90786 --- Comment #12 from Thomas Koenig --- Author: tkoenig Date: Fri Aug 2 17:51:45 2019 New Revision: 274026 URL: https://gcc.gnu.org/viewcvs?rev=274026=gcc=rev Log: 2019-08-02 Thomas Koenig Paul Thomas Backport from trunk

[Bug c++/53009] pointer to static member function of template class is “invalid” as a template argument of another template class

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53009 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Fri Aug 2 17:51:53 2019 New Revision: 274027 URL: https://gcc.gnu.org/viewcvs?rev=274027=gcc=rev Log: PR c++/53009 * g++.dg/cpp0x/nontype3.C: New test. Added:

[Bug fortran/90813] [10 regression] gfortran.dg/proc_ptr_51.f90 fails (SIGSEGV) after 272084

2019-08-02 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90813 --- Comment #36 from Thomas Koenig --- Author: tkoenig Date: Fri Aug 2 17:51:45 2019 New Revision: 274026 URL: https://gcc.gnu.org/viewcvs?rev=274026=gcc=rev Log: 2019-08-02 Thomas Koenig Paul Thomas Backport from trunk

[Bug c++/53009] pointer to static member function of template class is “invalid” as a template argument of another template class

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53009 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/77575] Bogus error when alias template yielding a reference type used as template template argument

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77575 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/77575] Bogus error when alias template yielding a reference type used as template template argument

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77575 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Fri Aug 2 17:26:02 2019 New Revision: 274024 URL: https://gcc.gnu.org/viewcvs?rev=274024=gcc=rev Log: PR c++/77575 * g++.dg/cpp0x/nontype2.C: New test. Added:

[Bug c++/77575] Bogus error when alias template yielding a reference type used as template template argument

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77575 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c/78736] enum warnings in GCC (request for -Wenum-conversion to be added)

2019-08-02 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78736 --- Comment #11 from joseph at codesourcery dot com --- Discussions of the change continued into Aug / Sep 2017. In particular, there were issues with warnings this introduced in the GCC build (of target libraries), and questions about

[Bug c++/91329] Unnecessary call to __cxa_throw_bad_array_new_length

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

[Bug c++/88795] ICE on class-template argument deduction if non-type parameter has indirection

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88795 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/90737] [8 Regression] inconsistent address of a local converted to intptr_t between callee and caller

2019-08-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90737 Martin Sebor changed: What|Removed |Added Summary|[8/9 Regression]|[8 Regression] inconsistent

[Bug c/90737] [8/9 Regression] inconsistent address of a local converted to intptr_t between callee and caller

2019-08-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90737 --- Comment #8 from Martin Sebor --- Author: msebor Date: Fri Aug 2 17:05:34 2019 New Revision: 274022 URL: https://gcc.gnu.org/viewcvs?rev=274022=gcc=rev Log: Backport from mainline PR c/90737 - [8/9/10 Regression] inconsistent address of a

[Bug tree-optimization/90989] [9 Regression] incorrrect strlen result after second strcpy into the same destination

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

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-08-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 90989, which changed state. Bug 90989 Summary: [9 Regression] incorrrect strlen result after second strcpy into the same destination https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90989 What|Removed

[Bug tree-optimization/90989] [9 Regression] incorrrect strlen result after second strcpy into the same destination

2019-08-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90989 --- Comment #7 from Martin Sebor --- Author: msebor Date: Fri Aug 2 16:57:19 2019 New Revision: 274021 URL: https://gcc.gnu.org/viewcvs?rev=274021=gcc=rev Log: Backport from mainline PR tree-optimization/90989 - incorrrect strlen result after

[Bug c/91046] missing warning about empty translation unit

2019-08-02 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91046 --- Comment #3 from joseph at codesourcery dot com --- There can't be any debug info issues specific to empty translation units, given that _Static_assert (1, ""); is valid as a translation unit in ISO C, and doesn't declare anything that

[Bug testsuite/91331] new test case gcc.dg/torture/pr91323.c from r274005 fails

2019-08-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91331 --- Comment #1 from Uroš Bizjak --- Please see PR91323. LTGT should trap on NaN.

[Bug testsuite/91331] New: new test case gcc.dg/torture/pr91323.c from r274005 fails

2019-08-02 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91331 Bug ID: 91331 Summary: new test case gcc.dg/torture/pr91323.c from r274005 fails Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/91201] [7/8/9/10 Regression] SIMD not generated for horizontal sum of bytes in array

2019-08-02 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91201 --- Comment #23 from uros at gcc dot gnu.org --- Author: uros Date: Fri Aug 2 15:46:02 2019 New Revision: 274018 URL: https://gcc.gnu.org/viewcvs?rev=274018=gcc=rev Log: PR target/91201 * config/i386/sse.md

[Bug c++/91278] Array arithmetic yields "is not a constant expression" error

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91278 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ada/87100] FAIL: gnat.dg/config_pragma1.adb execution test

2019-08-02 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87100 Andreas Schwab changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug jit/91330] New: JIT "dir" entry for info is incomplete

2019-08-02 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91330 Bug ID: 91330 Summary: JIT "dir" entry for info is incomplete Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit

[Bug ada/87100] FAIL: gnat.dg/config_pragma1.adb execution test

2019-08-02 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87100 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/63810] gcc sets incorrect macro for OS X deployment targets

2019-08-02 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63810 --- Comment #33 from Iain Sandoe --- Author: iains Date: Fri Aug 2 14:54:57 2019 New Revision: 274017 URL: https://gcc.gnu.org/viewcvs?rev=274017=gcc=rev Log: darwin, backport driver fixes. 272260,r272479 - Darwin, Driver - Improve processing

[Bug c++/91286] invalid use of incomplete type depends on --enable-checking=release

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91286 --- Comment #2 from Marek Polacek --- The reason for this is: /* When checking, try to get a constant value for all non-dependent expressions in order to expose bugs in *_dependent_expression_p and constexpr. This can affect code

[Bug tree-optimization/90989] [9 Regression] incorrrect strlen result after second strcpy into the same destination

2019-08-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90989 --- Comment #6 from Martin Sebor --- I will backport it today. There are no followup fixes to this one.

[Bug c++/91329] Unnecessary call to __cxa_throw_bad_array_new_length

2019-08-02 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91329 --- Comment #1 from Antony Polukhin --- Ops, sorry. This is invalild. `i` could be negative. Please close as invalid

[Bug c++/88095] class nontype template parameter UDL string literals doesn't accepts deduction placeholder

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88095 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/91329] New: Unnecessary call to __cxa_throw_bad_array_new_length

2019-08-02 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91329 Bug ID: 91329 Summary: Unnecessary call to __cxa_throw_bad_array_new_length Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug c++/88095] class nontype template parameter UDL string literals doesn't accepts deduction placeholder

2019-08-02 Thread tom at honermann dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88095 --- Comment #3 from Tom Honermann --- A patch for this issue has been submitted: https://gcc.gnu.org/ml/gcc-patches/2019-08/msg00150.html

[Bug ada/87100] FAIL: gnat.dg/config_pragma1.adb execution test

2019-08-02 Thread deller at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87100 --- Comment #4 from deller at gmx dot de --- We do not have a RLIMIT_DATA default limit in the Linux kernel. I suspect that's added somewhere outside, e.g. before building gcc/gnat. You may disable the rlimit check by executing: echo Y >

[Bug sanitizer/91325] [ASAN] ASAN hangs at throw if called via dlopen

2019-08-02 Thread jensseidel at users dot sf.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91325 --- Comment #3 from Jens Seidel --- (In reply to Martin Liška from comment #1) > Hm, I can't reproduce that with any version of GCC I have: Was trying it now also on other computers: On Debian 9 with g++ 6.3 and libc-2.24.so it works well, on

[Bug sanitizer/91328] New: stack-use-after-scope for in-class initialization of std::vector member using initializer_list

2019-08-02 Thread geert.fan...@auro-technologies.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91328 Bug ID: 91328 Summary: stack-use-after-scope for in-class initialization of std::vector member using initializer_list Product: gcc Version: 9.1.0 Status: UNCONFIRMED

[Bug rtl-optimization/91327] non-reproducible Internal Compiler Error

2019-08-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91327 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug rtl-optimization/91327] non-reproducible Internal Compiler Error

2019-08-02 Thread j.schleicher at pilz dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91327 --- Comment #2 from j.schleicher at pilz dot de --- Created attachment 46662 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46662=edit command line output during another compilation Note: Free memory was still several hundred megabytes

[Bug sanitizer/91325] [ASAN] ASAN hangs at throw if called via dlopen

2019-08-02 Thread jensseidel at users dot sf.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91325 --- Comment #2 from Jens Seidel --- I am using /lib/x86_64-linux-gnu/libc.so.6 -> libc-2.23.so.

[Bug c++/91230] [9/10 Regression] Template function containing lambda expression that has auto parameter and uses __PRETTY_FUNCTION__ does not compile

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91230 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/91230] [9/10 Regression] Template function containing lambda expression that has auto parameter and uses __PRETTY_FUNCTION__ does not compile

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91230 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Fri Aug 2 13:29:05 2019 New Revision: 274010 URL: https://gcc.gnu.org/viewcvs?rev=274010=gcc=rev Log: PR c++/91230 - wrong error with __PRETTY_FUNCTION__ and generic lambda.

[Bug rtl-optimization/91327] non-reproducible Internal Compiler Error

2019-08-02 Thread j.schleicher at pilz dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91327 --- Comment #1 from j.schleicher at pilz dot de --- Created attachment 46661 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46661=edit Preprocessed source

[Bug c++/91230] [9/10 Regression] Template function containing lambda expression that has auto parameter and uses __PRETTY_FUNCTION__ does not compile

2019-08-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91230 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Fri Aug 2 13:26:06 2019 New Revision: 274009 URL: https://gcc.gnu.org/viewcvs?rev=274009=gcc=rev Log: PR c++/91230 - wrong error with __PRETTY_FUNCTION__ and generic lambda.

[Bug rtl-optimization/91327] New: non-reproducible Internal Compiler Error

2019-08-02 Thread j.schleicher at pilz dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91327 Bug ID: 91327 Summary: non-reproducible Internal Compiler Error Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/91326] VRP does not handle array value range

2019-08-02 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91326 --- Comment #1 from Marc Glisse --- For bar, we don't take advantage of the uninitialized variable enough, we still have "a_3(D) == 0" at expansion time (RTL gets rid of it, but too conservatively). For foo, indeed computing the min and max

[Bug sanitizer/88109] UBSAN can't work with vector operations

2019-08-02 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88109 --- Comment #2 from Zdenek Sojka --- The same applies for eg. division by zero; doing such vector operation results in: $ cat testcase-sanitize.c int v __attribute__ ((vector_size (8))); int main (void) { return (v / v)[0]; } $

[Bug tree-optimization/91326] New: VRP does not handle array value range

2019-08-02 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91326 Bug ID: 91326 Summary: VRP does not handle array value range Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug target/77952] c++11 and gcc: internal compiler error: in convert_move

2019-08-02 Thread coypu at sdf dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77952 coypu changed: What|Removed |Added CC||coypu at sdf dot org --- Comment #2 from coypu

[Bug tree-optimization/91293] [8 Regression] Wrong code with -O3 -mavx2

2019-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91293 --- Comment #7 from Richard Biener --- Author: rguenth Date: Fri Aug 2 12:07:33 2019 New Revision: 274007 URL: https://gcc.gnu.org/viewcvs?rev=274007=gcc=rev Log: 2019-08-02 Richard Biener Backport from mainline 2019-07-31

[Bug tree-optimization/91280] [8/9 Regression] ICE in get_constraint_for_component_ref, at tree-ssa-structalias.c:3259 since r260354

2019-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91280 --- Comment #6 from Richard Biener --- Author: rguenth Date: Fri Aug 2 12:07:33 2019 New Revision: 274007 URL: https://gcc.gnu.org/viewcvs?rev=274007=gcc=rev Log: 2019-08-02 Richard Biener Backport from mainline 2019-07-31

[Bug target/91323] LTGT rtx produces UCOMISS instead of COMISS

2019-08-02 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 --- Comment #12 from joseph at codesourcery dot com --- On Thu, 1 Aug 2019, ubizjak at gmail dot com wrote: > It also means that __builtin_islessgreater is confusingly named. No, __builtin_islessgreater corresponds to the ISO C islessgreater

[Bug target/91323] LTGT rtx produces UCOMISS instead of COMISS

2019-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 --- Comment #11 from Richard Biener --- (In reply to Uroš Bizjak from comment #10) > (In reply to Richard Biener from comment #4) > > quoting rtl.def: > > > > /* This is an ordered NE, ie !UNEQ, ie false for NaN. */ > > DEF_RTL_EXPR(LTGT,

[Bug sanitizer/91311] __attribute__ ((aligned (128))) results in stack-use-after-scope and stack-buffer-overflow

2019-08-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91311 Martin Liška changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #3 from Martin Liška

[Bug target/91323] LTGT rtx produces UCOMISS instead of COMISS

2019-08-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 --- Comment #10 from Uroš Bizjak --- (In reply to Richard Biener from comment #4) > quoting rtl.def: > > /* This is an ordered NE, ie !UNEQ, ie false for NaN. */ > DEF_RTL_EXPR(LTGT, "ltgt", "ee", RTX_COMM_COMPARE) In gensupport.c, we have:

[Bug lto/91299] LTO inlines a weak definition in presence of a non-weak definition from an ELF file

2019-08-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91299 Martin Liška changed: What|Removed |Added Status|NEW |WAITING --- Comment #7 from Martin Liška

[Bug target/91323] LTGT rtx produces UCOMISS instead of COMISS

2019-08-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 --- Comment #9 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #8) > FWIW, using __float128 also traps on LTGT. The adapted testcase: Eh, __float128 should trap on LTGT, but currently, it doesn't.

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

2019-08-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90947 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8

[Bug tree-optimization/90989] [9 Regression] incorrrect strlen result after second strcpy into the same destination

2019-08-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90989 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug target/91323] LTGT rtx produces UCOMISS instead of COMISS

2019-08-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 --- Comment #8 from Uroš Bizjak --- FWIW, using __float128 also traps on LTGT. The adapted testcase: --cut here-- /* { dg-do run } */ /* { dg-add-options ieee } */ /* { dg-require-effective-target fenv_exceptions } */ #include int

[Bug target/91142] [9 Regression] Incorrect aligned vector load instruction emitted because of vinserti32x4 elision

2019-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91142 Richard Biener changed: What|Removed |Added Keywords||needs-bisection CC|

[Bug tree-optimization/90989] [9 Regression] incorrrect strlen result after second strcpy into the same destination

2019-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90989 Richard Biener changed: What|Removed |Added Known to work||10.0 --- Comment #4 from Richard

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

2019-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90947 Richard Biener changed: What|Removed |Added Known to work||10.0 --- Comment #7 from Richard

[Bug c/90737] [8/9 Regression] inconsistent address of a local converted to intptr_t between callee and caller

2019-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90737 --- Comment #7 from Richard Biener --- Please consider backporting for GCC 9.2.

[Bug target/91323] LTGT rtx produces UCOMISS instead of COMISS

2019-08-02 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 --- Comment #7 from uros at gcc dot gnu.org --- Author: uros Date: Fri Aug 2 09:58:04 2019 New Revision: 274005 URL: https://gcc.gnu.org/viewcvs?rev=274005=gcc=rev Log: PR target/91323 * config/i386/i386-expand.c

[Bug sanitizer/91325] [ASAN] ASAN hangs at throw if called via dlopen

2019-08-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91325 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug lto/91313] [10 regression] r273908 breaks lto on power 7

2019-08-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91313 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-08-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #30 from rguenther at suse dot de --- On Fri, 2 Aug 2019, luoxhu at cn dot ibm.com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 > > --- Comment #28 from Xiong Hu XS Luo --- > (In reply to Richard Biener from comment

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-08-02 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #29 from Xiong Hu XS Luo --- (In reply to Xiong Hu XS Luo from comment #28) > (In reply to Richard Biener from comment #24) > > Btw, this is controlled by symtab_node::output_to_lto_symbol_table_p which > > has > > > > /* FIXME:

[Bug sanitizer/91325] New: [ASAN] ASAN hangs at throw if called via dlopen

2019-08-02 Thread jensseidel at users dot sf.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91325 Bug ID: 91325 Summary: [ASAN] ASAN hangs at throw if called via dlopen Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug lto/91313] [10 regression] r273908 breaks lto on power 7

2019-08-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91313 --- Comment #7 from Martin Liška --- Author: marxin Date: Fri Aug 2 09:23:56 2019 New Revision: 274003 URL: https://gcc.gnu.org/viewcvs?rev=274003=gcc=rev Log: Properly detect working jobserver in gcc driver. 2019-08-02 Martin Liska

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-08-02 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #28 from Xiong Hu XS Luo --- (In reply to Richard Biener from comment #24) > Btw, this is controlled by symtab_node::output_to_lto_symbol_table_p which > has > > /* FIXME: Builtins corresponding to real functions probably should

[Bug tree-optimization/91178] [9 Regression] Infinite recursion in split_constant_offset in slp after r260289

2019-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91178 --- Comment #13 from Richard Biener --- Author: rguenth Date: Fri Aug 2 08:40:34 2019 New Revision: 274000 URL: https://gcc.gnu.org/viewcvs?rev=274000=gcc=rev Log: 2019-08-02 Richard Biener Backport from mainline 2019-07-31

[Bug tree-optimization/91178] [9 Regression] Infinite recursion in split_constant_offset in slp after r260289

2019-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91178 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug target/91323] LTGT rtx produces UCOMISS instead of COMISS

2019-08-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 --- Comment #6 from rguenther at suse dot de --- On Fri, 2 Aug 2019, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 > > --- Comment #5 from Uroš Bizjak --- > (In reply to Richard Biener from comment #3) >

[Bug tree-optimization/91201] [7/8/9/10 Regression] SIMD not generated for horizontal sum of bytes in array

2019-08-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91201 --- Comment #22 from Jakub Jelinek --- Author: jakub Date: Fri Aug 2 08:28:31 2019 New Revision: 273998 URL: https://gcc.gnu.org/viewcvs?rev=273998=gcc=rev Log: PR tree-optimization/91201 * config/i386/i386-expand.c

[Bug target/91323] LTGT rtx produces UCOMISS instead of COMISS

2019-08-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 --- Comment #5 from Uroš Bizjak --- (In reply to Richard Biener from comment #3) > That means this is a target issue, LTGT isn't an unordered compare. So, it should create COMISS then? The patch is then simple: --cut here-- Index:

[Bug c++/79328] Wshadow and lambda captures

2019-08-02 Thread fwyzard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79328 --- Comment #2 from Andrea Bocci --- Created attachment 46658 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46658=edit simple test case Build with g++-9 test.cc -Wshadow -o test

[Bug c++/79328] Wshadow and lambda captures

2019-08-02 Thread fwyzard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79328 Andrea Bocci changed: What|Removed |Added CC||fwyzard at gmail dot com --- Comment #1

[Bug target/91323] LTGT rtx produces UCOMISS instead of COMISS

2019-08-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 --- Comment #4 from Richard Biener --- quoting rtl.def: /* This is an ordered NE, ie !UNEQ, ie false for NaN. */ DEF_RTL_EXPR(LTGT, "ltgt", "ee", RTX_COMM_COMPARE)

  1   2   >