[Bug other/90431] support __builtin_cpu_supports() in Linux kernel code

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

[Bug tree-optimization/42970] Missed unused function return value elimination

2019-05-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42970 --- Comment #6 from Eric Gallager --- (In reply to Martin Jambor from comment #5) > I have posted a WIP patch as: > > https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01765.html > > I am in the process of cleaning it up for final submission once s

[Bug c/66970] Add __has_builtin() macro

2019-05-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66970 --- Comment #14 from Eric Gallager --- (In reply to Martin Sebor from comment #13) > Let me look into this request for GCC 10. It's GCC 10 now.

[Bug tree-optimization/80936] bcmp, bcopy, and bzero not declared nonnull

2019-05-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80936 --- Comment #5 from Eric Gallager --- (In reply to Martin Sebor from comment #4) > POSIX says this about bcopy: > > For maximum portability, it is recommended to replace the function call to > bcopy() as follows: > > #define bcopy(b1,b2,len

[Bug other/49194] Trivially stupid inlining decisions

2019-05-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194 --- Comment #12 from Eric Gallager --- (In reply to Jan Hubicka from comment #11) > Well, I am working on gradual improvements in the inlining decisions, > but since the PR is not very specific, we never will be perfect :) So should we leave it

[Bug target/37759] powerpc option -mabi=no-spe still generates SPE instructions

2019-05-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37759 --- Comment #10 from Eric Gallager --- (In reply to Arseny Solokha from comment #9) > Yes, but AFAIK none of the PRs specific to powerpcspe have been closed so > far. And, personally, I'd like them to stay open for another release cycle > in the

[Bug middle-end/78917] missing -Wnonnull passing null to a nonnull function

2019-05-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78917 --- Comment #3 from Eric Gallager --- (In reply to Martin Sebor from comment #2) > Another test case: > > $ cat f.c && gcc -O2 -S -Wall -Wextra f.c > int f (int i) > { > const char * p = __builtin_strchr (i ? "123" : "456", '2'); > return __

[Bug middle-end/66661] incorrect memory access in optimization with flexible array member

2019-05-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1 Eric Gallager changed: What|Removed |Added CC||joseph at codesourcery dot com,

[Bug other/90411] Colored diagnostics can omit characters

2019-05-10 Thread m101010a at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90411 --- Comment #2 from m101010a at gmail dot com --- When I said to put spaces ELs at the end of lines, I meant the end of logical lines (e.g. \n), not the end of screen lines. Sorry for the confusion. You can't see this issue in gnome-terminal bec

[Bug fortran/90430] [9 Regression] internal procedure target rejected in initialization

2019-05-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90430 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug translation/80195] Message build from untranslated string concatenation in fortran/resolve.c:14529

2019-05-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80195 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug target/90061] ARM cortex-M hard fault on 64 bit sized object store to unaligned address

2019-05-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90061 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Compon

[Bug translation/90157] aarch64: unnecessary abbreviation in diagnostic: arg instead of argument

2019-05-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90157 --- Comment #2 from Martin Sebor --- My checker found a few of these in an x86_64 build too: gcc/c-family/c-format.c:394:50: warning: ‘args’ is not a word; use ‘arguments’ instead [-Wformat-diag] gcc/c-family/c-format.c:5148:11: warning: ‘args’

[Bug c++/90432] New: Internal compiler error with no_unique_address empty type with constructor call followed by value initialized to non-zero

2019-05-10 Thread david at doublewise dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90432 Bug ID: 90432 Summary: Internal compiler error with no_unique_address empty type with constructor call followed by value initialized to non-zero Product: gcc Vers

[Bug other/90431] New: support __builtin_cpu_supports() in Linux kernel code

2019-05-10 Thread slandden at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90431 Bug ID: 90431 Summary: support __builtin_cpu_supports() in Linux kernel code Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug fortran/90430] New: [9 Regression] internal procedure target rejected in initialization

