[Bug c/91031] wrong code generated when using compound literal

2020-05-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91031 Andrew Pinski changed: What|Removed |Added CC||makhaloff at gmail dot com --- Comment

[Bug c/94979] gcc-9 generates incorrect code causing segfault

2020-05-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94979 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/94979] New: gcc-9 generates incorrect code causing segfault

2020-05-06 Thread makhaloff at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94979 Bug ID: 94979 Summary: gcc-9 generates incorrect code causing segfault Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/94978] [8/9/10/11 Regression] Bogus warning "Array reference at (1) out of bounds in loop beginning at (2)"

2020-05-06 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94978 --- Comment #1 from Fritz Reese --- The regression is caused by r253156, which introduces the warning in the first place. The relevant code is in frontend-passes.c (do_subscript). Apparently, the FE is aware that when there is a conditional it

[Bug fortran/94978] New: [8/9/10/11 Regression] Bogus warning "Array reference at (1) out of bounds in loop beginning at (2)"

2020-05-06 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94978 Bug ID: 94978 Summary: [8/9/10/11 Regression] Bogus warning "Array reference at (1) out of bounds in loop beginning at (2)" Product: gcc Version: 8.4.1 Status:

[Bug c++/94938] [10 Regression] internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 Marek Polacek changed: What|Removed |Added Summary|[10/11 Regression] internal |[10 Regression] internal

[Bug c++/94938] [10/11 Regression] internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 --- Comment #4 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:1e89178889741c9c4d6a61e5a01c40a8a182fa68 commit r11-155-g1e89178889741c9c4d6a61e5a01c40a8a182fa68 Author: Marek Polacek Date:

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #5 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:0af711e1914ab6d88538f1fcf0146757b5608b1d commit r11-154-g0af711e1914ab6d88538f1fcf0146757b5608b1d Author: Iain Buclaw Date: Wed

[Bug target/94950] [8/9/10 regression] ICE in gcc.dg/pr94780.c on riscv64

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94950 --- Comment #6 from Jakub Jelinek --- (In reply to Jim Wilson from comment #5) > I tested it with an rv64gc-linux cross compiler. The patch fixes these Thanks. > I think it should be backported to the gcc-10 release branch. Sure, but at this

[Bug target/94950] [8/9/10 regression] ICE in gcc.dg/pr94780.c on riscv64

2020-05-06 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94950 --- Comment #5 from Jim Wilson --- I tested it with an rv64gc-linux cross compiler. The patch fixes these failures: FAIL: gcc.dg/pr94780.c (internal compiler error) FAIL: gcc.dg/pr94780.c (test for excess errors)

[Bug c++/94951] [8/9/10/11 Regression] dereferencing type-punned pointer will break strict-aliasing rules when using super class for a template type

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94951 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:46fcef99f49cc2d9f28d98f8ecdbf8263e9e0a87 commit r11-153-g46fcef99f49cc2d9f28d98f8ecdbf8263e9e0a87 Author: Jakub Jelinek Date:

[Bug c++/94907] [10/11 Regression] ICE: Segmentation fault (in check_return_expr) since r10-8016-gbce54ed494fd0e61

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94907 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:25ee2155ead87a5ea1c152a29341ee1e3275d706 commit r11-152-g25ee2155ead87a5ea1c152a29341ee1e3275d706 Author: Jakub Jelinek Date:

[Bug target/94630] General bug for changes needed to switch the powerpc64le-linux long double default

2020-05-06 Thread murphyp at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94630 --- Comment #8 from Paul E. Murphy --- The new libm/libc ABI for ieee128 long double on ppc64le is now committed to glibc which will be available for the 2.32 release (commit 051be01f6b41a1466b07ae4bd7f5894a8ec5fe67). TS-18661 does not specify

[Bug target/94977] New: Some X86 inline assembly modifiers are not documented in the web documentation

2020-05-06 Thread craig.topper at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94977 Bug ID: 94977 Summary: Some X86 inline assembly modifiers are not documented in the web documentation Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/94946] [9/10/11 Regression] error: ‘template JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d

2020-05-06 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94946 Nathan Sidwell changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/94955] [10/11 Regression] ICE in to_wide

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

[Bug middle-end/4210] should not warn in dead code

