[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-27 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #16 from Gejoe --- Created attachment 50881 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50881=edit sample-prog.c edited to show __gcov_reset call. The steps used for compiling and running the attached .c file are as

[Bug target/98636] [ARM] ICE on passing incompatible options for fp16 - global_options’ are modified in local context

2021-05-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98636 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug c++/100797] [9/10/11/12 Regression] using declaration causing virtual call with wrongly adjusted this pointer

2021-05-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100797 Jason Merrill changed: What|Removed |Added Priority|P3 |P1

[Bug c/100804] storage order swapped with specific opt

2021-05-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100804 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug c++/100805] __int128 should be disabled for non-extended -std= options

2021-05-27 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100805 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl ---

[Bug c++/89370] Output std::string in diagnostics instead of std::__cxx11::basic_string<_CharT, _Traits, _Alloc>

2021-05-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89370 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug c/100804] storage order swapped with specific opt

2021-05-27 Thread george.thopas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100804 --- Comment #2 from George Thopas --- After looking at the updated documentation and trying the an update kernel with warning it still leaves some things open. The updated documentation says: "Moreover, the use of type punning or aliasing to

[Bug c++/100805] __int128 should be disabled for non-extended -std= options

2021-05-27 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100805 --- Comment #1 from Andreas Schwab --- The C++ standard says: [lex.icon] "If an integer literal cannot be represented by any type in its list and an extended integer type (6.8.1) can represent its value, it may have that extended integer type."

[Bug libstdc++/100806] New: deadlock in std::counting_semaphore

2021-05-27 Thread gatroubo at squizzy dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100806 Bug ID: 100806 Summary: deadlock in std::counting_semaphore Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c++/94490] Ternary expression with 3 consts is “not” a constant expression

2021-05-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94490 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/100716] member function template parameter should never be printed in candidate list and "T = T" should never be shown in substitutions

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100716 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:c33ec196aa713c62d73907dc8f9e57d7ab2e4e4b commit r12-1100-gc33ec196aa713c62d73907dc8f9e57d7ab2e4e4b Author: Matthias Kretz Date:

[Bug c++/100763] Diagnostics of type alias is missing scope

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100763 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:27e906d5bb2e46e59fe4aa137317f3c8d49ecb44 commit r12-1099-g27e906d5bb2e46e59fe4aa137317f3c8d49ecb44 Author: Matthias Kretz Date:

[Bug c++/100805] New: __int128 should be disabled for non-extended -std= options

2021-05-27 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100805 Bug ID: 100805 Summary: __int128 should be disabled for non-extended -std= options Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/96762] ICE in extract_insn, at recog.c:2294 (error: unrecognizable insn)

2021-05-27 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96762 Michael Meissner changed: What|Removed |Added Last reconfirmed||2021-05-27

[Bug fortran/99839] [9/10/11/12 Regression] ICE in inline_matmul_assign, at fortran/frontend-passes.c:4234

2021-05-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99839 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug other/100463] many errors using GTY and hash_map

2021-05-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100463 Martin Sebor changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug other/100463] many errors using GTY and hash_map

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100463 --- Comment #7 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:5d05e83e243931c291409d4771f31747b6c04eb0 commit r12-1096-g5d05e83e243931c291409d4771f31747b6c04eb0 Author: Martin Sebor Date:

[Bug c++/99895] Function parameters generated wrong in call to member of non-type template parameter in lambda

2021-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99895 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c/100653] usage of scalar_storage_order produces incorrect result

2021-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100653 Andrew Pinski changed: What|Removed |Added CC||george.thopas at gmail dot com ---

[Bug c/100804] storage order swapped with specific opt

2021-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100804 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/94490] Ternary expression with 3 consts is “not” a constant expression

2021-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94490 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/99893] C++20 unexpanded parameter packs falsely not detected (lambda is involved)

2021-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99893 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99893] C++20 unexpanded parameter packs falsely not detected (lambda is involved)

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99893 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:fc3fdf0f2196e805a3a43ccb73595c33673670f3 commit r12-1095-gfc3fdf0f2196e805a3a43ccb73595c33673670f3 Author: Patrick Palka Date:

[Bug c/100804] New: storage order swapped with specific opt

2021-05-27 Thread george.thopas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100804 Bug ID: 100804 Summary: storage order swapped with specific opt Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/100781] [12 Regression] Emitted binary code changes when -g is enabled at -O2

2021-05-27 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100781 --- Comment #6 from Andrew Macleod --- So the new code base provides a more complete/consistent export list, and makes use of imports now. An import is the incoming value which can change an outgoing value. In this particular case we see: :

