[Bug c/97157] New: -Wduplicated-branches: C ICE in hash_operand, at fold-const.c:3768

2020-09-21 Thread jim at meyering dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97157 Bug ID: 97157 Summary: -Wduplicated-branches: C ICE in hash_operand, at fold-const.c:3768 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c/97156] New: Missed optimization [x86-64] tzcnt unnecessarily zeros out destination register

2020-09-21 Thread goldstein.w.n at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97156 Bug ID: 97156 Summary: Missed optimization [x86-64] tzcnt unnecessarily zeros out destination register Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug libgomp/97155] New: set GOMP_CPU_AFFINITY="0 1"

2020-09-21 Thread prop_design at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97155 Bug ID: 97155 Summary: set GOMP_CPU_AFFINITY="0 1" Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp

[Bug libstdc++/94160] std::pmr::pool_options::max_blocks_per_chunk=1 causes pool resources to return null pointers

2020-09-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94160 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/94681] filesystem::sysmlink_status using stat instead of lstat when --disable-libstdcxx-filesystem-ts

2020-09-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94681 --- Comment #12 from Jonathan Wakely --- Fixed for 9.4 and 10.3

[Bug libstdc++/94681] filesystem::sysmlink_status using stat instead of lstat when --disable-libstdcxx-filesystem-ts

2020-09-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94681 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/94681] filesystem::sysmlink_status using stat instead of lstat when --disable-libstdcxx-filesystem-ts

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94681 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3ec14c9a49aa6c35609eaf04f74132e28a2dc9d5 commit r9-8926-g3ec14c9a49aa6c35609eaf04f74132e28a2dc9d5 Author: Jonathan

[Bug libstdc++/94160] std::pmr::pool_options::max_blocks_per_chunk=1 causes pool resources to return null pointers

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94160 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:bdaf0ce0af30dfedac61ea1a7e842a45e55deb25 commit r9-8924-gbdaf0ce0af30dfedac61ea1a7e842a45e55deb25 Author: Jonathan Wakely

[Bug libstdc++/94681] filesystem::sysmlink_status using stat instead of lstat when --disable-libstdcxx-filesystem-ts

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94681 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:90f845adff0379682080a1253d477e0b621768b7 commit r9-8927-g90f845adff0379682080a1253d477e0b621768b7 Author: Jonathan

[Bug libstdc++/97101] noexcept specifier in std::bind_front()

2020-09-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97101 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug libstdc++/92978] std::gcd mishandles mixed-signedness

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92978 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b3043e490896ea37cd0273e6e149c3eeb3298720 commit r9-8928-gb3043e490896ea37cd0273e6e149c3eeb3298720 Author: Jonathan Wakely

[Bug libstdc++/97101] noexcept specifier in std::bind_front()

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97101 --- Comment #3 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:90fdf477a1cb9ec756f21a09bc649185c3174c9a commit r9-8925-g90fdf477a1cb9ec756f21a09bc649185c3174c9a Author: Jonathan Wakely

[Bug c++/92787] P0634R3 is not implemented correctly if parameter-declaration appears in a default argument

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

[Bug libstdc++/94681] filesystem::sysmlink_status using stat instead of lstat when --disable-libstdcxx-filesystem-ts

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94681 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4e00119c780f9bcd33181db4580754522f64c60e commit r10-8783-g4e00119c780f9bcd33181db4580754522f64c60e Author: Jonathan

[Bug libstdc++/94681] filesystem::sysmlink_status using stat instead of lstat when --disable-libstdcxx-filesystem-ts

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94681 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:eef40b0037b90ff117322423fc297dc528285524 commit r10-8784-geef40b0037b90ff117322423fc297dc528285524 Author: Jonathan

[Bug analyzer/97130] [11 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:1462

2020-09-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97130 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/97154] gcc/c/c-decl.c:5729:38: error: Dereference of an invalid iterator

