[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #5 from Martin Liška --- (In reply to Melven.Roehrig-Zoellner from comment #4) > Hi > > I have a similar problem with GCC 9.1.0, GCC 7.2.0 works fine. > (I also had problems with GCC 8.1.0 but I did not check that this is > actually

[Bug ipa/82625] lower-optimization are not inlined with symbol multiversioning

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82625 Martin Liška changed: What|Removed |Added CC||slandden at gmail dot com --- Comment #7

[Bug other/90403] __target_clones__ should directly call other __target_clones__ functions, as appropriate

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

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread vsande at cimne dot upc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #6 from Victor --- Thanks for your quick responses Martin! Please, let us know any advance on this. Best regards, Víctor

[Bug ipa/90401] Missed propagation of by-ref constant argument to callee function

2019-05-09 Thread fxue at os dot amperecomputing.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90401 --- Comment #2 from Feng Xue --- (In reply to Richard Biener from comment #1) > Huh. IPA-CP dump difference: > > @@ -26,6 +26,8 @@ > Unknown VR > callsite int caller(int, int&)/2 -> int callee(int&)/1 : > param 0: UNKNO

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread Melven.Roehrig-Zoellner at DLR dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #7 from Melven.Roehrig-Zoellner at DLR dot de --- Out of curiosity I tried to have a look at the debug output: It seems to me that it gets stuck in the circuit detection of a source line that just contains an "end module"-statement. A

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #8 from Martin Liška --- Created attachment 46320 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46320&action=edit Dot of basic blocks at p4est_triangulation.f90':688 Note that p4est_triangulation.f90':688 source line contains

[Bug c/90404] New: No warning on attempts to modify a const

2019-05-09 Thread david at westcontrol dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90404 Bug ID: 90404 Summary: No warning on attempts to modify a const Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread Melven.Roehrig-Zoellner at DLR dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #9 from Melven.Roehrig-Zoellner at DLR dot de --- (In reply to Martin Liška from comment #8) > Created attachment 46320 [details] > Dot of basic blocks at p4est_triangulation.f90':688 > > Note that p4est_triangulation.f90':688 source

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #10 from Martin Liška --- (In reply to Melven.Roehrig-Zoellner from comment #7) > Out of curiosity I tried to have a look at the debug output: > > It seems to me that it gets stuck in the circuit detection of a source line > that jus

[Bug c++/90383] [9/10 Regression] GCC generates invalid constexpr copy/move assignment operators for types with trailing padding. (Again)

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90383 --- Comment #3 from Jakub Jelinek --- struct alignas(8) A { constexpr A (bool x) : a(x) {} A () = delete; bool a; }; struct B { A b; }; constexpr bool foo () { B w{A (true)}; w.b = A (true); return w.b.a; } static_assert (foo (), ""); Th

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #11 from Martin Liška --- I've got a patch that I've been testing.

[Bug target/90405] [10 Regression] ICE in thumb_find_work_register, at config/arm/arm.c:7701

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90405 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug tree-optimization/90402] [9/10 Regression] ICE in slpeel_duplicate_current_defs_from_edges

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90402 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug target/90405] New: [10 Regression] ICE in thumb_find_work_register, at config/arm/arm.c:7701

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90405 Bug ID: 90405 Summary: [10 Regression] ICE in thumb_find_work_register, at config/arm/arm.c:7701 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/90395] [10 Regression] ICE: verify_flow_info failed (error: BB 2 cannot throw but has an EH edge)

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90395 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread Melven.Roehrig-Zoellner at DLR dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #12 from Melven.Roehrig-Zoellner at DLR dot de --- Btw. in our gcc 7.2 coverage (which works fine), I often see about 800 branches at an "end module" statement...

[Bug pch/90326] Using any precompiled header breaks definition of FLT_MAX

2019-05-09 Thread asmith at feralinteractive dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90326 --- Comment #3 from Alex Smith --- Still reproduces on 9.1.1-1.fc30.

[Bug tree-optimization/90394] [10 Regression] ICE in is_value_included_in, at tree-ssa-uninit.c:1055

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90394 Martin Liška changed: What|Removed |Added CC||law at gcc dot gnu.org,

[Bug preprocessor/90382] [10 Regression] ICE in linemap_macro_map_loc_to_exp_point, at libcpp/line-map.c:1061

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