[Bug target/100767] arm: ice when inlining at -flto with different cpu and arch settings

2021-05-27 Thread gabemarcano at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100767 --- Comment #6 from Gabriel Marcano --- I was the one that originally reported the issue on gcc-help, and I can confirm that with the patch the segfault is no longer happening. I do appear to have found a different bug (undefined references to

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

2021-05-27 Thread lvella at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79328 Lucas Clemente Vella changed: What|Removed |Added CC||lvella at gmail dot com ---

[Bug c++/86355] [9/10/11/12 Regression] Internal compiler error with pack expansion and fold expression

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86355 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:db79713150f4f8b6ff3de81d00d92578679e0e65 commit r12-1094-gdb79713150f4f8b6ff3de81d00d92578679e0e65 Author: Jason Merrill Date:

[Bug c/100792] ICE: gimplify_expr, at gimplify.c:14879

2021-05-27 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100792 Joseph S. Myers changed: What|Removed |Added Version|tree-ssa|12.0 Status|RESOLVED

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 --- Comment #15 from Jonathan Wakely --- (In reply to Philippe Blain from comment #14) > Out of curiosity, do you know what GDB does with this libstdc++.a-gdb.py ? > It's there so it can be loaded manually I guess, but the auto-load behaviour >

[Bug c++/67593] Partial specialization: "Template argument involves template parameters"

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67593 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9b94785dedb08b006419bec1a402614d9241317a commit r12-1093-g9b94785dedb08b006419bec1a402614d9241317a Author: Patrick Palka Date:

[Bug c++/100779] Partial specialization with non-deducible template parameters accepted

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100779 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9b94785dedb08b006419bec1a402614d9241317a commit r12-1093-g9b94785dedb08b006419bec1a402614d9241317a Author: Patrick Palka Date:

[Bug c++/96555] "template argument involves template parameter(s)" with dot or arrow operator in partial specialization

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96555 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9b94785dedb08b006419bec1a402614d9241317a commit r12-1093-g9b94785dedb08b006419bec1a402614d9241317a Author: Patrick Palka Date:

[Bug c++/100797] [9/10/11/12 Regression] using declaration causing virtual call with wrongly adjusted this pointer

2021-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100797 Patrick Palka changed: What|Removed |Added Target Milestone|9.5 |9.4

[Bug c++/100797] [9/10/11/12 Regression] using declaration causing virtual call with wrongly adjusted this pointer

2021-05-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100797 Patrick Palka changed: What|Removed |Added Summary|using declaration causing |[9/10/11/12 Regression]

[Bug gcov-profile/100788] Internal compiler error related to #line macros(?)

2021-05-27 Thread sebastian-gcc at sipsolutions dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100788 --- Comment #9 from seberg --- NumPy is pretty light weight (at least on linux systems, and if you do not care about setting up BLAS manually). You probably only need the Python dev headers, that I expect you already have. Hopefully, the

[Bug c/100803] New: ICE on gimple code: in gimple_cond_get_ops_from_tree, at gimple-expr.c:566

2021-05-27 Thread cnsun at uwaterloo dot ca via Gcc-bugs
algorithms: zlib gcc version 12.0.0 20210527 (experimental) [master revision :d03f010a0:01c59ef2e5a59b44d2b662361196abb6be872a20] (GCC) $ cat mutant.c int bar(); __GIMPLE int foo() { if (bar()) goto bb1; else goto bb2; } $ gcc-trunk -fgimple mutant.c mutant.c: In function ‘foo’: mutant.c

[Bug tree-optimization/100774] [12 Regression] -fcompare-debug failure (length) with -O2 -fno-tree-forwprop --param=evrp-mode=ranger-trace

2021-05-27 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100774 --- Comment #2 from Andrew Macleod --- I have a fix for this... Do we add -fcompare-debug tests into the testsuite? I don't see any other tests with it.

[Bug c/100783] [10/11/12 Regression] ICE on attribute nonnull and erroneous type

2021-05-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100783 Martin Sebor changed: What|Removed |Added Summary|[10/11/12 Regression] ICE |[10/11/12 Regression] ICE

[Bug sanitizer/100665] [hwsanitizer] nested funtion pointer is tagged but never checked.

2021-05-27 Thread matmal01 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100665 --- Comment #1 from Matthew Malcomson --- Hi there. I believe this is how it should work (if I'm understanding & remembering correctly). When creating a nested function, we make a single object on the stack that includes all variables used in

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-05-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #5 from 康桓瑋 --- (In reply to 康桓瑋 from comment #4) > Same with ranges::make_heap, ranges::push_heap, ranges::pop_heap, and > ranges::sort_heap when _GLIBCXX_CONCEPT_CHECKS is defined. And std::ranges::shuffle.