2019-05-10 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90430 Bug ID: 90430 Summary: [9 Regression] internal procedure target rejected in initialization Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/90239] [C++20] scoped_allocator_adaptor should support nested pair

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90239 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/90397] Incompatibility with clang-tidy on std::variant

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/90397] Incompatibility with clang-tidy on std::variant

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Fri May 10 22:23:10 2019 New Revision: 271083 URL: https://gcc.gnu.org/viewcvs?rev=271083&root=gcc&view=rev Log: PR libstdc++/90397 fix std::variant friend declaration Clang diagnoses i

[Bug libstdc++/90239] [C++20] scoped_allocator_adaptor should support nested pair

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90239 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Fri May 10 22:23:01 2019 New Revision: 271081 URL: https://gcc.gnu.org/viewcvs?rev=271081&root=gcc&view=rev Log: PR libstdc++/90239 use uses_allocator_construction_args in Backport fro

[Bug c++/90426] [P0732] Error constructing non-type template parameter from a prvalue

2019-05-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90426 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/90388] Disabled hash specialization should not be invocable

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90388 --- Comment #5 from Jonathan Wakely --- Fixed on trunk. The noexcept part might be worth backporting.

[Bug libstdc++/90397] Incompatibility with clang-tidy on std::variant

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Fri May 10 21:41:19 2019 New Revision: 271079 URL: https://gcc.gnu.org/viewcvs?rev=271079&root=gcc&view=rev Log: PR libstdc++/90397 fix std::variant friend declarations Clang diagnoses

[Bug target/81266] FAIL: 30_threads/thread/native_handle/typesizes.cc execution test on darwin

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81266 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Fri May 10 21:41:23 2019 New Revision: 271080 URL: https://gcc.gnu.org/viewcvs?rev=271080&root=gcc&view=rev Log: PR libstdc++/81266 fix std::thread::native_handle_type test The test use

[Bug libstdc++/90388] Disabled hash specialization should not be invocable

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90388 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Fri May 10 21:41:16 2019 New Revision: 271078 URL: https://gcc.gnu.org/viewcvs?rev=271078&root=gcc&view=rev Log: PR libstdc++/90388 fix std::hash> bugs A disabled specialization should

[Bug c++/90426] [P0732] Error constructing non-type template parameter from a prvalue

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

[Bug rtl-optimization/57193] [7 Regression] suboptimal register allocation for SSE registers

2019-05-10 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57193 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com --

[Bug rtl-optimization/87716] [9/10 Regression] FAIL: gcc.target/i386/pr57193.c scan-assembler-times movdqa 2

2019-05-10 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87716 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com --

[Bug translation/90152] untranslated strings in print_z_candidate

2019-05-10 Thread roland.illig at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90152 --- Comment #3 from Roland Illig --- (In reply to Martin Sebor from comment #2) > Just so I'm clear: what exactly needs to be enclosed in _(...) in > print_z_candidate? The code: print_z_candidate (loc, "candidate:", candidates); should be:

[Bug translation/90149] diagnostics containing BIT_FIELD_REF don't conform to diagnostics guideline

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

[Bug translation/90152] untranslated strings in print_z_candidate

2019-05-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90152 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug translation/90157] aarch64: unnecessary abbreviation in diagnostic

2019-05-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90157 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug c++/90353] No warning on unused exception parameter with -Wall -Wextra

2019-05-10 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90353 Dávid Bolvanský changed: What|Removed |Added CC||david.bolvansky at gmail dot com ---

[Bug fortran/61968] ICE (assembly failure) due to wrongly generating a vtable for TYPE(*) / BT_ASSUMED_TYPE

2019-05-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61968 --- Comment #9 from Thomas Koenig --- Author: tkoenig Date: Fri May 10 20:14:22 2019 New Revision: 271076 URL: https://gcc.gnu.org/viewcvs?rev=271076&root=gcc&view=rev Log: 2019-05-10 Thomas Koenig PR fortran/61968 * interface.c (com