[Bug c++/90383] [9/10 Regression] GCC generates invalid constexpr copy/move assignment operators for types with trailing padding. (Again)

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

[Bug c/90406] New: OpenMP default(none) + if(variable) - difference with clang

2019-05-09 Thread lebedev.ri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90406 Bug ID: 90406 Summary: OpenMP default(none) + if(variable) - difference with clang Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/90377] [10 Regression] New -Wstringop-overflow with -O3 since r270852

2019-05-09 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90377 --- Comment #5 from Marc Glisse --- Thanks. The unreduced file does not reproduce for me. But anyway, we warn for things like int a[1]; void f(int n){ for(int i=0;i

[Bug c/90406] OpenMP default(none) + if(variable) - difference with clang

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90406 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/90406] OpenMP default(none) + if(variable) - difference with clang

2019-05-09 Thread lebedev.ri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90406 --- Comment #2 from Roman Lebedev --- (In reply to Jakub Jelinek from comment #1) > That is again a clang bug. if clause is on the parallel (after all, it is > not a combined/composite construct in this case), so the expression in the > clause i

[Bug tree-optimization/90385] [9/10 Regression] ICE: tree check: expected ssa_name, have real_cst in transform_to_exit_first_loop_alt, at tree-parloops.c:1772

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

[Bug target/89221] --enable-frame-pointer does not work as intended

2019-05-09 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89221 --- Comment #5 from Thomas Schwinge --- Author: tschwinge Date: Thu May 9 09:51:59 2019 New Revision: 271028 URL: https://gcc.gnu.org/viewcvs?rev=271028&root=gcc&view=rev Log: [PR89221] Continue to default to '--disable-frame-pointer' for x86 G

[Bug preprocessor/90382] [10 Regression] ICE in linemap_macro_map_loc_to_exp_point, at libcpp/line-map.c:1061

2019-05-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90382 --- Comment #2 from Paolo Carlini --- Oh my, let's immediately remove that little tweak, I have no idea how it could have caused a regression but isn't worth the trouble. Maybe another time...

[Bug gcov-profile/90364] 521.wrf_r is 9.5 % slower with PGO on Zen CPUs at -Ofast and native march/mtune

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90364 --- Comment #5 from Martin Liška --- (In reply to Richard Biener from comment #4) > (In reply to Martin Liška from comment #3) > > So the problem is that without a profile tree-vectorizer does a > > vectorization in 1162 functions, while with PGO

[Bug middle-end/88963] gcc generates terrible code for vectors of 64+ length which are not natively supported

2019-05-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88963 Bug 88963 depends on bug 90395, which changed state. Bug 90395 Summary: [10 Regression] ICE: verify_flow_info failed (error: BB 2 cannot throw but has an EH edge) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90395 What|Removed

[Bug tree-optimization/90395] [10 Regression] ICE: verify_flow_info failed (error: BB 2 cannot throw but has an EH edge)

2019-05-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90395 --- Comment #4 from Richard Biener --- Author: rguenth Date: Thu May 9 10:09:30 2019 New Revision: 271031 URL: https://gcc.gnu.org/viewcvs?rev=271031&root=gcc&view=rev Log: 2019-05-09 Richard Biener PR tree-optimization/90395

[Bug tree-optimization/90395] [10 Regression] ICE: verify_flow_info failed (error: BB 2 cannot throw but has an EH edge)

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

[Bug preprocessor/90382] [10 Regression] ICE in linemap_macro_map_loc_to_exp_point, at libcpp/line-map.c:1061

2019-05-09 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90382 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu May 9 10:18:23 2019 New Revision: 271032 URL: https://gcc.gnu.org/viewcvs?rev=271032&root=gcc&view=rev Log: /cp 2019-05-09 Paolo Carlini PR c++/90382 R

[Bug preprocessor/90382] [10 Regression] ICE in linemap_macro_map_loc_to_exp_point, at libcpp/line-map.c:1061

2019-05-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90382 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug preprocessor/90382] [10 Regression] ICE in linemap_macro_map_loc_to_exp_point, at libcpp/line-map.c:1061

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90382 Martin Liška changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment #

[Bug target/90379] Gcc 9.1 fails "make check" on linux due to missing MacOS-specific header file

