[Bug libstdc++/81190] New: std::optional doesn't compile with containers that have noncopyable types

2017-06-23 Thread lyberta at lyberta dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81190 Bug ID: 81190 Summary: std::optional doesn't compile with containers that have noncopyable types Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/81163] error: ‘snprintf’ output may be truncated before the last format character [-werror=format-truncation=] note: ‘snprintf’ output between 2 and 266 bytes into a destination

2017-06-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81163 Martin Sebor changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug web/81187] New: Doc entry for -Wnoexcept-type misspelled, -Wc++1z-compat missing

2017-06-23 Thread g...@axel-naumann.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81187 Bug ID: 81187 Summary: Doc entry for -Wnoexcept-type misspelled, -Wc++1z-compat missing Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/81187] Doc entry for -Wnoexcept-type misspelled, -Wc++1z-compat missing

2017-06-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81187 Andrew Pinski changed: What|Removed |Added Version|unknown |8.0 --- Comment #1 from Andrew Pinski

[Bug libstdc++/81190] std::optional doesn't compile with containers that have noncopyable types

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81190 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug libstdc++/80654] is_trivially_copy_constructible fails with compiler error with vector of uncopyable objects

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80654 Jonathan Wakely changed: What|Removed |Added CC||lyberta at lyberta dot net ---

[Bug web/81191] New: `-fsplit-paths` is listed as `-O2`instead of `-O3` flag

2017-06-23 Thread glen56 at Rcpt dot at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81191 Bug ID: 81191 Summary: `-fsplit-paths` is listed as `-O2`instead of `-O3` flag Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/81193] PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries

2017-06-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81193 Peter Bergner changed: What|Removed |Added CC||amodra at gcc dot gnu.org --- Comment

[Bug c++/81182] result of ‘operator->()’ yields non-pointer result

2017-06-23 Thread gcc at baszerr dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182 --- Comment #2 from bartek 'basz' szurgot --- looks like the problem is gone in GCC-7.1.

[Bug middle-end/79794] unnecessary copy from target to target results in poor code for aarch64

2017-06-23 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79794 --- Comment #4 from Jim Wilson --- Author: wilson Date: Fri Jun 23 21:01:32 2017 New Revision: 249612 URL: https://gcc.gnu.org/viewcvs?rev=249612=gcc=rev Log: Testcase for FSF GCC bug 79794. gcc/testsuite/ PR middle-end/79794

[Bug target/81193] PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries

2017-06-23 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81193 --- Comment #2 from Michael Meissner --- One other possibility is to just remove the code that checks TARGET_LIBC_PROVIDES_HWCAP_IN_TCB, given that when we use it there is a reference to __parse_hwcap_and_convert_at_platform in the code. That

[Bug middle-end/80902] A problem in expand_builtin_atomic_fetch_op

2017-06-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80902 --- Comment #1 from Segher Boessenkool --- Author: segher Date: Fri Jun 23 17:37:27 2017 New Revision: 249603 URL: https://gcc.gnu.org/viewcvs?rev=249603=gcc=rev Log: Fix expand_builtin_atomic_fetch_op for pre-op (PR80902) __atomic_add_fetch

[Bug ipa/81185] Target clones support generates awkward names

2017-06-23 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81185 --- Comment #4 from Michael Meissner --- Author: meissner Date: Fri Jun 23 18:08:31 2017 New Revision: 249605 URL: https://gcc.gnu.org/viewcvs?rev=249605=gcc=rev Log: 2017-06-23 Michael Meissner PR

[Bug ipa/81185] Target clones support generates awkward names

2017-06-23 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81185 Michael Meissner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/80510] Optimize Power7/power8 Altivec load/stores

2017-06-23 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80510 --- Comment #8 from Michael Meissner --- Author: meissner Date: Fri Jun 23 18:25:10 2017 New Revision: 249607 URL: https://gcc.gnu.org/viewcvs?rev=249607=gcc=rev Log: [gcc] 2017-06-23 Michael Meissner PR

[Bug tree-optimization/81192] New: gcc ICE at -Os on x86_64-linux-gnu: Segmentation fault

2017-06-23 Thread helloqirun at gmail dot com
--version gcc-trunk (GCC) 8.0.0 20170623 (experimental) [trunk revision 249588] $ gcc-trunk -Os abc.c during GIMPLE pass: pre abc.c: In function ‘fn2’: abc.c:4:6: internal compiler error: Segmentation fault void fn2() { ^~~ 0xc8a4cf crash_signal ../../gcc/gcc/toplev.c:338 0xe56285

[Bug rtl-optimization/81194] New: ICE during RTL pass: expand

2017-06-23 Thread marc.mutz at kdab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81194 Bug ID: 81194 Summary: ICE during RTL pass: expand Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

[Bug target/81193] New: PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries

2017-06-23 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81193 Bug ID: 81193 Summary: PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug rtl-optimization/81194] ICE during RTL pass: expand