2020-09-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97154 Martin Sebor changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug analyzer/97130] [11 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:1462

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97130 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:1e19ecd79b45af6df87a6869d1936b857c9f71fc commit r11-3341-g1e19ecd79b45af6df87a6869d1936b857c9f71fc Author: David Malcolm Date:

[Bug analyzer/93355] Missing diagnostic for missing fclose in intl/localealias.c

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93355 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:15e7b93ba4256884c90198c678ed7eded4e73464 commit r11-3340-g15e7b93ba4256884c90198c678ed7eded4e73464 Author: David Malcolm Date:

[Bug libstdc++/97101] noexcept specifier in std::bind_front()

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97101 --- Comment #2 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8db568c3c6c3ca1c540198725e7490b819167209 commit r10-8782-g8db568c3c6c3ca1c540198725e7490b819167209 Author: Jonathan

[Bug c++/94404] [meta-bug] C++ core issues

2020-09-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 90583, which changed state. Bug 90583 Summary: Implement DR 1722, lambda to function pointer conversion should be noexcept https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90583 What|Removed

[Bug c++/90583] Implement DR 1722, lambda to function pointer conversion should be noexcept

2020-09-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90583 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/90583] Implement DR 1722, lambda to function pointer conversion should be noexcept

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90583 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:defceb206be0f803b8d94e746180e51adad20b87 commit r11-3336-gdefceb206be0f803b8d94e746180e51adad20b87 Author: Marek Polacek Date:

[Bug target/97142] __builtin_fmod not optimized on POWER

2020-09-21 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #9 from Peter Bergner --- (In reply to Segher Boessenkool from comment #8) > I don't think we have an instruction for that? But we can inline the > code we need instead of doing a library call, which is much faster. > (We probably

[Bug c/97154] gcc/c/c-decl.c:5729:38: error: Dereference of an invalid iterator

2020-09-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97154 --- Comment #7 from Jakub Jelinek --- Though, sure, the code could use spec.back () != ' ' instead too.

[Bug c/97154] gcc/c/c-decl.c:5729:38: error: Dereference of an invalid iterator

2020-09-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97154 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug c/97154] gcc/c/c-decl.c:5729:38: error: Dereference of an invalid iterator

2020-09-21 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97154 --- Comment #5 from David Binderman --- Maybe something like spec[ spec.size() - 1] would be a good way to access the last element ?

[Bug c/97154] gcc/c/c-decl.c:5729:38: error: Dereference of an invalid iterator

2020-09-21 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97154 --- Comment #4 from David Binderman --- According to this: http://www.cplusplus.com/reference/vector/vector/end/ Dereferencing end() is not allowed. Now I know why static analyser cppcheck was complaining.

[Bug c/97154] gcc/c/c-decl.c:5729:38: error: Dereference of an invalid iterator

2020-09-21 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97154 David Binderman changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug c/97154] gcc/c/c-decl.c:5729:38: error: Dereference of an invalid iterator

2020-09-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97154 --- Comment #2 from Andrew Pinski --- This looks valid to me. spec.empty () || spec.end ()[-1] != ' ' Means if it empty or the last element is a space.

[Bug c/97154] gcc/c/c-decl.c:5729:38: error: Dereference of an invalid iterator

2020-09-21 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97154 --- Comment #1 from David Binderman --- Source code is if (spec.empty () || spec.end ()[-1] != ' ') Looks suspicious to me. Is this allowed ?

[Bug c/97154] New: gcc/c/c-decl.c:5729:38: error: Dereference of an invalid iterator

2020-09-21 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97154 Bug ID: 97154 Summary: gcc/c/c-decl.c:5729:38: error: Dereference of an invalid iterator Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c/50584] No warning for passing small array to C99 static array declarator

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50584 --- Comment #21 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:05193687dde2e5a6337164182a1946b584acfada commit r11--g05193687dde2e5a6337164182a1946b584acfada Author: Martin Sebor Date:

[Bug c++/97153] -Wformat causes libstdc++ tests to FAIL

2020-09-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97153 --- Comment #3 from Jonathan Wakely --- Yes, that seems likely.