2020-05-06 Thread nisse at lysator dot liu.se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210 --- Comment #41 from Niels Möller --- (In reply to Manuel López-Ibáñez from comment #39) > You can easily find which pass does something by dumping (-ftree-dump-*) > all of them and comparing them. It's -ftree-dump-all, and also -fdump-passes

[Bug c/94230] provide an option to change the size limitation for -Wmisleading-indent

2020-05-06 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94230 qinzhao at gcc dot gnu.org changed: What|Removed |Added Version|10.0|11.0 Resolution|---

[Bug c++/94946] [9/10/11 Regression] error: ‘template JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94946 Jakub Jelinek changed: What|Removed |Added Target Milestone|10.0|9.4

[Bug c++/94946] [9/10/11 Regression] error: ‘template JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d

2020-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94946 Marek Polacek changed: What|Removed |Added Summary|[10/11 Regression] error: |[9/10/11 Regression] error:

[Bug c++/94946] [10/11 Regression] error: ‘template JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94946 --- Comment #3 from Jakub Jelinek --- Isn't 9 branch affected too? The r10-7998 change has been backported.

[Bug target/93069] Assembler messages: Error: unsupported masking for `vextracti32x8'

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93069 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/93069] Assembler messages: Error: unsupported masking for `vextracti32x8'

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93069 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:319eafce3e54c8cb10e3fddce6823a6a558fca8b commit r11-147-g319eafce3e54c8cb10e3fddce6823a6a558fca8b Author: Jakub Jelinek Date:

[Bug c/94230] provide an option to change the size limitation for -Wmisleading-indent

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94230 --- Comment #9 from CVS Commits --- The master branch has been updated by Qing Zhao : https://gcc.gnu.org/g:530b44094354758d0dea5374188caa6863647114 commit r11-146-g530b44094354758d0dea5374188caa6863647114 Author: qing zhao Date: Wed May 6

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #17 from Jonathan Wakely --- They're on by default for mingw, for compatibility with the MS compiler (but in this case it seems the relevant extension is ancient history).

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #16 from DB --- > -fno-ms-extensions will allow you to compile it, as long as you aren't > relying on any of the other MSVC compatibility quirks. That indeed fixes the problem, as well as squashing lots of other spurious warnings

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #15 from DB --- Aha, many thanks for the findings. IMO the MS extensions should really be off by default, esp if compiling in a Standard mode, until the user actually says they want them... right? They seem liable to lead to issues.

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #14 from Jonathan Wakely --- No (see PR 94771 comment 4)

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #13 from Richard Biener --- Does MSVC still accept that [without diagnostic]? Maybe it's time to remove it completely...

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #12 from Jonathan Wakely --- -fno-ms-extensions will allow you to compile it, as long as you aren't relying on any of the other MSVC compatibility quirks.

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/4210] should not warn in dead code

2020-05-06 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #9 from Jonathan Wakely --- If it used std::invoke it would compile: static_assert( std::is_same_v, int> );// OK static_assert( std::is_same_v, int> ); // ERROR

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #8 from DB --- > I can reproduce it using x86_64-w64-mingw32-g++ 9.2.1 Thanks again for testing! > I'm not yet convinced this isn't a ranges-v3 bug. I will of course defer to your expertise! It could well be caused by something

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #7 from Jonathan Wakely --- Further reduced: #include struct X { }; using F = int (X::*)() const; using I = X*; using R1 = ranges::invoke_result_t; static_assert( std::is_same_v ); This fails because R1 is int (X::)() const

[Bug analyzer/94976] New: Oddities with -fanalyzer and -flto (SSA names leaking through)

2020-05-06 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94976 Bug ID: 94976 Summary: Oddities with -fanalyzer and -flto (SSA names leaking through) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #6 from Jonathan Wakely --- (In reply to DB from comment #3) > I didn't build it. Is there a switch that can get this for you? As it says on that page, "the first three of which can be obtained from the output of gcc -v" But I can

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 Jonathan Wakely changed: What|Removed |Added Component|libstdc++ |c++ Status|WAITING

[Bug middle-end/94783] Abs-equivalent pattern is not recognized as abs

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94783 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/94877] Failure to simplify ~(x + 1) to -2 - x

2020-05-06 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94877 --- Comment #4 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #3) > I'm not sure why this is considered a simplification, two insns vs. two, and > on the subtraction it isn't specific to just one target, but I think for > most the