[Bug other/87695] Arduino: ICE with avr and LTO

2019-05-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87695 Andrew Pinski changed: What|Removed |Added CC||sandreas at satx dot rr.com --- Comment

[Bug lto/90429] lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status

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

[Bug lto/90429] New: lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status

2019-05-10 Thread sandreas at satx dot rr.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90429 Bug ID: 90429 Summary: lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__ mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned

[Bug c++/90428] New: -Wredundant-move could warn for more cases

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90428 Bug ID: 90428 Summary: -Wredundant-move could warn for more cases Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority:

[Bug target/90419] RISCV --with-multilib-list support is somewhat incomplete

2019-05-10 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90419 --- Comment #4 from Jim Wilson --- GCC worked out of the box before we started upstreaming the toolchain. And it will work out of the box again when we are done with the upstreaming. But meanwhile, we are still in the middle of upstreaming and

[Bug middle-end/89845] Consider improving division and modulo by constant if highpart multiply is cheap

2019-05-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89845 Jakub Jelinek changed: What|Removed |Added CC||drepper at gcc dot gnu.org,

[Bug tree-optimization/56457] Bogus warning: loop-invariant.c:786:20: error: unused variable ‘regno’ when building vax-*-*

2019-05-10 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56457 Nicholas Krause changed: What|Removed |Added CC||xerofoify at gmail dot com --- Comment

[Bug c/71924] missing -Wreturn-local-addr returning alloca result

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

[Bug target/81266] FAIL: 30_threads/thread/native_handle/typesizes.cc execution test on darwin

2019-05-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81266 --- Comment #4 from Iain Sandoe --- Created attachment 46341 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46341&action=edit updated patch I'm testing this - the posted one didn't build on Darwin.

[Bug target/81266] FAIL: 30_threads/thread/native_handle/typesizes.cc execution test on darwin

2019-05-10 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81266 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2019-05-10 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 --- Comment #13 from Barry Revzin --- Thanks Marek!

[Bug tree-optimization/90427] missing "sign flipping" optimization

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

[Bug tree-optimization/90427] missing "sign flipping" optimization

2019-05-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90427 --- Comment #1 from Andrew Pinski --- I would suspect there are rounding mode issues with it.

[Bug preprocessor/90400] _Pragma not always expanded in the right location within macros

2019-05-10 Thread remi at machet dot us
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90400 --- Comment #2 from Remi --- I found 69543 which looks similar but is different (and fixed): the cause of the bug is different and it applies to the first level of a macro, while this bug requires 2 levels of macro to show up.

[Bug tree-optimization/90427] New: missing "sign flipping" optimization

2019-05-10 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90427 Bug ID: 90427 Summary: missing "sign flipping" optimization Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optim

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

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

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2019-05-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 --- Comment #11 from Marek Polacek --- Author: mpolacek Date: Fri May 10 14:57:22 2019 New Revision: 271066 URL: https://gcc.gnu.org/viewcvs?rev=271066&root=gcc&view=rev Log: PR c++/78010 - bogus -Wsuggest-override warning on final funct

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

2019-05-10 Thread thanm at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #29 from Than McIntosh --- Tested patch at https://gcc.gnu.org/bugzilla/attachment.cgi?id=46337 and that brings compile time now down to about 700 seconds. -ftime-report shows that tree-PRE is still the major culprit. Also tested se

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2019-05-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 --- Comment #10 from Marek Polacek --- Author: mpolacek Date: Fri May 10 14:53:30 2019 New Revision: 271065 URL: https://gcc.gnu.org/viewcvs?rev=271065&root=gcc&view=rev Log: PR c++/78010 - bogus -Wsuggest-override warning on final funct

[Bug c++/90426] New: [P0732] Error constructing non-type template parameter from a prvalue

2019-05-10 Thread mateusz.pusz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90426 Bug ID: 90426 Summary: [P0732] Error constructing non-type template parameter from a prvalue Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/89765] [9/10 Regression] Multiple problems with vec-insert implementation on PowerPC