[Bug libstdc++/94160] std::pmr::pool_options::max_blocks_per_chunk=1 causes pool resources to return null pointers

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94160 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:9ae110d4f8edd61cf56ee5fea62cadc8e781e8dc commit r10-8780-g9ae110d4f8edd61cf56ee5fea62cadc8e781e8dc Author: Jonathan

[Bug c++/96994] Missing code from consteval constructor initializing const variable

2020-09-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96994 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #8 from Marek Polacek

[Bug c++/53610] C++11: constructors accept silly initializers

2020-09-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53610 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/90583] Implement DR 1722, lambda to function pointer conversion should be noexcept

2020-09-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90583 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Keywords|

[Bug fortran/90903] Implement runtime checks for bit manipulation intrinsics

2020-09-21 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90903 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/90903] Implement runtime checks for bit manipulation intrinsics

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90903 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:5c5ce6099082b642294091c83461c928bd028ea1 commit r11-3332-g5c5ce6099082b642294091c83461c928bd028ea1 Author: Harald Anlauf Date:

[Bug c++/97153] -Wformat causes libstdc++ tests to FAIL

2020-09-21 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97153 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug target/97142] __builtin_fmod not optimized on POWER

2020-09-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #8 from Segher Boessenkool --- I don't think we have an instruction for that? But we can inline the code we need instead of doing a library call, which is much faster. (We probably can use FMAs here usefully, btw; maybe even without

[Bug ipa/97119] Top level option to disable creation of IPA symbols such as .localalias is desired

2020-09-21 Thread ali_gccbugzilla at emvision dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97119 --- Comment #5 from Ali Bahrami --- I added -flive-patching=inline-only-static as suggested by Martin. It didn't alter the results I'm seeing. There is still a lot of .localalias in the resulting objects. Still, the optimizations it is

[Bug c++/97153] -Wformat causes libstdc++ tests to FAIL

2020-09-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97153 Jonathan Wakely changed: What|Removed |Added Summary|[10 Regression] -Wformat|-Wformat causes libstdc++

[Bug c++/97153] New: [10 Regression] -Wformat causes libstdc++ tests to FAIL

2020-09-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97153 Bug ID: 97153 Summary: [10 Regression] -Wformat causes libstdc++ tests to FAIL Product: gcc Version: 10.2.1 Status: UNCONFIRMED Keywords: rejects-valid

[Bug bootstrap/97136] [11 Regression] bootstrap-asan fails

2020-09-21 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97136 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/97142] __builtin_fmod not optimized on POWER

2020-09-21 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 Peter Bergner changed: What|Removed |Added CC||meissner at gcc dot gnu.org,

[Bug target/97142] __builtin_fmod not optimized on POWER

2020-09-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 Segher Boessenkool changed: What|Removed |Added Status|WAITING |NEW --- Comment #6 from Segher

[Bug tree-optimization/97152] New: Wrong code generation since commit b6ff3ddecfa

2020-09-21 Thread stefansf at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97152 Bug ID: 97152 Summary: Wrong code generation since commit b6ff3ddecfa Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/97136] [11 Regression] bootstrap-asan fails

2020-09-21 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97136 --- Comment #1 from Ian Lance Taylor --- My guess is that the new external functions have to be added to libsanitizer/libbacktrace/backtrace-rename.h.

[Bug target/97143] aarch64-none-elf Code generated for array after another array within a global structure marked volatile is broken.

2020-09-21 Thread simon.willcocks at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97143 Simon Willcocks changed: What|Removed |Added Resolution|--- |INVALID

[Bug analyzer/97130] [11 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:1462

2020-09-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97130 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/96821] [concepts] Incorrect evaluation of concept with ill-formed expression

2020-09-21 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96821 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Known to

[Bug c++/97145] Sanitizer pointer-subtract breaks constexpr functions subtracting pointers

2020-09-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97145 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug sanitizer/96307] [10/11 Regression] ICE in sanopt on riscv64 since r11-2283-g2ca1b6d009b194286c3ec91f9c51cc6b0a475458

2020-09-21 Thread kito at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96307 --- Comment #4 from Kito Cheng --- ASAN related patches are seems need take more time than expect, I plan to fix that this week, and I think ASAN is a new feature so that it won't back port to GCC 10.