2019-05-09 Thread make_distclean at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90379 --- Comment #8 from Marius Maraloi --- (In reply to Iain Sandoe from comment #7) > Created attachment 46317 [details] > Don't provide test_text for wrap fixes. > > The problem here is that the version I applied still had "test_text" set to > a n

[Bug c/90407] New: Compilation error of a C function generated from Simulink

2019-05-09 Thread laurent.muller at altran dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90407 Bug ID: 90407 Summary: Compilation error of a C function generated from Simulink Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Prio

[Bug target/90405] [10 Regression] ICE in thumb_find_work_register, at config/arm/arm.c:7701

2019-05-09 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90405 Richard Earnshaw changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug tree-optimization/90402] [9/10 Regression] ICE in slpeel_duplicate_current_defs_from_edges

2019-05-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90402 --- Comment #4 from Richard Biener --- All are similar, the VN in if-conversion removes a PHI - this is something we cannot really deal with when doing peeling. In all cases this is a missed optimization on the non-if-converted body of course.

[Bug c/90404] No warning on attempts to modify a const

2019-05-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90404 Richard Biener changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRM

[Bug target/90405] [10 Regression] ICE in thumb_find_work_register, at config/arm/arm.c:7701

2019-05-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90405 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug target/90407] Compilation error of a C function generated from Simulink

2019-05-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90407 Richard Biener changed: What|Removed |Added Target||powerpc Component|c

[Bug c++/90408] New: >= -O2 suddenly generates code

2019-05-09 Thread oliverst at online dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90408 Bug ID: 90408 Summary: >= -O2 suddenly generates code Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ As

[Bug libstdc++/90409] New: std::move[_backward] could be more optimized for deque iterators

2019-05-09 Thread morwenn29 at hotmail dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90409 Bug ID: 90409 Summary: std::move[_backward] could be more optimized for deque iterators Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/90364] 521.wrf_r is 9.5 % slower with PGO on Zen CPUs at -Ofast and native march/mtune

2019-05-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90364 --- Comment #6 from Richard Biener --- 6.22% 80774 wrf_r_peak.pgo __module_mp_wsm5_MOD_nislfv_rain_plm 5.50% 71494 wrf_r_peak.pgo __module_mp_wsm5_MOD_wsm52d vs. 4.04% 49253 wrf_r_peak.std__module_

[Bug gcov-profile/90364] 521.wrf_r is 9.5 % slower with PGO on Zen CPUs at -Ofast and native march/mtune

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90364 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/59813] tail-call elimination didn't fire for left-shift of char to cout

2019-05-09 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug c/56113] out of memory when compiling a function with many goto labels (50k > )

2019-05-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56113 Richard Biener changed: What|Removed |Added CC||ian at gcc dot gnu.org --- Comment #35

[Bug ipa/82625] lower-optimization are not inlined with symbol multiversioning

2019-05-09 Thread slandden at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82625 --- Comment #8 from Shawn Landden --- Included in gcc 9

[Bug c++/59813] tail-call elimination didn't fire for left-shift of char to cout

2019-05-09 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #10 from Christophe Lyon --- And some regressions in g++ too: g++.dg/compat/eh/unexpected1 cp_compat_x_tst.o-cp_compat_y_tst.o execute g++.dg/cpp0x/lambda/lambda-eh2.C -std=gnu++14 execution test g++.dg/cpp0x/nullptr35.C

[Bug pch/90326] Using any precompiled header breaks definition of FLT_MAX

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90326 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/90410] New: [feature request] -fdiagnostics-show-template-tree should expand mismatched reference parameters

2019-05-09 Thread m101010a at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90410 Bug ID: 90410 Summary: [feature request] -fdiagnostics-show-template-tree should expand mismatched reference parameters Product: gcc Version: 8.2.1 Status: UNCONFIRMED

[Bug c++/59813] tail-call elimination didn't fire for left-shift of char to cout

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #11 from Jakub Jelinek --- Is something in libstdc++ miscompiled or something in the tests? Like, can you try those tests against libstdc++ built with that change reverted, but test with gcc with that revision in? If it is in libstdc+

[Bug gcov-profile/89673] [GCOV] A label followed with a blank(empty) statement will be wrongly marked as executed in gcov