2019-05-10 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89765 --- Comment #13 from kelvin at gcc dot gnu.org --- Author: kelvin Date: Fri May 10 14:00:17 2019 New Revision: 271064 URL: https://gcc.gnu.org/viewcvs?rev=271064&root=gcc&view=rev Log: gcc/ChangeLog: 2019-05-10 Kelvin Nilsen Backport

[Bug other/90411] Colored diagnostics can omit characters

2019-05-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90411 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug bootstrap/90418] [10 Regression] powerpc-darwin9 bootstrap fails after r271013

2019-05-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90418 --- Comment #7 from Iain Sandoe --- Created attachment 46340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46340&action=edit Patch under test This is a combination of Jakub's patch https://gcc.gnu.org/ml/gcc-patches/2019-05/msg00484.html

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

2019-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #28 from Richard Biener --- Created attachment 46339 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46339&action=edit untested patch This is another patch. It changes the iteration scheme to RPO order instead of DOM order to n

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

2019-05-10 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|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug bootstrap/90418] [10 Regression] powerpc-darwin9 bootstrap fails after r271013

2019-05-10 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90418 David Edelsohn changed: What|Removed |Added Target|powerpc-apple-darwin9 |powerpc-apple-darwin9

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

2019-05-10 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56113 --- Comment #39 from rguenther at suse dot de --- On Fri, 10 May 2019, ian at airs dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56113 > > --- Comment #38 from Ian Lance Taylor --- > Ah, sorry, misunderstood. > > Yes, that wor

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

2019-05-10 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56113 --- Comment #38 from Ian Lance Taylor --- Ah, sorry, misunderstood. Yes, that work was all for the goal of implementing -Wjump-misses-init, which is a small aspect of -Wc++-compat. That was part of the work of getting GCC to use the common subs

[Bug gcov-profile/90425] [GCOV] wrong coverage for complicated function call in if expression when the abort() statement is in the body of if statement

2019-05-10 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90425 --- Comment #2 from Yibiao Yang --- (In reply to Martin Liška from comment #1) > Confirmed, we already have a duplicate for it. It's about trailing '||' > operator. > Following is fine: > > -:4:int > 1:5:main () >

[Bug bootstrap/90418] [10 Regression] powerpc-darwin9 bootstrap fails after r271013

2019-05-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90418 --- Comment #5 from Iain Sandoe --- (In reply to Iain Sandoe from comment #4) > (In reply to Jakub Jelinek from comment #3) > > (In reply to Iain Sandoe from comment #2) > > > (In reply to Jakub Jelinek from comment #1) > > > Though, I don't und

[Bug gcov-profile/90425] [GCOV] wrong coverage for complicated function call in if expression when the abort() statement is in the body of if statement

2019-05-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90425 Martin Liška changed: What|Removed |Added Priority|P3 |P5 Status|UNCONFIRMED

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

2019-05-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90416 --- Comment #3 from Martin Liška --- Created attachment 46338 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46338&action=edit Debugging patch So the issue started before the revision, output of the debugging patch is following: $ ./xgcc

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

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

[Bug gcov-profile/90425] New: [GCOV] wrong coverage for complicated function call in if expression when the abort() statement is in the body of if statement

2019-05-10 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90425 Bug ID: 90425 Summary: [GCOV] wrong coverage for complicated function call in if expression when the abort() statement is in the body of if statement Product: gcc

[Bug target/90424] New: memcpy into vector builtin not optimized

2019-05-10 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90424 Bug ID: 90424 Summary: memcpy into vector builtin not optimized Product: gcc Version: 9.1.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal P

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

2019-05-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90364 --- Comment #7 from Martin Liška --- (In reply to Richard Biener from comment #6) > 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.

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

2019-05-10 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|NEW |ASSIGNED Assignee|unassigned at

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