[Bug target/97127] FMA3 code transformation leads to slowdown on Skylake

2020-09-21 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97127 --- Comment #4 from Alexander Monakov --- > More so, gcc variant occupies 2 reservation station entries (2 fused uOps) vs > 4 entries by de-transformed sequence. I don't think this is true for the test at hand? With base+offset memory operand

[Bug c++/97151] GCC fails to optimize away uselessly allocated arrays (C++)

2020-09-21 Thread marat at slonopotamus dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97151 --- Comment #1 from Marat Radchenko --- Another program that exhibits the same behavior: int main() { int *a = new int[10]; a[0] = 0; delete[] a; return 0; }

[Bug c++/97151] New: GCC fails to optimize away uselessly allocated arrays (C++)

2020-09-21 Thread marat at slonopotamus dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97151 Bug ID: 97151 Summary: GCC fails to optimize away uselessly allocated arrays (C++) Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/97139] [11 Regression] Miscompare of foreman_test_baseline_encodelog.out in 464.h264ref since r11-3319-g48b0c1250a5c7d72be6b3fbbb1117d1cce43daee

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97139 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e6f58fb6196ba16ce070e3722451f040a13f963b commit r11-3327-ge6f58fb6196ba16ce070e3722451f040a13f963b Author: Richard Biener Date:

[Bug tree-optimization/97139] [11 Regression] Miscompare of foreman_test_baseline_encodelog.out in 464.h264ref since r11-3319-g48b0c1250a5c7d72be6b3fbbb1117d1cce43daee

2020-09-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97139 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2020-09-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 97139, which changed state. Bug 97139 Summary: [11 Regression] Miscompare of foreman_test_baseline_encodelog.out in 464.h264ref since r11-3319-g48b0c1250a5c7d72be6b3fbbb1117d1cce43daee

[Bug target/97150] [AArch64] 2nd parameter of unsigned Neon scalar shift intrinsics should be signed

2020-09-21 Thread david.spickett at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97150 --- Comment #2 from David Spickett --- Created attachment 49250 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49250=edit preprocessed test file

[Bug target/97142] __builtin_fmod not optimized on POWER

2020-09-21 Thread fx at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #5 from Dave Love --- I meant to show that x86_64 expands the built in fmod too. (I wasn't sure whether "inline" was the right term, as it seems not to be done by -finline-functions.) Yes, xlf -O3 (?) and above imlies something

[Bug target/97143] aarch64-none-elf Code generated for array after another array within a global structure marked volatile is broken.

2020-09-21 Thread simon.willcocks at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97143 Simon Willcocks changed: What|Removed |Added Target|aarch64-elf |aarch64-elf, arm-eabi --- Comment #1

[Bug target/97142] __builtin_fmod not optimized on POWER

2020-09-21 Thread fx at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #4 from Dave Love --- Created attachment 49249 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49249=edit xlf -O5 -S

[Bug target/97150] [AArch64] 2nd parameter of unsigned Neon scalar shift intrinsics should be signed

2020-09-21 Thread david.spickett at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97150 --- Comment #1 from David Spickett --- Created attachment 49248 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49248=edit reproducer C file Added test file.

[Bug target/97150] New: [AArch64] 2nd parameter of unsigned Neon scalar shift intrinsics should be signed

2020-09-21 Thread david.spickett at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97150 Bug ID: 97150 Summary: [AArch64] 2nd parameter of unsigned Neon scalar shift intrinsics should be signed Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c/97131] [11 Regression] ICE: Segmentation fault (in warn_parm_ptrarray_mismatch)

2020-09-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97131 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/97142] __builtin_fmod not optimized on POWER

2020-09-21 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #3 from Peter Bergner --- (In reply to Richard Biener from comment #2) > Btw, with -ffast-math (or -Ofast) on x86 you get fmod inlined, I guess xlf > -O5 > is to some extent doing -ffast-math? Xlf at -O3, -O4 and -O5 automatically