[Bug tree-optimization/100802] New: VRP fails to fold comparison with known value orders

2021-05-27 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100802 Bug ID: 100802 Summary: VRP fails to fold comparison with known value orders Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-05-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #4 from 康桓瑋 --- Same with ranges::make_heap, ranges::push_heap, ranges::pop_heap, and ranges::sort_heap when _GLIBCXX_CONCEPT_CHECKS is defined.

[Bug c/100783] [10/11/12 Regression] ICE while printing out error message with nonnull attribute and undeclared decl in an array size in parameter

2021-05-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100783 Martin Sebor changed: What|Removed |Added Summary|[11/12 Regression] ICE |[10/11/12 Regression] ICE

[Bug c++/29823] attribute((sentinel)) warning does not trigger for member function template

2021-05-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29823 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #3

[Bug target/100784] ICE: Segmentation fault, contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*)

2021-05-27 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100784 --- Comment #2 from Marc Glisse --- Do we need to punt if there is no lhs? (with optimization the call should be removed as pure) I probably won't have time to try it for a while.

[Bug c/100789] ICE: in gimplify_expr, at gimplify.c:14750

2021-05-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100789 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/100790] ICE with -O2: in verify_range, at value-range.cc:385

2021-05-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100790 --- Comment #2 from Aldy Hernandez --- There's a patch pending review that fixes this: https://gcc.gnu.org/pipermail/gcc-patches/2021-May/570289.html

[Bug c/100791] ICE: verify_gimple failed

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100791 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c/100790] ICE with -O2: in verify_range, at value-range.cc:385

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100790 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-05-27 CC|

[Bug c/100789] ICE: in gimplify_expr, at gimplify.c:14750

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100789 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890

2021-05-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773 --- Comment #7 from David Binderman --- (In reply to Martin Liška from comment #6) > Yes, this fixed that. I've just checked and yes, I agree.

[Bug target/100784] ICE: Segmentation fault, contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*)

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100784 Martin Liška changed: What|Removed |Added CC||glisse at gcc dot gnu.org,

[Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug tree-optimization/98512] [11/12 Regression] “#pragma GCC diagnostic ignored” ineffective in conjunction with alias attribute

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98512 --- Comment #9 from Martin Liška --- (In reply to Florian Weimer from comment #8) > This glibc commit works around the GCC issue: > > commit 044e603b698093cf48f6e6229e0b66acf05227e4 > Author: Florian Weimer > Date: Fri Feb 19 13:29:00 2021

[Bug ipa/100801] New: Aggressive loop optimizations cause incorrect warning

2021-05-27 Thread jl_gccbugs at conductive dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100801 Bug ID: 100801 Summary: Aggressive loop optimizations cause incorrect warning Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/98512] [11/12 Regression] “#pragma GCC diagnostic ignored” ineffective in conjunction with alias attribute

2021-05-27 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98512 --- Comment #8 from Florian Weimer --- This glibc commit works around the GCC issue: commit 044e603b698093cf48f6e6229e0b66acf05227e4 Author: Florian Weimer Date: Fri Feb 19 13:29:00 2021 +0100 string: Work around GCC PR 98512 in

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #15 from Martin Liška --- > I'm trying to now when would __gcov_reset help us in seeing the counter > values reset to # instead of old data(numbers like 4,1,3, etc in .c.gcov > file). Note that .gcda profiles are always merged

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #14 from Martin Liška --- (In reply to Gejoe from comment #13) > I modified my sample-prog.c file just by adding a line of __gcov_reset > before the while loop. > Can you please create a test-case that does not need human

[Bug tree-optimization/98512] [11/12 Regression] “#pragma GCC diagnostic ignored” ineffective in conjunction with alias attribute

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98512 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #7

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-27 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #13 from Gejoe --- I modified my sample-prog.c file just by adding a line of __gcov_reset before the while loop. However after a.out run , the sample-prog.c.gcov file was still showing the counters though I didn't give 'g' for

[Bug c++/29823] attribute((sentinel)) warning does not trigger for member function template

2021-05-27 Thread markus at oberhumer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29823 Markus F.X.J. Oberhumer changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/100767] arm: ice when inlining at -flto with different cpu and arch settings

2021-05-27 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100767 --- Comment #5 from Richard Earnshaw --- Also fixed for gcc-11. Will consider backporting further, but patches no-longer apply cleanly on gcc-10.