2019-05-09 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89673 --- Comment #2 from Yibiao Yang --- (In reply to Martin Liška from comment #1) > Confirmed, again an empty label, thus we generate not precise results. I am not sure whether this is really a bug or only default behavior of gcov. Since these tw

[Bug c/90404] No warning on attempts to modify a const object

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

[Bug tree-optimization/88709] Improve store-merging

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88709 --- Comment #7 from Jakub Jelinek --- (In reply to Christophe Lyon from comment #6) > I've noticed that the new test store_merging_29.c fails on > arm-none-eabi --with-cpu cortex-a9 > FAIL: gcc.dg/store_merging_29.c scan-tree-dump store-merging "

[Bug c/90404] No warning on attempts to modify a const object

2019-05-09 Thread david at westcontrol dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90404 --- Comment #3 from David Brown --- Yes, false positives are always a risk with warnings. We already have a warning here that would catch pretty much any case, but with a big risk of false positives - "-Wcast-qual". My hope is for a warning wit

[Bug tree-optimization/90316] [8/9 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-09 Thread thanm at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #22 from Than McIntosh --- Apologies for the delayed response (busy with other bugs yesterday). Testcase: hard to share the original... it has hundreds if not thousands of imported packages (it's an auto-generated Go file), and I'd

[Bug gcov-profile/89673] [GCOV] A label followed with a blank(empty) statement will be wrongly marked as executed in gcov

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89673 --- Comment #3 from Martin Liška --- (In reply to Yibiao Yang from comment #2) > (In reply to Martin Liška from comment #1) > > Confirmed, again an empty label, thus we generate not precise results. > > I am not sure whether this is really a bug

[Bug tree-optimization/90316] [8/9 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-09 Thread thanm at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #23 from Than McIntosh --- Created attachment 46326 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46326&action=edit dump from -fdump-statistics-stats

[Bug tree-optimization/88709] Improve store-merging

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88709 --- Comment #8 from Jakub Jelinek --- Created attachment 46327 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46327&action=edit gcc10-pr88709-test.patch Untested patch for the testsuite (well, I've tested it on x86_64-linux, together with

[Bug other/90411] New: Colored diagnostics can omit characters

2019-05-09 Thread m101010a at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90411 Bug ID: 90411 Summary: Colored diagnostics can omit characters Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug tree-optimization/88709] Improve store-merging

2019-05-09 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88709 --- Comment #9 from Richard Earnshaw --- (In reply to Jakub Jelinek from comment #7) > (In reply to Christophe Lyon from comment #6) > > I've noticed that the new test store_merging_29.c fails on > > arm-none-eabi --with-cpu cortex-a9 > > FAIL: g

[Bug tree-optimization/88709] Improve store-merging

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88709 --- Comment #10 from Jakub Jelinek --- In this and many other testcases it wants to ask is STRICT_ALIGNMENT non-zero?

[Bug tree-optimization/90316] [8/9 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-09 Thread thanm at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #24 from Than McIntosh --- Did another run with the patch from comment 21. For the offending routine I get: phi-translate cache statistics: size 2097143, 1171808 elements, 0.465610 collisions

[Bug gcov-profile/89673] [GCOV] A label followed with a blank(empty) statement will be wrongly marked as executed in gcov

2019-05-09 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89673 --- Comment #4 from Yibiao Yang --- (In reply to Martin Liška from comment #3) > (In reply to Yibiao Yang from comment #2) > > (In reply to Martin Liška from comment #1) > > > Confirmed, again an empty label, thus we generate not precise results.

[Bug c++/90412] New: g++ suggest did you mean for namespace

2019-05-09 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90412 Bug ID: 90412 Summary: g++ suggest did you mean for namespace Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/90409] std::move[_backward] could be more optimized for deque iterators

2019-05-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90409 Jonathan Wakely changed: What|Removed |Added Keywords||missed-optimization Status

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread vsande at cimne dot upc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #13 from Victor --- (In reply to Martin Liška from comment #8) > Created attachment 46320 [details] > Dot of basic blocks at 6191':688 > > Note that p4est_triangulation.f90':688 source line contains enormous number > of basic block (

[Bug tree-optimization/90394] [10 Regression] ICE in is_value_included_in, at tree-ssa-uninit.c:1055

2019-05-09 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90394 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #4 fr

[Bug tree-optimization/90394] [10 Regression] ICE in is_value_included_in, at tree-ssa-uninit.c:1055

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90394 --- Comment #5 from Martin Liška --- (In reply to Jeffrey A. Law from comment #4) > Martin -- r270660 is Vlad's change :-) I committed it for him. Heh, got it ;)

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #14 from Martin Liška --- (In reply to Victor from comment #13) > (In reply to Martin Liška from comment #8) > > Created attachment 46320 [details] > > Dot of basic blocks at 6191':688 > > > > Note that p4est_triangulation.f90':688 s

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread vsande at cimne dot upc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #16 from Victor --- (In reply to Martin Liška from comment #14) > (In reply to Victor from comment #13) > > (In reply to Martin Liška from comment #8) > > > Created attachment 46320 [details] > > > Dot of basic blocks at 6191':688 > >

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #15 from Martin Liška

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #17 from Martin Liška --- > > this is weird, line 688 is an "end module" statement. I see. Can you please use -fdump-tree-original and attach the dump file it generates?

[Bug c++/90413] New: Bad diagnostic when trying to copy an uncopyable type

2019-05-09 Thread barry.revzin at gmail dot com
#include struct X { X(X const&) = delete; }; using Map = std::unordered_map; void copy_func(Map) {} void map_error(Map& m) { copy_func(m); } The 9.1 error is as follows (note that the line copy_func(m) appears nowhere in this trace, despite being the proximal cause of offense): In

[Bug c++/90413] Bad diagnostic when trying to copy an uncopyable type

2019-05-09 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90413 --- Comment #1 from Barry Revzin --- clang also doesn't do this well: https://bugs.llvm.org/show_bug.cgi?id=41819

[Bug sanitizer/90414] New: [Feature] Implementing HWASAN (and eventually MTE)

2019-05-09 Thread matmal01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90414 Bug ID: 90414 Summary: [Feature] Implementing HWASAN (and eventually MTE) Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Compo

[Bug target/90405] [10 Regression] ICE in thumb_find_work_register, at config/arm/arm.c:7701

2019-05-09 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90405 --- Comment #2 from Richard Earnshaw --- Author: rearnsha Date: Thu May 9 16:00:23 2019 New Revision: 271036 URL: https://gcc.gnu.org/viewcvs?rev=271036&root=gcc&view=rev Log: [arm] PR target/90405 fix regression for thumb1 with -mtpcs-leaf-fra

[Bug target/90405] [10 Regression] ICE in thumb_find_work_register, at config/arm/arm.c:7701

2019-05-09 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90405 Richard Earnshaw changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/59813] tail-call elimination didn't fire for left-shift of char to cout

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #12 from Jakub Jelinek --- Are you sure about the bisection btw? I've just reverted those changes, rebuilt cc1plus and rebuilt libstdc++ with that, but get still the same failures.