2017-06-23 Thread marc.mutz at kdab dot com
gcc version 8.0.0 20170623 (experimental) (GCC)

[Bug target/80236] ARM NEON: Crash in std::map

2017-06-23 Thread d...@dominik-schmidt.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80236 --- Comment #17 from Dominik Schmidt --- I'm having issues to build our whole stack with gcc-6-branch. Working on it.

[Bug go/81183] -gdwarf-5: fatal error: unrecognized DWARF version in .debug_info at 6

2017-06-23 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81183 --- Comment #1 from Ian Lance Taylor --- libbacktrace needs DWARF 5 support.

[Bug c++/79056] [7/8 Regression] [C++17] ICE with broken deduction guide / broken template parameter

2017-06-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79056 --- Comment #5 from Jason Merrill --- Author: jason Date: Fri Jun 23 23:30:01 2017 New Revision: 249615 URL: https://gcc.gnu.org/viewcvs?rev=249615=gcc=rev Log: PR c++/79056 - C++17 ICE with invalid template syntax. * parser.c

[Bug libfortran/81195] SPEC CPU2017 621.wrf_s failure with 40+ openmp threads

2017-06-23 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81195 --- Comment #1 from Jim Wilson --- Created attachment 41623 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41623=edit patch to make wrf_s work

[Bug driver/70936] [6/7/8 Regression] Hard-coded C++ header paths and relocation problem

2017-06-23 Thread cfcohen at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70936 Cory Cohen changed: What|Removed |Added CC||cfcohen at verizon dot net --- Comment #15

[Bug c++/79056] [7/8 Regression] [C++17] ICE with broken deduction guide / broken template parameter

2017-06-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79056 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jun 23 23:29:51 2017 New Revision: 249614 URL: https://gcc.gnu.org/viewcvs?rev=249614=gcc=rev Log: PR c++/79056 - C++17 ICE with invalid template syntax. * parser.c

[Bug c++/79056] [7/8 Regression] [C++17] ICE with broken deduction guide / broken template parameter

2017-06-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79056 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jun 23 23:29:51 2017 New Revision: 249614 URL: https://gcc.gnu.org/viewcvs?rev=249614=gcc=rev Log: PR c++/79056 - C++17 ICE with invalid template syntax. * parser.c

[Bug c++/79056] [7/8 Regression] [C++17] ICE with broken deduction guide / broken template parameter

2017-06-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79056 --- Comment #5 from Jason Merrill --- Author: jason Date: Fri Jun 23 23:30:01 2017 New Revision: 249615 URL: https://gcc.gnu.org/viewcvs?rev=249615=gcc=rev Log: PR c++/79056 - C++17 ICE with invalid template syntax. * parser.c

[Bug libfortran/81195] New: SPEC CPU2017 621.wrf_s failure with 40+ openmp threads

2017-06-23 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81195 Bug ID: 81195 Summary: SPEC CPU2017 621.wrf_s failure with 40+ openmp threads Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/81189] Out of bounds memory access introduced by the vectoriser

2017-06-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81189 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org,

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-23 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #52 from ro at CeBiTec dot Uni-Bielefeld.DE --- > The attached patch (on top of v6) *might* solve the problem on Darwin, but I > don't understand exactly how GOTPCREL works, other than it's using a global > offset table for linking.

[Bug sanitizer/81148] UBSAN: two more false positives

2017-06-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81148 --- Comment #11 from Marek Polacek --- That causes miscompiled cc1plus. Richi, any ideas?

[Bug c++/81188] [7/8 Regression] decltype(this->member()) raises invalid prototype

2017-06-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81188 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug c++/81180] [7 Regression ]ICE with class template deduction in nested template class

2017-06-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81180 Martin Liška changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug testsuite/81179] [8 regression] gcc.dg/vect/pr65947-9.c and gcc.dg/vect/pr65947-14.c fail starting with r249553

2017-06-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81179 Richard Biener changed: What|Removed |Added Keywords||wrong-code

[Bug c++/81187] Doc entry for -Wnoexcept-type misspelled, -Wc++1z-compat missing

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81187 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Fri Jun 23 08:16:05 2017 New Revision: 249584 URL: https://gcc.gnu.org/viewcvs?rev=249584=gcc=rev Log: PR c++/81187 fix -Wnoexcept-type entry in manual PR c++/81187 *

[Bug target/59904] [ARM] tls-reload-1.c fails

2017-06-23 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59904 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug tree-optimization/81184] [8 regression] gcc.dg/pr21643.c and gcc.dg/tree-ssa/phi-opt-11.c fail starting with r249450