[Bug libstdc++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #4 from DB --- Created attachment 48470 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48470=edit test.ii from --save-temps

[Bug libstdc++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #3 from DB --- > Please read https://gcc.gnu.org/bugs and provide the missing information. Fair point. Let me know if I missed anything still. the exact version of GCC; g++.exe (Rev2, Built by MSYS2 project) 9.3.0 the

[Bug tree-optimization/94974] [11 regression] Many ICEs on power 7 after r11-59

2020-05-06 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94974 Bill Seurer changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libstdc++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #2 from Jonathan Wakely --- I can't reproduce this using range-v3 0.10.0 and GCC 9.3.0 on GNU/Linux, the example compiles fine.

[Bug middle-end/4210] should not warn in dead code

2020-05-06 Thread lopezibanez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210 --- Comment #39 from Manuel López-Ibáñez --- I think these questions are more appropriate for the mailing list, since few people are subscribed to this bug. You can easily find which pass does something by dumping (-ftree-dump-*) all of them and

[Bug tree-optimization/94913] Failure to optimize not+cmp into overflow check

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913 --- Comment #5 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:7c2879301d3b027a1ba427a5d5c7557decb8a7ab commit r11-145-g7c2879301d3b027a1ba427a5d5c7557decb8a7ab Author: Uros Bizjak Date: Wed

[Bug c/92472] enhancement: 5 * constify some parameters

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92472 --- Comment #12 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #11) > (In reply to David Binderman from comment #10) > > I am still not sure if the new code is ok or not, > > Wasn't "This is 400% wrong" clear? Here's the

[Bug fortran/94975] Address sanitizations show heap-buffer-overflow with class(*) allocated to character on assignment

2020-05-06 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94975 --- Comment #1 from Vladimir Fuka --- It is probably discussed here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118 but that was not possible to find it by the search as the title is not directly related.

[Bug libstdc++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-05-06 Ever confirmed|0

[Bug tree-optimization/94779] Bad optimization of simple switch

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779 --- Comment #11 from Jakub Jelinek --- Related PR is PR89059 though, while we can have a useful range info already in the early opts from evrp, in many cases we can get much better info after inlining. So, if we during the first switchconv pass

[Bug c/92472] enhancement: 5 * constify some parameters

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92472 --- Comment #11 from Jonathan Wakely --- (In reply to David Binderman from comment #10) > > It certainly has an effect on which member functions you can call on the > > parameter. > > Agreed, but does it matter ? These are a bunch of comparison

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread myron.walker at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #12 from Myron Walker --- What would be helpful then is if gcno, gcda and source files could all have separate root file system prefixes.

[Bug fortran/94975] New: Address sanitizations show heap-buffer-overflow with class(*) allocated to character on assignment

2020-05-06 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94975 Bug ID: 94975 Summary: Address sanitizations show heap-buffer-overflow with class(*) allocated to character on assignment Product: gcc Version: unknown Status:

[Bug tree-optimization/94974] New: [11 regression] Many ICEs on power 7 after r11-59

2020-05-06 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94974 Bug ID: 94974 Summary: [11 regression] Many ICEs on power 7 after r11-59 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/94779] Bad optimization of simple switch

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug c/92472] enhancement: 5 * constify some parameters

2020-05-06 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92472 --- Comment #10 from David Binderman --- (In reply to Jonathan Wakely from comment #9) > Or in other words, of course whether a parameter can be const is separate > from whether a member function can be const. Agreed. > But that doesn't mean

[Bug tree-optimization/94779] Bad optimization of simple switch

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #9

[Bug libstdc++/94973] New: compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 Bug ID: 94973 Summary: compile error when trying to use pointer-to-member function as invokable projection to ranges::find() Product: gcc Version: 9.3.0 Status:

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread myron.walker at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #11 from Myron Walker --- Ok. I'll look into it On Wed, May 6, 2020, 7:25 AM marxin at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 > > --- Comment #10 from Martin Liška

[Bug tree-optimization/94877] Failure to simplify ~(x + 1) to -2 - x

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94877 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug target/94934] Failure to inline addv

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

[Bug target/94972] Function multi-versioning binary may crash dynamic linker

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94972 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-05-06

