[Bug target/96755] [11 Regression] ICE in final_scan_insn_1, at final.c:3073 with -O3 -march=skylake-avx512

2020-08-24 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96755 --- Comment #4 from Hongtao.liu --- Fixed in GCC11.

[Bug target/96755] [11 Regression] ICE in final_scan_insn_1, at final.c:3073 with -O3 -march=skylake-avx512

2020-08-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96755 --- Comment #3 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:108477875f01798eecd7780207396b8c44930ae9 commit r11-2833-g108477875f01798eecd7780207396b8c44930ae9 Author: liuhongt Date: Mon Aug 2

[Bug tree-optimization/96715] Failure to optimize copysign of variable by negated variable

2020-08-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96715 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bb5e895245ebef488b63efc239f64488aef65cf1 commit r11-2832-gbb5e895245ebef488b63efc239f64488aef65cf1 Author: Jakub Jelinek Date: Tu

[Bug c++/96721] [11 Regression] pseudo-destructor calls on pointers since r11-2238

2020-08-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96721 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:61680cfaf1eef26a5953f36ab82a1cc13f9b2f2c commit r11-2831-g61680cfaf1eef26a5953f36ab82a1cc13f9b2f2c Author: Jakub Jelinek Date: Tu

[Bug target/95450] [10/11 regression] Wrong long double folding

2020-08-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95450 --- Comment #10 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9f2f79df19fbfaa1c4be313c2f2b5ce04646433e commit r11-2830-g9f2f79df19fbfaa1c4be313c2f2b5ce04646433e Author: Jakub Jelinek Date: T

[Bug target/96744] [11 Regression] FAIL: gcc.target/i386/avx512bitalgvl-vpopcntb-1.c execution test

2020-08-24 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96744 --- Comment #7 from Hongtao.liu --- (In reply to Uroš Bizjak from comment #5) > (In reply to Hongtao.liu from comment #2) > > > Need to add define_insn for movp2qi/movp2hi? > > Yes, this is needed to cover some corner cases. Please see attachme

[Bug target/96709] cmov and vectorization

2020-08-24 Thread g.peterh...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96709 --- Comment #2 from g.peterh...@t-online.de --- You can choose the boost version on godbolt.org. The example uses 1.73, but only the macros #define BOOST_FORCEINLINE inline __attribute__ ((__always_inline__)) and #define BOOST_NOINLINE __attribute

[Bug c++/95428] ABI breakage for "base object constructor" for final classes

2020-08-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95428 --- Comment #11 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:6b958ee0fd0e1b2a2b22784ffbe531ed74358a22 commit r11-2829-g6b958ee0fd0e1b2a2b22784ffbe531ed74358a22 Author: Jason Merrill Date: F

[Bug c++/96778] New: static cast a integer to a enum type whose underlying type is fixed

2020-08-24 Thread fujii.hironori at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96778 Bug ID: 96778 Summary: static cast a integer to a enum type whose underlying type is fixed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug analyzer/96777] New: [11 Regression] ICE in bind_compound_sval, at analyzer/store.cc:618

2020-08-24 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96777 Bug ID: 96777 Summary: [11 Regression] ICE in bind_compound_sval, at analyzer/store.cc:618 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/96689] Segmentation fault when defaulting operator<=> on enum er enum class

2020-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96689 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/96746] Type Casting in template function should not be type-dependent if the type of the conversion result is not type-dependent.

2020-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96746 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug middle-end/96750] 10-12% performance decrease in benchmark going from GCC8 to GCC9/GCC10

2020-08-24 Thread mattreecebentley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96750 --- Comment #4 from Matt Bentley --- (In reply to Marc Glisse from comment #2) > (In reply to Martin Liška from comment #1) > > after: > > 1794240.0 > > > > before: > > 1802710.0 > > That's less than 1% of difference (with "after" better than "

[Bug tree-optimization/96760] [11 Regression] Faulty optimization in nested loops with -O2

2020-08-24 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96760 --- Comment #4 from joseph at codesourcery dot com --- The increment is addition of 1 in type int (after integer promotions), followed by conversion back to char. Converting an out-of-range integer value to a narrower signed integer type is im