[Bug target/100767] arm: ice when inlining at -flto with different cpu and arch settings

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100767 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:0faee8bae391fab7e1ba4a494360dd9793e15fb5 commit r11-8473-g0faee8bae391fab7e1ba4a494360dd9793e15fb5 Author: Richard

[Bug preprocessor/64698] preprocessor ignores #pragma GCC diagnostic when using -save-temps

2021-05-27 Thread markus at oberhumer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64698 --- Comment #2 from Markus F.X.J. Oberhumer --- Still a problem in 2021 with gcc-11.1.0

[Bug preprocessor/53920] "gcc -E" does not honor #pragma GCC diagnostic ignored "-Wunused-macro"

2021-05-27 Thread markus at oberhumer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53920 Markus F.X.J. Oberhumer changed: What|Removed |Added CC||markus at oberhumer dot com

[Bug target/100637] [i386] Vectorize 4-byte vectors

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100637 --- Comment #7 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:6c67afaf524a5e0e9220f78271a0f5764ca27bd0 commit r12-1092-g6c67afaf524a5e0e9220f78271a0f5764ca27bd0 Author: Uros Bizjak Date: Thu

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-05-27 Thread levraiphilippeblain at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 --- Comment #14 from Philippe Blain --- Sorry for that regression, I did not have access to a lot of platforms to test. I agree that falling back to 'old_library' if 'library_names' is empty would be a good fix. Out of curiosity, do you know

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-05-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #3 from 康桓瑋 --- (In reply to 康桓瑋 from comment #2) > ranges::inplace_merge has the same issue: > > > #include > #include > #include > > int main() { > std::array a{42, 42, 42}; > auto r = std::views::iota(0, 3) | >

[Bug fortran/100602] [11/12 Regression] Erroneous "pointer argument is not associated" runtime error.

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100602 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:71d7dc6cd09b603bcc58d5d1747a86eb498bb147 commit r12-1091-g71d7dc6cd09b603bcc58d5d1747a86eb498bb147 Author: Harald Anlauf Date:

[Bug fortran/100656] ICE in gfc_conv_expr_present, at fortran/trans-expr.c:1934

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100656 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:9d3a953ec4d2695e9a6bfa5f22655e2aea47a973 commit r12-1090-g9d3a953ec4d2695e9a6bfa5f22655e2aea47a973 Author: Harald Anlauf Date:

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-05-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #2 from 康桓瑋 --- ranges::inplace_merge has the same issue: #include #include #include int main() { std::array a{42, 42, 42}; auto r = std::views::iota(0, 3) | std::views::transform([](int i) -> int& { return

[Bug c++/100796] [11 Regression] GCC does not honor #pragma diagnostic ignored when using the integrated preprocessor

2021-05-27 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100796 --- Comment #2 from Giuseppe D'Angelo --- Well, GCC 8-9-10 don't have this problem at all for us. This appeared only when upgrading to 11. Anyways, I'm not sure if it's the same issue. PR 53431 seems to be about the preprocessor itself

[Bug tree-optimization/100787] [12 Regression] Bootstrap failure caused by r12-1077

2021-05-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100787 --- Comment #5 from H.J. Lu --- I have [hjl@gnu-skx-1 gcc-32bit]$ ls /usr/local32/bin addr2line as dwp gprof ld.bfd nm objdump readelf strings ar c++filt elfedit ld ld.gold objcopy ranlib size strip

[Bug c++/100800] New: ternary operator doesn't accept T with conversion operator and nullptr

2021-05-27 Thread sbence92 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100800 Bug ID: 100800 Summary: ternary operator doesn't accept T with conversion operator and nullptr Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/100787] [12 Regression] Bootstrap failure caused by r12-1077

2021-05-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100787 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/100796] [11 Regression] GCC does not honor #pragma diagnostic ignored when using the integrated preprocessor

2021-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100796 --- Comment #1 from Jonathan Wakely --- This is not a 11 Regression, since it's exactly the same as previous releases, isn't it? I think it's a dup of PR 53431

[Bug fortran/100799] New: Stackoverflow in optimized code on PPC

2021-05-27 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100799 Bug ID: 100799 Summary: Stackoverflow in optimized code on PPC Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/100798] New: a?~t:t and (-(!!a))^t don't produce the same assembly code

2021-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100798 Bug ID: 100798 Summary: a?~t:t and (-(!!a))^t don't produce the same assembly code Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug c++/100797] New: using declaration causing virtual call with wrongly adjusted this pointer

2021-05-27 Thread sbergman at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100797 Bug ID: 100797 Summary: using declaration causing virtual call with wrongly adjusted this pointer Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/100796] New: [11 Regression] GCC does not honor #pragma diagnostic ignored when using the integrated preprocessor