[Bug c++/94953] A lot of false maybe-uninitialized warnings with O3

2020-05-06 Thread olaf.krzikalla at dlr dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94953 --- Comment #2 from Olaf Krzikalla --- Created attachment 48469 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48469=edit Test case code triggering the warning

[Bug c++/94967] std::get<0>(tuple const &&) returns wrong type

2020-05-06 Thread rene.r...@fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94967 --- Comment #2 from Rene Rahn --- Oh, thanks for clarifying this. Best regards

[Bug fortran/92736] [9/10/11 Regression] Error when using a variable from a module in a submodule and its parent module.

2020-05-06 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92736 markeggleston at gcc dot gnu.org changed: What|Removed |Added CC||markeggleston at gcc

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #10 from Martin Liška --- (In reply to Myron Walker from comment #9) > How you I process data files from multiple sources and multiple runs with > gcov. $ man gcov-tool $ gcov-tool merge [merge-options] directory1 directory2 So

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread myron.walker at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #9 from Myron Walker --- How you I process data files from multiple sources and multiple runs with gcov.

[Bug c/92472] enhancement: 5 * constify some parameters

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92472 --- Comment #9 from Jonathan Wakely --- Or in other words, of course whether a parameter can be const is separate from whether a member function can be const. But that doesn't mean that changing a parameter from non-const to const can't have any

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #8 from Martin Liška --- Or even better: you can merge various .gcda files with: gcov-tool merge ... https://gcc.gnu.org/onlinedocs/gcc/Gcov-tool-Intro.html

[Bug c/92472] enhancement: 5 * constify some parameters

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92472 --- Comment #8 from Jonathan Wakely --- (In reply to David Binderman from comment #7) > (In reply to Jonathan Wakely from comment #6) > > Those parameter can NOT be const, because *__b1 and *__b2 will not > > compile if they're const, because

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #7 from Martin Liška --- (In reply to Myron Walker from comment #6) > I use the gcno file to build a the graph, pull counters from the gcda files > and then solve the graph for the missing counts. That's what gcov does itself. > I

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread myron.walker at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #6 from Myron Walker --- I use the gcno file to build a the graph, pull counters from the gcda files and then solve the graph for the missing counts. I am merging the data from multiple gcda sources. Multiple nodes running the same

[Bug lto/48200] Implement function attribute for symbol versioning (.symver)

2020-05-06 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 --- Comment #44 from Jan Hubicka --- Thanks, I am happy we now have real-world use of symver attribute. I have WIP patch for better control over the symbol visibility, but I have run into problems with gas limitations which was fixed by HJ

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #5 from Martin Liška --- (In reply to Myron Walker from comment #4) > A python tool that can do distributed code coverage analysis. Gcda files > from cluster nodes from a web interface, gcno from a web interface or file > share in a

[Bug target/94972] New: Function multi-versioning binary may crash dynamic linker

2020-05-06 Thread d at ilvokhin dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94972 Bug ID: 94972 Summary: Function multi-versioning binary may crash dynamic linker Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread myron.walker at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #4 from Myron Walker --- A python tool that can do distributed code coverage analysis. Gcda files from cluster nodes from a web interface, gcno from a web interface or file share in a build archive, and source directly from github.

[Bug tree-optimization/94913] Failure to optimize not+cmp into overflow check

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913 --- Comment #4 from Jakub Jelinek --- Created attachment 48467 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48467=edit gcc11-pr94913.patch Untested fix for that part.

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #3 from Martin Liška --- (In reply to Myron Walker from comment #2) > I am parsinv both gcno and gcda files. These files are not intended to be parsed :/ Can you please describe your use-case?

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #4 from Iain Buclaw --- (In reply to Iain Buclaw from comment #3) > Somewhat simplified reduction of test that doesn't depend on operator > overloading. > > struct RegexMatch > { > string index() { return null; } > ~this() {

[Bug fortran/91726] [8/9 Regression] ICE in gfc_conv_array_ref, at fortran/trans-array.c:3612

2020-05-06 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91726 José Rui Faustino de Sousa changed: What|Removed |Added CC||jrfsousa at gmail dot com