[Bug c++/96742] [10/11 Regression] "warning: comparison of unsigned expression in ‘< 0’ is always false" with dependent values

2020-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96742 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/96701] Failure to optimize self right-shift to 0

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96701 Andrew Pinski changed: What|Removed |Added Keywords||easyhack Status|UNCONFIRMED

[Bug tree-optimization/88814] transform snprintf into memccpy

2020-08-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88814 --- Comment #3 from Martin Sebor --- (In reply to Dávid Bolvanský from comment #2) The n in the assignment in 'd[n - 1] = 0;' should be the result of snprintf for constant arguments. In GCC, it's computed by the sprintf pass which then performs

[Bug tree-optimization/96754] Failure to optimize strcpy+strlen to memcpy when strlen is done after strcpy

2020-08-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96754 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/96703] Failure to optimize combined comparison of variables and of variable with 0 to two comparisons with 0

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96703 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2020-08-24 Keywords|

[Bug tree-optimization/96707] Failure to optimize right shift+unsigned compare of two variables optimally

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96707 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/96742] "warning: comparison of unsigned expression in ‘< 0’ is always false" with dependent values

2020-08-24 Thread wtt6 at cornell dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96742 --- Comment #2 from William Throwe --- It was decided in bug 11856 that it was a bug to warn about comparisons when a choice for a type template parameter made them always false, so it seems like it should also be a bug to warn if a non-type temp

[Bug c++/95428] ABI breakage for "base object constructor" for final classes

2020-08-24 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95428 Jason Merrill changed: What|Removed |Added Target Milestone|--- |10.3 Status|ASSIGNED

[Bug c++/70462] Unnecessary "base object constructor" for final classes

2020-08-24 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70462 Jason Merrill changed: What|Removed |Added Resolution|FIXED |WONTFIX --- Comment #9 from Jason Merril

[Bug c++/95428] ABI breakage for "base object constructor" for final classes

2020-08-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95428 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d94796352234def681a34eef99dad18bccecbca7 commit r10-8659-gd94796352234def681a34eef99dad18bccecbca7 Author: Jason Merrill D

[Bug c++/96776] Missing tail call optimization when passing local variable by reference to yet another function

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96776 --- Comment #6 from Andrew Pinski --- (In reply to Matheus Izvekov from comment #5) > There is one small issue with this though, but is even smaller, in that if > foo body was visible, and it did not escape that reference further, the tail > call

[Bug tree-optimization/96708] Failure to optimize max pattern with comparison when using a temporary variable

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96708 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/61372] Add warning to detect noexcept functions that might throw

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372 --- Comment #7 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #2) > extern "C" functions can throw, so it would be wrong to unconditionally > assume they can't. Yes that is correct. Even extern "C" functions could be written i

[Bug c++/96776] Missing tail call optimization when passing local variable by reference to yet another function

2020-08-24 Thread mizvekov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96776 Matheus Izvekov changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug tree-optimization/96738] GCC generates worse assembly than clang and It fails to vectorized code compared to clang

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96738 Andrew Pinski changed: What|Removed |Added Target|All |x86_64-linux-gnu Component|rtl-

[Bug tree-optimization/96760] [11 Regression] Faulty optimization in nested loops with -O2

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96760 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|REOPENED

[Bug c++/96776] Missing tail call optimization when passing local variable by reference to yet another function

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96776 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/96776] Missing tail call optimization when passing local variable by reference to yet another function

2020-08-24 Thread mizvekov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96776 --- Comment #3 from Matheus Izvekov --- Yeah Andrew I realized it just after I posted, disregard.

[Bug target/96709] cmov and vectorization

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96709 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2020-08-24 Status|UNCONFIRME

[Bug c++/96776] Missing tail call optimization when passing local variable by reference to yet another function

2020-08-24 Thread mizvekov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96776 Matheus Izvekov changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c++/96776] Missing tail call optimization when passing local variable by reference to yet another function

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96776 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/96776] New: Missing tail call optimization when passing local variable by reference to yet another function

2020-08-24 Thread mizvekov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96776 Bug ID: 96776 Summary: Missing tail call optimization when passing local variable by reference to yet another function Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug sanitizer/96775] UBSan: confusing error message load of address with insufficient space

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96775 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/88780] [8/9/10/11 Regression] bogus -Wstringop-truncation for copying as many bytes from a string as its length