[Bug tree-optimization/88709] Improve store-merging

2019-05-09 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88709 --- Comment #11 from Richard Earnshaw --- And in the testcase that prompted Ramana's original patch it clearly wanted to ask something else. We can't have it both ways.

[Bug driver/89249] mingw, paths with spaces, LTO -> collect2.exe: fatal error: CreateProcess: No such file or directory

2019-05-09 Thread ilg at livius dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89249 --- Comment #6 from Liviu Ionescu --- I upgraded my mingw to 5.0.4 and I can no longer reproduce the problem, so I suggest we close this ticket for now and reopen if necessary.

[Bug libstdc++/90415] New: std::is_copy_constructible> is incomplete

2019-05-09 Thread pdziepak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 Bug ID: 90415 Summary: std::is_copy_constructible> is incomplete Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/90405] [10 Regression] ICE in thumb_find_work_register, at config/arm/arm.c:7701

2019-05-09 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90405 --- Comment #4 from Richard Earnshaw --- Author: rearnsha Date: Thu May 9 16:35:56 2019 New Revision: 271037 URL: https://gcc.gnu.org/viewcvs?rev=271037&root=gcc&view=rev Log: [arm] PR target/90405 New test. This time really add the test. gcc

[Bug c++/59813] tail-call elimination didn't fire for left-shift of char to cout

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #13 from Jakub Jelinek --- Ah, seems it is libgcc_s.so.1 rather than libstdc++. Bisecting.