[Bug c/97149] sincos failed to be vectorized by gcc

2020-09-21 Thread kangshan0910 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97149 --- Comment #1 from 康 珊 --- Created attachment 49247 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49247=edit test source code

[Bug c/97149] New: sincos failed to be vectorized by gcc

2020-09-21 Thread kangshan0910 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97149 Bug ID: 97149 Summary: sincos failed to be vectorized by gcc Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug ipa/97119] Top level option to disable creation of IPA symbols such as .localalias is desired

2020-09-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97119 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/97099] [temp.deduct.guide]p3 not implemented properly

2020-09-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97099 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ipa/97119] Top level option to disable creation of IPA symbols such as .localalias is desired

2020-09-21 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97119 --- Comment #3 from Rainer Orth --- (In reply to Ali Bahrami from comment #0) > Rainer did a one off experiment that showed that it would be > fairly easy to provide this. I'll leave it to him to describe. Right: initially I looked around

[Bug c++/97099] [temp.deduct.guide]p3 not implemented properly

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97099 --- Comment #1 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:b6ff694e592669e7865d39a884100dd677e7ceec commit r11-3326-gb6ff694e592669e7865d39a884100dd677e7ceec Author: Marek Polacek Date:

[Bug ipa/97119] Top level option to disable creation of IPA symbols such as .localalias is desired

2020-09-21 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97119 --- Comment #2 from Rainer Orth --- Created attachment 49246 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49246=edit Hack to disable .localalias* generation

[Bug target/97148] New: Add

2020-09-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97148 Bug ID: 97148 Summary: Add Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc

[Bug tree-optimization/97139] [11 Regression] Miscompare of foreman_test_baseline_encodelog.out in 464.h264ref since r11-3319-g48b0c1250a5c7d72be6b3fbbb1117d1cce43daee

2020-09-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97139 --- Comment #5 from Richard Biener --- #include "tree-vect.h" int pix[4]; int __attribute__((noipa)) foo (void) { pix[0] = pix[0] / 4; pix[1] = pix[1] / 4; pix[2] = pix[2] / 4; pix[3] = pix[3] / 4; return pix[0] + pix[1] + pix[2] +

[Bug tree-optimization/97139] [11 Regression] Miscompare of foreman_test_baseline_encodelog.out in 464.h264ref since r11-3319-g48b0c1250a5c7d72be6b3fbbb1117d1cce43daee

2020-09-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97139 --- Comment #4 from Richard Biener --- Created attachment 49245 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49245=edit patch I am testing So the issue must be a bit subtle, I am testing the following patch on SPEC and will try to

[Bug target/97127] FMA3 code transformation leads to slowdown on Skylake

2020-09-21 Thread already5chosen at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97127 --- Comment #3 from Michael_S --- (In reply to Alexander Monakov from comment #2) > Richard, though register moves are resolved by renaming, they still occupy a > uop in all stages except execution, and since renaming is one of the > narrowest

[Bug tree-optimization/97139] [11 Regression] Miscompare of foreman_test_baseline_encodelog.out in 464.h264ref since r11-3319-g48b0c1250a5c7d72be6b3fbbb1117d1cce43daee

2020-09-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97139 --- Comment #3 from Martin Liška --- Ok, I've got the problem, it's bit later in the function: The diff is: diff -u before.txt after.txt --- before.txt 2020-09-21 15:29:56.462394644 +0200 +++ after.txt 2020-09-21 15:29:48.086453128 +0200 @@

[Bug libstdc++/97132] assume_aligned is not constexpr

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97132 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f10ed928e2f8ecc2c859abff8f2f9296b11b8d95 commit r11-3324-gf10ed928e2f8ecc2c859abff8f2f9296b11b8d95 Author: Jonathan Wakely Date:

[Bug tree-optimization/97139] [11 Regression] Miscompare of foreman_test_baseline_encodelog.out in 464.h264ref since r11-3319-g48b0c1250a5c7d72be6b3fbbb1117d1cce43daee