2020-08-24 Thread marietto2008 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88780 --- Comment #8 from Marietto --- https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1892475 Il giorno mar 18 ago 2020 alle ore 19:26 msebor at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> ha scritto: > https://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug sanitizer/94448] LSan: leaks should report PID and TID of allocation

2020-08-24 Thread diane2332 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94448 Diane Meirowitz changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/96775] UBSan: confusing error message load of address with insufficient space

2020-08-24 Thread diane2332 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96775 --- Comment #2 from Diane Meirowitz --- I have the latest llvm source code and it's the same. We will back port any fixes.

[Bug d/96153] d: struct literals have non-deterministic hash values

2020-08-24 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96153 --- Comment #7 from Iain Buclaw --- Fixing the case for SPARC64 triggers the test case in pr96157 to fail on x86_64.

[Bug sanitizer/96775] UBSan: confusing error message load of address with insufficient space

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96775 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/google/s

[Bug sanitizer/96774] UBSan: please provide __ubsan_set_error_report_callback() to capture error messages

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96774 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 See Also|

[Bug sanitizer/96775] New: UBSan: confusing error message load of address with insufficient space

2020-08-24 Thread diane2332 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96775 Bug ID: 96775 Summary: UBSan: confusing error message load of address with insufficient space Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug sanitizer/96774] New: UBSan: please provide __ubsan_set_error_report_callback() to capture error messages

2020-08-24 Thread diane2332 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96774 Bug ID: 96774 Summary: UBSan: please provide __ubsan_set_error_report_callback() to capture error messages Product: gcc Version: unknown Status: UNCON

[Bug sanitizer/96773] ASan: please provide __asan_address_is_shadow() for complex programs

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96773 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |SUSPENDED Ever confirmed|0

[Bug sanitizer/96773] New: ASan: please provide __asan_address_is_shadow() for complex programs

2020-08-24 Thread diane2332 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96773 Bug ID: 96773 Summary: ASan: please provide __asan_address_is_shadow() for complex programs Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libstdc++/96733] std::clamp for floats and doubles produces worse code than a combo of std::min / std::max

2020-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96733 Jonathan Wakely changed: What|Removed |Added Component|middle-end |libstdc++ --- Comment #5 from Jonathan

[Bug c++/88003] ICE on outside definition of inner function-local class in poplevel_class, at cp/name-lookup.c:4325

2020-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88003 --- Comment #5 from Marek Polacek --- All part of my grand plan. Seriously though, you must've grepped an ICE that was XFAILed (the only one, thus far).

[Bug c++/96742] "warning: comparison of unsigned expression in ‘< 0’ is always false" with dependent values

2020-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96742 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/88003] ICE on outside definition of inner function-local class in poplevel_class, at cp/name-lookup.c:4325

2020-08-24 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88003 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug target/96772] Power VSX libmvec implementation for OpenMP SIMD

2020-08-24 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96772 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/96772] New: Power VSX libmvec implementation for OpenMP SIMD

2020-08-24 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96772 Bug ID: 96772 Summary: Power VSX libmvec implementation for OpenMP SIMD Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Comp

[Bug middle-end/96733] std::clamp for floats and doubles produces worse code than a combo of std::min / std::max

2020-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96733 --- Comment #4 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #3) > Shouldn't this help in the library then? > > if (__hi < __lo) > __builtin_unreachable(); For integers, I guess it could if Andrew's/Aldy's stuff

[Bug middle-end/96733] std::clamp for floats and doubles produces worse code than a combo of std::min / std::max

2020-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96733 --- Comment #3 from Jonathan Wakely --- Shouldn't this help in the library then? if (__hi < __lo) __builtin_unreachable();

[Bug middle-end/96733] std::clamp for floats and doubles produces worse code than a combo of std::min / std::max

2020-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96733 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug middle-end/96771] New: arm/pr32920-2.c fails since svn r228175 / f11a7b6d57f6fcba1bf2e5a0403dc49120195320