[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-06 Thread myron.walker at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 --- Comment #2 from Myron Walker --- I am parsinv both gcno and gcda files.

[Bug fortran/93833] [8/9/10/11 Regression] ICE in trans_array_constructor, at fortran/trans-array.c:2566

2020-05-06 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93833 markeggleston at gcc dot gnu.org changed: What|Removed |Added CC||markeggleston at gcc

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #3 from Iain Buclaw --- Somewhat simplified reduction of test that doesn't depend on operator overloading. struct RegexMatch { string index() { return null; } ~this() { } } auto m() { return RegexMatch(); } void

[Bug c++/94960] extern template prevents inlining of standard library objects

2020-05-06 Thread erich.keane at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960 --- Comment #6 from Erich Keane --- (In reply to Jonathan Wakely from comment #5) > (In reply to Erich Keane from comment #3) > > As you know, "extern template" is a hint to the compiler that we don't need > > to emit the template as a way to

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #2 from Iain Buclaw --- Because RegexMatch needs destruction, a temporary is created that requires scope destruction. The temporary is wrapped in a TARGET_EXPR, and dtor call set in TARGET_EXPR_CLEANUP. TARGET_EXPR A clean-up

[Bug target/94865] Failure to combine unpckhpd+unpcklpd into blendps

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94865 --- Comment #2 from Richard Biener --- Missing match.pd patterns also include a no-op comb of insertion of an extracted element at the same position (simplify (bit_insert @0 (BIT_FIELD_REF @0 @size @pos) @pos) (if (size matches) @0) in

[Bug rtl-optimization/94873] [8/9/10 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

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

[Bug target/94950] [8/9/10 regression] ICE in gcc.dg/pr94780.c on riscv64

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94950 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10/11 regression] ICE |[8/9/10 regression] ICE in

[Bug tree-optimization/94964] [8/9/10 Regression] ICE in add_phi_arg, at tree-phinodes.c:359 since r8-2993-ga7976089dba5e227

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94964 Richard Biener changed: What|Removed |Added Known to fail|11.0|10.0 Summary|[8/9/10/11

[Bug tree-optimization/94964] [8/9/10/11 Regression] ICE in add_phi_arg, at tree-phinodes.c:359 since r8-2993-ga7976089dba5e227

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94964 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:6fc00b41e764219e2c88d8892d7c701c0d292a17 commit r11-139-g6fc00b41e764219e2c88d8892d7c701c0d292a17 Author: Richard Biener Date:

[Bug bootstrap/94961] [11 Regression] ICE in df_refs_verify, at df-scan.c:4002 since r11-87-gd44f14ccef831d90feb57fab56bc3389d543ffdd

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94961 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug bootstrap/94961] [11 Regression] ICE in df_refs_verify, at df-scan.c:4002 since r11-87-gd44f14ccef831d90feb57fab56bc3389d543ffdd

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94961 --- Comment #3 from Martin Liška --- Created attachment 48465 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48465=edit Partially reduced test-case Cannot reduce much..

[Bug other/89394] libiberty :stack overflow in nm

2020-05-06 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89394 --- Comment #10 from Nick Clifton --- (In reply to Trupti Pardeshi from comment #9) > May I know, in which version of binutils this fix is available? 2.35. Which should be available in August, all being well. Cheers Nick PS. The fix is

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #1 from Iain Buclaw --- The statement it is balking on is GIMPLE_WITH_CLEANUP_EXPR.

[Bug c/92472] enhancement: 5 * constify some parameters

2020-05-06 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92472 --- Comment #7 from David Binderman --- (In reply to Jonathan Wakely from comment #6) > This is 400% wrong. It doesn't even address what cppcheck is complaining > about, and cppcheck is drunk anyway. Thanks for your explanation. I am a bit

[Bug c/94968] [10/11 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94968 --- Comment #1 from Jakub Jelinek --- Created attachment 48464 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48464=edit gcc11-pr94968.patch Untested fix.

[Bug tree-optimization/94963] [11 Regression] Spurious uninitialized warning for static variable building glibc

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94963 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/94963] [11 Regression] Spurious uninitialized warning for static variable building glibc

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94963 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:371905d12259c180efb9b1f1b5716e969feb60f9 commit r11-138-g371905d12259c180efb9b1f1b5716e969feb60f9 Author: Richard Biener Date:

[Bug libstdc++/94971] [10/11 Regression] Parallel Mode cannot be used in C++20

2020-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94971 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

  1   2   >