2020-09-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97139 --- Comment #2 from Martin Liška --- So one can reproduce it with current master with: -O3 -march=znver2 -g -flto=auto -flto-partition=one where first bad debug counter value is: -fdbg-cnt=vect_slp:357 The change is: before: _648 = pix.x;

[Bug target/97140] [10/11 Regression] ICE in error: unable to generate reloads for since r10-400-gecfdb16c54ad06ac

2020-09-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97140 --- Comment #2 from H.J. Lu --- The updated patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-September/554383.html

[Bug libstdc++/97088] 17_intro/names.cc and experimental/names.cc fail with --disable-libstdcxx-pch

2020-09-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97088 --- Comment #4 from Jonathan Wakely --- also has this on ppc linux: typedef struct { __u32 u[4]; } __attribute__((aligned(16))) __vector128;

[Bug target/97147] New: GCC uses vhaddpd which is bad for latency

2020-09-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97147 Bug ID: 97147 Summary: GCC uses vhaddpd which is bad for latency Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/97140] [10/11 Regression] ICE in error: unable to generate reloads for since r10-400-gecfdb16c54ad06ac

2020-09-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97140 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/97044] Undefined format macros because of include order on AIX

2020-09-21 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97044 David Edelsohn changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/97146] [11 regression] ipa/ipa-sra-*.c fail since r11-3303 (g:6450f07388f9fe575a489c9309c36012b17b88b0)

2020-09-21 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97146 --- Comment #1 from Christophe Lyon --- On arm, there is also: FAIL: gcc.dg/fixed-point/composite-type.c (test for excess errors)

[Bug tree-optimization/97146] New: [11 regression] ipa/ipa-sra-*.c fail since r11-3303 (g:6450f07388f9fe575a489c9309c36012b17b88b0)

2020-09-21 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97146 Bug ID: 97146 Summary: [11 regression] ipa/ipa-sra-*.c fail since r11-3303 (g:6450f07388f9fe575a489c9309c36012b17b88b0) Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/97145] Sanitizer pointer-subtract breaks constexpr functions subtracting pointers

2020-09-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97145 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/97145] Sanitizer pointer-subtract breaks constexpr functions subtracting pointers

2020-09-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97145 Richard Biener changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from

[Bug tree-optimization/97139] [11 Regression] Miscompare of foreman_test_baseline_encodelog.out in 464.h264ref since r11-3319-g48b0c1250a5c7d72be6b3fbbb1117d1cce43daee

2020-09-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97139 Martin Liška changed: What|Removed |Added Summary|[11 Regression] Miscompare |[11 Regression] Miscompare

[Bug tree-optimization/97135] [11 Regression] Wrong code at -Os since r11-408-g84935c98221

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97135 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0df746afc50a47d1eb53a401e017c4373cf05641 commit r11-3321-g0df746afc50a47d1eb53a401e017c4373cf05641 Author: Richard Biener Date:

[Bug bootstrap/97124] ICE when bootstrapping GCC on x86_64-w64-mingw32

2020-09-21 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97124 --- Comment #5 from Liu Hao --- I didn't keep a copy of the file. It was stage1 xgcc that ICEs, not the host gcc.

[Bug tree-optimization/97135] [11 Regression] Wrong code at -Os since r11-408-g84935c98221

2020-09-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97135 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/97145] New: Sanitizer pointer-subtract breaks constexpr functions subtracting pointers

2020-09-21 Thread chfast at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97145 Bug ID: 97145 Summary: Sanitizer pointer-subtract breaks constexpr functions subtracting pointers Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/96915] ICE in tree-switch-conversion

2020-09-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96915 Martin Liška changed: What|Removed |Added Known to fail|11.0| Known to work|

[Bug tree-optimization/96915] ICE in tree-switch-conversion

2020-09-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96915 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:d726ecd9554a805d4a5e044cb21ca23a7f7ca49f commit r11-3320-gd726ecd9554a805d4a5e044cb21ca23a7f7ca49f Author: Martin Liska Date: Mon

[Bug target/96861] Integer min/max optimization failed under -march=skylake-avx512

2020-09-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96861 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.0

  1   2   >