2020-08-24 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96771 Bug ID: 96771 Summary: arm/pr32920-2.c fails since svn r228175 / f11a7b6d57f6fcba1bf2e5a0403dc49120195320 Product: gcc Version: 10.0 Status: UNCONFIRMED Severit

[Bug libstdc++/96766] std::swap(std::variant, std::variant) triggers undefined behavior sanitizer

2020-08-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96766 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:074436cf8cdd2a9ce75cadd36deb8301f00e55b9 commit r11-2822-g074436cf8cdd2a9ce75cadd36deb8301f00e55b9 Author: Jonathan Wakely Date:

[Bug tree-optimization/96730] [10/11 Regression] ICE on x86_64-linux-gnu with `-O1` to `-O3` (in verify_sra_access_forest, at tree-sra.c:2352) since r10-6320-g5b9e89c922dc2e7e

2020-08-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96730 --- Comment #3 from Martin Jambor --- I have proposed a fix on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2020-August/552488.html

[Bug target/96744] [11 Regression] FAIL: gcc.target/i386/avx512bitalgvl-vpopcntb-1.c execution test

2020-08-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96744 --- Comment #6 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #5) > However, the patch assumes that avx512vp2intersect implies mavx512dq, > otherwise there is no direct QImode move from mask register to memory > available. This is th

[Bug tree-optimization/96715] Failure to optimize copysign of variable by negated variable

2020-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96715 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2020-08-24 Assignee|unassigned

[Bug target/96744] [11 Regression] FAIL: gcc.target/i386/avx512bitalgvl-vpopcntb-1.c execution test

2020-08-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96744 --- Comment #5 from Uroš Bizjak --- (In reply to Hongtao.liu from comment #2) > Need to add define_insn for movp2qi/movp2hi? Yes, this is needed to cover some corner cases. Please see attachment 49114. However, the patch assumes that avx512vp2

[Bug target/96744] [11 Regression] FAIL: gcc.target/i386/avx512bitalgvl-vpopcntb-1.c execution test

2020-08-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96744 --- Comment #4 from Uroš Bizjak --- Created attachment 49114 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49114&action=edit Double-reg mask moves

[Bug fortran/96486] get_environment_variable crashes for environment variables that are empty strings

2020-08-24 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 markeggleston at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Stat

[Bug fortran/96486] get_environment_variable crashes for environment variables that are empty strings

2020-08-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 --- Comment #31 from CVS Commits --- The releases/gcc-9 branch has been updated by Mark Eggleston : https://gcc.gnu.org/g:bbe17767c602f1ff08a1520a1d989c6b86b536fd commit r9-8829-gbbe17767c602f1ff08a1520a1d989c6b86b536fd Author: Mark Eggleston

[Bug tree-optimization/96722] [8/9/10/11 Regression] Clobbers on NULL since r8-1519

2020-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96722 --- Comment #6 from Richard Biener --- I don't have a good idea either but eventually something along the following - if we remove any control stmt in a clobbers control dependence chain force-remove the clobber. Obviously as written it's highly

[Bug target/94538] [9/10/11 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-08-24 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 --- Comment #21 from Christophe Lyon --- I filed PR96767, PR96768, PR96769, PR96770 to track the enhancements discussed here. The ICE is now fixed in trunk.

[Bug target/96770] New: -mpure-code produces suboptimal code for relocations with small offset for thumb-1

2020-08-24 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96770 Bug ID: 96770 Summary: -mpure-code produces suboptimal code for relocations with small offset for thumb-1 Product: gcc Version: 10.0 Status: UNCONFIRMED Severit

[Bug target/96769] New: -mpure-code produces suboptimal code for immediate generation for thumb-1

2020-08-24 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96769 Bug ID: 96769 Summary: -mpure-code produces suboptimal code for immediate generation for thumb-1 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/96768] New: -mpure-code produces switch tables for thumb-1

2020-08-24 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96768 Bug ID: 96768 Summary: -mpure-code produces switch tables for thumb-1 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tar

[Bug target/96767] New: -mpure-code produces indirect loads for thumb-1

2020-08-24 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96767 Bug ID: 96767 Summary: -mpure-code produces indirect loads for thumb-1 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ta

[Bug tree-optimization/96758] [10/11 Regression] strncmp miscompiles as memcmp since r10-3920-g27c14dbc6b01d5b7