[Bug c++/59813] tail-call elimination didn't fire for left-shift of char to cout

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #14 from Jakub Jelinek --- The only difference the patch makes that matters for those tests is in unwind-dw2.c, where in _Unwind_Resume_or_Rethrow function there is: - _20 = _Unwind_RaiseException (exc_4(D)); + _20 = _Unwind_RaiseEx

[Bug tree-optimization/90416] New: [10 Regression] ICE in dump_generic_node at tree-pretty-print.c:1383 since r271006

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90416 Bug ID: 90416 Summary: [10 Regression] ICE in dump_generic_node at tree-pretty-print.c:1383 since r271006 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords

[Bug tree-optimization/90416] [10 Regression] ICE in dump_generic_node at tree-pretty-print.c:1383 since r271006

2019-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90416 --- Comment #1 from Martin Liška --- Same happens for e.g. Haswell: $ ./xgcc -B. /tmp/ice.f90 -c -O3 -ffast-math -fdump-tree-vect-details -march=haswell during GIMPLE pass: vect dump file: ice.f90.158t.vect /tmp/ice.f90:9:0: 9 | subroutine

[Bug fortran/90351] -fc-prototypes does not dump prototypes for external procedures

2019-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90351 --- Comment #3 from Thomas Koenig --- Author: tkoenig Date: Thu May 9 17:40:30 2019 New Revision: 271038 URL: https://gcc.gnu.org/viewcvs?rev=271038&root=gcc&view=rev Log: 2019-05-09 Thomas Koenig Backport from trunk PR fortran/9035

[Bug tree-optimization/90416] [10 Regression] ICE in dump_generic_node at tree-pretty-print.c:1383 since r271006

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

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2019-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 --- Comment #24 from Thomas Koenig --- Author: tkoenig Date: Thu May 9 17:40:30 2019 New Revision: 271038 URL: https://gcc.gnu.org/viewcvs?rev=271038&root=gcc&view=rev Log: 2019-05-09 Thomas Koenig Backport from trunk PR fortran/903

[Bug d/88238] libphobos compile problems on Solaris 10

2019-05-09 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88238 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from Rainer Orth --- > However, 64-bit testing on Solaris 10/x86 only works with gld since ld doesn't > support -z relax=transtls. What's worse, due to some packagaing

[Bug d/88238] libphobos compile problems on Solaris 10

2019-05-09 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88238 --- Comment #5 from Rainer Orth --- Created attachment 46329 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46329&action=edit Use __tls_get_addr indirectly on 64-bit Solaris/x86 This patch addresses the execution failures on 64-bit Solaris

[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

2019-05-09 Thread vsande at cimne dot upc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #18 from Victor --- Created attachment 46330 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46330&action=edit -fdump-tree-original? Martin, this is the first time I use this flag. Is the attached file the one you are asking fo

[Bug c++/59813] tail-call elimination didn't fire for left-shift of char to cout

2019-05-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59813 --- Comment #15 from Jakub Jelinek --- Created attachment 46332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46332&action=edit gcc10-pr59813-aarch64.patch Untested fix. The problem is that after adding sp addition back to the caller's s

[Bug rtl-optimization/88879] [9/10 Regression] ICE in sel_target_adjust_priority, at sel-sched.c:3332

2019-05-09 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88879 --- Comment #10 from Alexander Monakov --- Author: amonakov Date: Thu May 9 18:13:28 2019 New Revision: 271039 URL: https://gcc.gnu.org/viewcvs?rev=271039&root=gcc&view=rev Log: sel-sched: allow negative insn priority (PR 88879) PR rtl

[Bug d/88238] libphobos compile problems on Solaris 10

2019-05-09 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88238 Rainer Orth changed: What|Removed |Added Attachment #46309|0 |1 is obsolete|

[Bug rtl-optimization/88879] [9 Regression] ICE in sel_target_adjust_priority, at sel-sched.c:3332

2019-05-09 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88879 Alexander Monakov changed: What|Removed |Added Summary|[9/10 Regression] ICE in|[9 Regression] ICE in

[Bug target/88152] optimize SSE & AVX char compares with subsequent movmskb

2019-05-09 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88152 Matthias Kretz changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

  1   2   >