2019-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #27 from Richard Biener --- Created attachment 46337 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46337&action=edit untested patch So this is another patch adjusting PRE insertion to only iterate when necessary (well, I think

[Bug c++/90423] Breakage with C++ and "-mlong-double-128"

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

[Bug libstdc++/90370] Does 0 correspond to a POSIX errno value for std::system_category?

2019-05-10 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90370 --- Comment #5 from Florian Weimer --- (In reply to Florian Weimer from comment #4) > (In reply to Jonathan Wakely from comment #3) > > The issue is basically that the C++ Standard Library defines two categories > > for error numbers known to the

[Bug c++/90423] New: Breakage with C++ and "-mlong-double-128"

2019-05-10 Thread mar...@mpa-garching.mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90423 Bug ID: 90423 Summary: Breakage with C++ and "-mlong-double-128" Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/90370] Does 0 correspond to a POSIX errno value for std::system_category?

2019-05-10 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90370 --- Comment #4 from Florian Weimer --- (In reply to Jonathan Wakely from comment #3) > The issue is basically that the C++ Standard Library defines two categories > for error numbers known to the implementation: "generic" and "system", where > th

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

2019-05-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #28 from Martin Liška --- (In reply to Melven.Roehrig-Zoellner from comment #27) > (In reply to Martin Liška from comment #25) > > (In reply to Melven.Roehrig-Zoellner from comment #24) > > > Created attachment 46335 [details] > > > T

[Bug bootstrap/90418] [10 Regression] powerpc-darwin9 bootstrap fails after r271013

2019-05-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90418 --- Comment #4 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #3) > (In reply to Iain Sandoe from comment #2) > > (In reply to Jakub Jelinek from comment #1) > Though, I don't understand why that > if (DEFAULT_ABI == ABI_DARWIN &&

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

2019-05-10 Thread matmal01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90414 --- Comment #2 from Matthew Malcomson --- (In reply to Richard Biener from comment #1) > (In reply to Matthew Malcomson from comment #0) > > Hello, > > > > I'm looking into how we can implement MTE in the compiler. > > What is MTE? It's an arc

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

2019-05-10 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88709 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Com

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

2019-05-10 Thread Melven.Roehrig-Zoellner at DLR dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #27 from Melven.Roehrig-Zoellner at DLR dot de --- (In reply to Martin Liška from comment #25) > (In reply to Melven.Roehrig-Zoellner from comment #24) > > Created attachment 46335 [details] > > Testcase: Fortran coverage .gcda and .gc

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

2019-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #26 from Richard Biener --- (In reply to Richard Biener from comment #25) > OK, so the hashtable looks good. But > > 135 pre "insert iterations == 1084" 1 > > is indeed excessive. Expecially combined with > > 135 pre "Insertions"

[Bug bootstrap/90418] [10 Regression] powerpc-darwin9 bootstrap fails after r271013

2019-05-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90418 --- Comment #3 from Jakub Jelinek --- (In reply to Iain Sandoe from comment #2) > (In reply to Jakub Jelinek from comment #1) > > Most likely similar problem to the one analyzed in PR59813, after all, it is > > the same function. Previously, in

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

2019-05-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #26 from Martin Liška --- Created attachment 46336 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46336&action=edit Patch 2/2

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

2019-05-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380 --- Comment #25 from Martin Liška --- (In reply to Melven.Roehrig-Zoellner from comment #24) > Created attachment 46335 [details] > Testcase: Fortran coverage .gcda and .gcno files > > Hi Martin > > here is coverage test data for one of the For

[Bug bootstrap/90418] [10 Regression] powerpc-darwin9 bootstrap fails after r271013

2019-05-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90418 --- Comment #2 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #1) > Most likely similar problem to the one analyzed in PR59813, after all, it is > the same function. Previously, in that function there were no tail calls > and most

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