2020-08-24 Thread gcc-bugs at vgkmb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96758 --- Comment #3 from R. Evans --- Thanks for the quick patch! Applied to head (87c753ac) and confirmed that it passes the test case and fixes the problem with smartmontools-7.1.

[Bug c++/96765] Base class constructor cast to derived should cause a warning

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

[Bug tree-optimization/96722] [8/9/10/11 Regression] Clobbers on NULL since r8-1519

2020-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96722 --- Comment #5 from Jakub Jelinek --- On the CDDCE side, I'm afraid I have no idea what can be done. The pass works by not considering clobber stmts necessary, and when about to remove (all) clobbers as unnecessary, it instead attempts to keep th

[Bug libstdc++/96766] std::swap(std::variant, std::variant) triggers undefined behavior sanitizer

2020-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96766 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Eve

[Bug libstdc++/96766] std::swap(std::variant, std::variant) triggers undefined behavior sanitizer

2020-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96766 --- Comment #2 from Jonathan Wakely --- This is clang's stupid "unsigned overflow" sanitizer, which complains about correct code. The conversion here is intended, and does exactly the right thing, converting numeric_limits::max() to numeric_limit

[Bug libstdc++/96766] std::swap(std::variant, std::variant) triggers undefined behavior sanitizer

2020-08-24 Thread kndevl at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96766 --- Comment #1 from Karthik Nishanth --- Reproducer https://www.godbolt.org/z/Whz6ab

[Bug libstdc++/96766] New: std::swap(std::variant, std::variant) triggers undefined behavior sanitizer

2020-08-24 Thread kndevl at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96766 Bug ID: 96766 Summary: std::swap(std::variant, std::variant) triggers undefined behavior sanitizer Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: no

[Bug c++/96761] "error: call of overloaded ‘func(size_t)’ is ambiguous" when argument is size_t(0) and func(int) and func(const char *) are visible

2020-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96761 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2020-08-24 Ever confirmed|0

[Bug debug/96690] [10/11 Regression] ICE in write_type since r10-6087

2020-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96690 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/96760] Faulty optimization in nested loops with -O2

2020-08-24 Thread zhige.yu18 at imperial dot ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96760 --- Comment #3 from Yu Zhige --- (In reply to Thomas Koenig from comment #1) > The loop > > for (a = 20; a; a++) { > > increases a, which is a char, beyond its value range, and then tests > against zero. > > This is undefined behavior. > > N4

[Bug tree-optimization/96722] [8/9/10/11 Regression] Clobbers on NULL since r8-1519

2020-08-24 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96722 --- Comment #4 from rguenther at suse dot de --- On Mon, 24 Aug 2020, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96722 > > --- Comment #3 from Jakub Jelinek --- > Created attachment 49111 > --> https://gcc

[Bug target/96744] [11 Regression] FAIL: gcc.target/i386/avx512bitalgvl-vpopcntb-1.c execution test

2020-08-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96744 --- Comment #3 from Uroš Bizjak --- Created attachment 49112 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49112&action=edit Retune mask <-> general moves cost It looks to me that mask <-> general cost is too low, so the compiler now pref

[Bug c++/96761] "error: call of overloaded ‘func(size_t)’ is ambiguous" when argument is size_t(0) and func(int) and func(const char *) are visible

2020-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96761 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug debug/96690] [10/11 Regression] ICE in write_type since r10-6087

2020-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96690 --- Comment #6 from Jakub Jelinek --- Without LTO, gen_remaining_tmpl_value_param_die_attribute will try to get it, and will mangle the foo decl, but shortly after will throw it away due to const_ok_for_output failing on it. Your patch makes sens

[Bug analyzer/96764] [11 Regression] ICE in fold_convert_const_int_from_real, at fold-const.c:2038

2020-08-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96764 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug debug/96690] [10/11 Regression] ICE in write_type since r10-6087

2020-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96690 --- Comment #5 from Richard Biener --- Forcing the mangling via generating garbage RTL early doesn't work since the /* ??? The C++ FE emits debug information for using decls, so putting gcc_unreachable here falls over. See PR31899. For

[Bug analyzer/96763] [11 Regression] ICE in get_subregion_within_ctor, at analyzer/store.cc:379 on RANGE_EXPR index

