[Bug preprocessor/82176] Feature request: replace __FILE__ with file's basename instead its full name

2019-10-26 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82176 --- Comment #6 from Eric Gallager --- (In reply to Gregory Fuchedzhy from comment #5) > (In reply to Eric Gallager from comment #3) > > *** Bug 91998 has been marked as a duplicate of this bug. *** > > Not exactly a duplicate, but related. > Cla

[Bug c/91998] Add a __FILE_NAME__ macro

2019-10-26 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91998 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/42579] [PATCH] support for obtaining file basename

2019-10-26 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42579 Eric Gallager changed: What|Removed |Added CC||fuchedzhy at google dot com --- Comment

[Bug c/23577] spurious warnings about unhandled cases in switches (need VRP and control flow in front-end)

2019-10-26 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23577 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c/58884] OPTIONAL warning when a temprary value is created and not used.

2019-10-26 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58884 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c++/92238] New: constexpr fails to compile 2d std::array in C++ 10 master

2019-10-26 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92238 Bug ID: 92238 Summary: constexpr fails to compile 2d std::array in C++ 10 master Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Prior

[Bug target/92237] [x86] Missed optimisation opportunity with bit tests

2019-10-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92237 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/92237] New: [x86] Missed optimisation opportunity with bit tests

2019-10-26 Thread andrew.cooper3 at citrix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92237 Bug ID: 92237 Summary: [x86] Missed optimisation opportunity with bit tests Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/92236] [concepts] Explain non-satisfaction in static_assert

2019-10-26 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92236 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/92236] New: [concepts] Explain non-satisfaction in static_assert

2019-10-26 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92236 Bug ID: 92236 Summary: [concepts] Explain non-satisfaction in static_assert Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected

2019-10-26 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244 --- Comment #12 from Marek Polacek --- Another bit to extend the Comment 11 test: // Test OVERLOAD in a template. int id(int v) { return v; } double id(double v) { return v; } template auto f5(double v) -> decltype((S{id(v)}, 1)) { return 1; }

[Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure

2019-10-26 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Commen

[Bug c++/85254] boost::is_final does not work for template types

2019-10-26 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85254 --- Comment #8 from ville at gcc dot gnu.org --- Author: ville Date: Sat Oct 26 17:32:24 2019 New Revision: 277474 URL: https://gcc.gnu.org/viewcvs?rev=277474&root=gcc&view=rev Log: PR c++/85254 Backport from mainline 2019-06-01 Ville Voutilain

[Bug libstdc++/92224] Set: Can't be created a set with const template parameter

2019-10-26 Thread mariogalindoq at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92224 --- Comment #3 from Mario Galindo --- Thank you sir. As clang is allowing this type of construction, I believe now that the "bug" is in clang, not gcc. Regards. Dr. Ing. Mario Galindo Q. Cel: 591-72062746 & 591-72010422 On 25 Oct 2019 06:20, "r

[Bug bootstrap/92235] New: [10 Regression] ICE in host_detect_local_cpu, segfault (profiled lto) on powerpc64le-linux-gnu

2019-10-26 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92235 Bug ID: 92235 Summary: [10 Regression] ICE in host_detect_local_cpu, segfault (profiled lto) on powerpc64le-linux-gnu Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug target/91289] powerpc-eabi: Usage of -fstack-limit-symbol leads to internal compiler error during RTL pass

2019-10-26 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91289 Segher Boessenkool changed: What|Removed |Added Status|NEW |ASSIGNED Known to fail|

[Bug target/91289] powerpc-eabi: Usage of -fstack-limit-symbol leads to internal compiler error during RTL pass

2019-10-26 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91289 --- Comment #14 from Segher Boessenkool --- Author: segher Date: Sat Oct 26 16:38:59 2019 New Revision: 277472 URL: https://gcc.gnu.org/viewcvs?rev=277472&root=gcc&view=rev Log: rs6000: Fix allocate_stack in a corner case (PR91289) When we have

[Bug lto/92234] New: [10 Regression] ICE verify_gimple failed (profiled lto) on s390x-linux-gnu

2019-10-26 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92234 Bug ID: 92234 Summary: [10 Regression] ICE verify_gimple failed (profiled lto) on s390x-linux-gnu Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: norma

[Bug rtl-optimization/92095] ICE on sparc-gcc -O1 -mcpu=niagara2 -fPIE: validize_mem(rtx_def*): gcc/gcc/explow.c:521

2019-10-26 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92095 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Comm

[Bug target/92227] Optimizations on constant integer overflow checks lead to incorrect results

2019-10-26 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92227 Eric Botcazou changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug tree-optimization/92233] missed optimisation for multiplication when it's known that at least one of the arguments is 0

2019-10-26 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92233 --- Comment #1 from Marc Glisse --- (llvm doesn't do it either) Would some kind of threading be the most natural way to handle this? If the compiler duplicates the code as if (a==0) return a*b; else if (b==0) return a*b; then it becomes easy to