2019-05-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90383 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri May 10 08:19:44 2019 New Revision: 271058 URL: https://gcc.gnu.org/viewcvs?rev=271058&root=gcc&view=rev Log: PR c++/90383 * tree-inline.h (struct copy_body_data): Add

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

2019-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #25 from Richard Biener --- OK, so the hashtable looks good. But 135 pre "insert iterations == 1084" 1 is indeed excessive. Expecially combined with 135 pre "Insertions" 3 I wonder if you can share the full -fdump-tree-pre-detai

[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-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90385 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri May 10 08:20:38 2019 New Revision: 271059 URL: https://gcc.gnu.org/viewcvs?rev=271059&root=gcc&view=rev Log: PR tree-optimization/90385 * tree-parloops.c (try_create_r

[Bug fortran/90093] Extended C interop: optional argument incorrectly identified as PRESENT

2019-05-10 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90093 --- Comment #3 from Paul Thomas --- Author: pault Date: Fri May 10 07:59:42 2019 New Revision: 271057 URL: https://gcc.gnu.org/viewcvs?rev=271057&root=gcc&view=rev Log: 2019-05-10 Paul Thomas PR fortran/90093 * trans-decl.c (

[Bug bootstrap/90418] [10 Regression] powerpc-darwin9 bootstrap fails after r271013

2019-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90418 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug gcov-profile/90420] [GCOV] wrong coverage with "-O3" or "-O2" optimizations for function call

2019-05-10 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90420 --- Comment #8 from Yibiao Yang --- (In reply to Martin Liška from comment #7) > > Line #5 is marked as not executed. I understand that this function might be > > optimized as an inline function. However, since Line #7 and Line #8 is > > marked a

[Bug fortran/90355] Uninitialized read in gfortran.dg/ISO_Fortran_binding_4.f90 test

2019-05-10 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90355 --- Comment #2 from Paul Thomas --- Author: pault Date: Fri May 10 07:59:42 2019 New Revision: 271057 URL: https://gcc.gnu.org/viewcvs?rev=271057&root=gcc&view=rev Log: 2019-05-10 Paul Thomas PR fortran/90093 * trans-decl.c (

[Bug fortran/90352] [9/10 Regression] ICE on BIND(C) subroutine with characters with len /= 1

2019-05-10 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90352 --- Comment #7 from Paul Thomas --- Author: pault Date: Fri May 10 07:59:42 2019 New Revision: 271057 URL: https://gcc.gnu.org/viewcvs?rev=271057&root=gcc&view=rev Log: 2019-05-10 Paul Thomas PR fortran/90093 * trans-decl.c (

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

2019-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90416 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Priority|P3

[Bug tree-optimization/90271] [missed-optimization] failure to keep variables in registers during "faux" memcpy

2019-05-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90271 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Fri May 10 07:53:23 2019 New Revision: 271056 URL: https://gcc.gnu.org/viewcvs?rev=271056&root=gcc&view=rev Log: PR tree-optimization/88709 PR tree-optimization/90271

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

2019-05-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88709 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Fri May 10 07:53:23 2019 New Revision: 271056 URL: https://gcc.gnu.org/viewcvs?rev=271056&root=gcc&view=rev Log: PR tree-optimization/88709 PR tree-optimization/90271

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

2019-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56113 --- Comment #37 from Richard Biener --- (In reply to Ian Lance Taylor from comment #36) > Different Ian, but I'm not sure which one -- ILT I'm sure it was you - r148512. Of course the intent of that rev. was to speed things up. I didn't check

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

2019-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90414 --- Comment #1 from Richard Biener --- (In reply to Matthew Malcomson from comment #0) > Hello, > > I'm looking into how we can implement MTE in the compiler. What is MTE? ... > 3) Would there be any obvious difficulties with a transformation

[Bug tree-optimization/90387] [9 Regression] __builtin_constant_p and -Warray-bounds warnings

2019-05-10 Thread JunMa at linux dot alibaba.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90387 --- Comment #4 from JunMa --- LGTM

  1   2   >