2020-08-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96763 David Malcolm changed: What|Removed |Added Summary|[11 Regression] ICE in |[11 Regression] ICE in

[Bug c++/96765] New: Base class constructor cast to derived should cause a warning

2020-08-24 Thread jzwinck at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96765 Bug ID: 96765 Summary: Base class constructor cast to derived should cause a warning Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug analyzer/96764] New: [11 Regression] ICE in fold_convert_const_int_from_real, at fold-const.c:2038

2020-08-24 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96764 Bug ID: 96764 Summary: [11 Regression] ICE in fold_convert_const_int_from_real, at fold-const.c:2038 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: no

[Bug fortran/96486] get_environment_variable crashes for environment variables that are empty strings

2020-08-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 --- Comment #30 from CVS Commits --- The releases/gcc-10 branch has been updated by Mark Eggleston : https://gcc.gnu.org/g:5effbd0733f9a4d42ddae965e4c28701be7811ac commit r10-8658-g5effbd0733f9a4d42ddae965e4c28701be7811ac Author: Mark Eggleston

[Bug debug/96690] [10/11 Regression] ICE in write_type since r10-6087

2020-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96690 Richard Biener changed: What|Removed |Added Component|c++ |debug Keywords|

[Bug tree-optimization/96722] [8/9/10/11 Regression] Clobbers on NULL since r8-1519

2020-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96722 --- Comment #3 from Jakub Jelinek --- Created attachment 49111 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49111&action=edit gcc11-pr96722.patch If *0 ={v} {CLOBBER}; is supposed to be a fancy nop, then we should ignore it during path i

[Bug c++/96721] [11 Regression] pseudo-destructor calls on pointers since r11-2238

2020-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96721 --- Comment #3 from Jakub Jelinek --- Created attachment 49110 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49110&action=edit gcc11-pr96721.patch Untested fix.

[Bug ipa/96734] gcc 10.2.0 fails to compile on mips64 due to crash in IPA SRA pass

2020-08-24 Thread ariadne at dereferenced dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96734 --- Comment #6 from Ariadne Conill --- (In reply to Ariadne Conill from comment #5) > I should clarify. > > I cross-compiled g++ 10.2.0 to run on mips64 *host*. That part worked fine. > > Afterwards, the *host* mips64 g++ cannot compile itself

[Bug ipa/96734] gcc 10.2.0 fails to compile on mips64 due to crash in IPA SRA pass

2020-08-24 Thread ariadne at dereferenced dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96734 --- Comment #5 from Ariadne Conill --- I should clarify. I cross-compiled g++ 10.2.0 to run on mips64 *host*. That part worked fine. Afterwards, the *host* mips64 g++ cannot compile itself. The *host* mips64 g++ (which was cross-compiled from

[Bug c/201] Switch statement will not accept constant integer variable as case label

2020-08-24 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=201 Stas Sergeev changed: What|Removed |Added CC||stsp at users dot sourceforge.net --- Comm

[Bug fortran/96486] get_environment_variable crashes for environment variables that are empty strings

2020-08-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486 --- Comment #29 from CVS Commits --- The master branch has been updated by Mark Eggleston : https://gcc.gnu.org/g:de09e7ebc9d653745a103eef2b20c7f1dd76 commit r11-2819-gde09e7ebc9d653745a103eef2b20c7f1dd76 Author: Mark Eggleston Date:

[Bug ipa/96734] gcc 10.2.0 fails to compile on mips64 due to crash in IPA SRA pass

2020-08-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96734 --- Comment #4 from Martin Liška --- (In reply to Ariadne Conill from comment #3) > When that method.ii is compiled against g++ 9.3.0 with the provided options, > it compiles successfully. > > When built using a cross-compiled g++ 10.2.0, it cra

[Bug tree-optimization/96758] [10/11 Regression] strncmp miscompiles as memcmp since r10-3920-g27c14dbc6b01d5b7

2020-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96758 --- Comment #2 from Jakub Jelinek --- Created attachment 49109 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49109&action=edit gcc11-pr96758.patch Untested fix. cmpsiz has been computed incorrectly and while the code had the intent to ha

  1   2   >