2021-05-27 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100796 Bug ID: 100796 Summary: [11 Regression] GCC does not honor #pragma diagnostic ignored when using the integrated preprocessor Product: gcc Version: unknown Status:

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 --- Comment #13 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #12) > Like so: > > @libname=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \ > $(DESTDIR)$(toolexeclibdir)/libstdc++.la`; \ >

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 --- Comment #12 from Jonathan Wakely --- Like so: @libname=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \ $(DESTDIR)$(toolexeclibdir)/libstdc++.la`; \ libname='' ; \ if [ -z "$$libname" ];

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 --- Comment #11 from Jonathan Wakely --- Thanks! I think we just need to use the old_library name if library_names is empty.

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-05-27 Thread ross at burtonini dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 --- Comment #10 from Ross Burton --- I can confirm that before this fix the file was called libstdc++.a-gdb.py

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 --- Comment #9 from Jonathan Wakely --- (In reply to Khem Raj from comment #8) > this change seems to cause a regression when build baremetal toolchain, it > ends up generating /usr/lib/-gdb.py instead of libstdc++-gdb.py, Is that really what

[Bug libstdc++/100795] New: ranges::sample should not use std::sample directly

2021-05-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Bug ID: 100795 Summary: ranges::sample should not use std::sample directly Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/100767] arm: ice when inlining at -flto with different cpu and arch settings

2021-05-27 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100767 --- Comment #3 from Richard Earnshaw --- fixed on master so far.

[Bug target/100767] arm: ice when inlining at -flto with different cpu and arch settings

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100767 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:262e75d22c350acbdf4c1fb4f224cc5d3d711eff commit r12-1089-g262e75d22c350acbdf4c1fb4f224cc5d3d711eff Author: Richard Earnshaw

[Bug target/99725] arm: ICE in dwarf2out_frame_debug_adjust_cfa with -mcmse

2021-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99725 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:4290ac957ce13ab6097acda4b23cfd6ecf60b782 commit r11-8472-g4290ac957ce13ab6097acda4b23cfd6ecf60b782 Author: Alex Coplan

[Bug c/100792] ICE: gimplify_expr, at gimplify.c:14879

2021-05-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100792 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890

2021-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773 --- Comment #5 from Andrew Pinski --- (In reply to David Binderman from comment #4) > Seems bad at b6bdd7a4cb41ee05, so the current range is > 10b286ce335cca13..b6bdd7a4cb41ee05, or about 6 revisions. It is most likely b6bdd7a4cb41ee05 which

[Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890

2021-05-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773 --- Comment #4 from David Binderman --- Seems bad at b6bdd7a4cb41ee05, so the current range is 10b286ce335cca13..b6bdd7a4cb41ee05, or about 6 revisions.

[Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890

2021-05-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773 --- Comment #3 from David Binderman --- Seems fine at 10b286ce335cca13. Trying b6bdd7a4cb41ee05.

[Bug tree-optimization/100794] New: suboptimal code due to missing pre2 when vectorization fails

2021-05-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100794 Bug ID: 100794 Summary: suboptimal code due to missing pre2 when vectorization fails Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/100788] Internal compiler error related to #line macros(?)

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100788 --- Comment #8 from Martin Liška --- (In reply to seberg from comment #7) > Oh, interesting. You are right, if I run it on the preprocessed file it > succeeds (note the `tmp/preprocessed.c`: That's what I was affraid. It's related to function

[Bug gcov-profile/100788] Internal compiler error related to #line macros(?)

2021-05-27 Thread sebastian-gcc at sipsolutions dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100788 --- Comment #7 from seberg --- Oh, interesting. You are right, if I run it on the preprocessed file it succeeds (note the `tmp/preprocessed.c`: x86_64-linux-gnu-gcc -pthread --coverage -O0 -ggdb -g

[Bug middle-end/100593] [ELF] -fno-pic: Use GOT to take address of an external default visibility function

2021-05-27 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100593 --- Comment #10 from Alexander Monakov --- Is there something wrong or undesirable with making this under -fno-plt (or the noplt attribute as in your example)? (after all, it is a kind of PLT-avoidance transformation, just for addressing

[Bug gcov-profile/100788] Internal compiler error related to #line macros(?)

2021-05-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100788 --- Comment #6 from Martin Liška --- (In reply to seberg from comment #5) > > Now I miss the command line. > > Do you mean more than the failing call?: > > x86_64-linux-gnu-gcc -pthread --coverage -O0 -ggdb -g >

  1   2   >