2017-06-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81184 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug sanitizer/81186] SIGSEGV when using Address Sanitizer with nested functions

2017-06-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81186 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/81188] New: decltype(this->member()) raises invalid prototype

2017-06-23 Thread serge.guel...@telecom-bretagne.eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81188 Bug ID: 81188 Summary: decltype(this->member()) raises invalid prototype Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/81187] Doc entry for -Wnoexcept-type misspelled, -Wc++1z-compat missing

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81187 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/81189] New: Out of bounds memory access introduced by the vectoriser

2017-06-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81189 Bug ID: 81189 Summary: Out of bounds memory access introduced by the vectoriser Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug tree-optimization/81184] [8 regression] gcc.dg/pr21643.c and gcc.dg/tree-ssa/phi-opt-11.c fail starting with r249450

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

[Bug tree-optimization/81181] [7/8 Regression] ICE in compute_antic, at tree-ssa-pre.c:2410

2017-06-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81181 Martin Liška changed: What|Removed |Added CC||law at redhat dot com,

[Bug tree-optimization/81181] [7/8 Regression] ICE in compute_antic, at tree-ssa-pre.c:2410

2017-06-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81181 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/81180] [7/8 Regression] ICE with class template deduction in nested template class

2017-06-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81180 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug c++/81188] [7/8 Regression] decltype(this->member()) raises invalid prototype

2017-06-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81188 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/81180] [7/8 Regression] ICE with class template deduction in nested template class

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81180 --- Comment #2 from Jonathan Wakely --- I don't think this is a regression, because class template argument deduction wasn't supported before r240756 - it's a new C++17 feature.

[Bug c++/81180] [7/8 Regression] ICE with class template deduction in nested template class

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81180 Jonathan Wakely changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code --- Comment #3 from

[Bug c++/81182] result of ‘operator->()’ yields non-pointer result

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/81170] powerpc*-linux --enable-default-pie chooses incorrect startup files

2017-06-23 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81170 Alan Modra changed: What|Removed |Added Keywords||patch Priority|P3

[Bug c++/81187] Doc entry for -Wnoexcept-type misspelled, -Wc++1z-compat missing

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81187 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/81187] Doc entry for -Wnoexcept-type misspelled, -Wc++1z-compat missing

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81187 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Fri Jun 23 10:56:04 2017 New Revision: 249586 URL: https://gcc.gnu.org/viewcvs?rev=249586=gcc=rev Log: PR c++/81187 fix -Wnoexcept-type entry in manual PR c++/81187 *

[Bug tree-optimization/80928] SLP vectorization does not handle induction in outer loop vectorization

2017-06-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80928 Richard Biener changed: What|Removed |Added Attachment #41612|0 |1 is obsolete|

[Bug tree-optimization/81175] [7/8 Regression] EXC_BAD_ACCESS in ::slpeel_duplicate_current_defs_from_edges(edge, edge, edge, edge) at is-a.h:192

2017-06-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81175 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-* --- Comment #3

[Bug c++/65775] Late-specified return type bypasses return type checks (qualified, function, array)

2017-06-23 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65775 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/81174] bswap not recognized in |= statement

2017-06-23 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81174 --- Comment #3 from Thomas Preud'homme --- (In reply to Jakub Jelinek from comment #2) > Simplified testcase: > static inline unsigned > bar (unsigned x) > { > return ((x & 0x00ff) << 24) | ((x & 0xff00) << 8) >| ((x &

[Bug libstdc++/70560] Review configure checks for _GLIBCXX_ATOMIC_BUILTINS and atomicity_dir

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70560 --- Comment #1 from Jonathan Wakely --- A related issue is that we decide on shared_ptr locking policy based on a dynamic property that can change between translation units according to -march: static const _Lock_policy __default_lock_policy

[Bug testsuite/81179] [8 regression] gcc.dg/vect/pr65947-9.c and gcc.dg/vect/pr65947-14.c fail starting with r249553

2017-06-23 Thread renlin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81179 Renlin Li changed: What|Removed |Added CC||renlin at gcc dot gnu.org --- Comment #2

[Bug c++/81182] result of ‘operator->()’ yields non-pointer result

2017-06-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81182 --- Comment #1 from Jonathan Wakely --- Reduced: struct S { int i; }; template struct T { auto operator->() { return } S s; }; template void problem(T& t) { t->i; }

[Bug testsuite/81179] [8 regression] gcc.dg/vect/pr65947-9.c and gcc.dg/vect/pr65947-14.c fail starting with r249553

2017-06-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81179 --- Comment #3 from Richard Biener --- Created attachment 41621 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41621=edit patch Patch that should fix the execute fail, but it's a quiet big hammer.