[Bug c++/88323] implement C++20 language features.

2019-10-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 Bug 88323 depends on bug 91369, which changed state. Bug 91369 Summary: Implement P0784R7: constexpr new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369 What|Removed |Added ---

[Bug c++/91369] Implement P0784R7: constexpr new

2019-10-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/92098] [10 Regression] After r262333, the following code cannot be vectorized on powerpc64le.

2019-10-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92098 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug c++/92099] [9/10 Regression] static_assert of struct template of false_type succeed with GCC8 but not GCC9

2019-10-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92099 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug c/92096] segmentation fault in 'example_labels' building gcc trunk on cygwin

2019-10-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92096 Richard Biener changed: What|Removed |Added Version|unknown |10.0 --- Comment #1 from Richard Biener

[Bug fortran/92094] ice in vect_transform_stmt at tree-vect-stmts.c:10921

2019-10-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92094 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug other/92090] [10 regression] ICE in gcc.dg/atomic/c11-atomic-exec-5.c starting with r276469

2019-10-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92090 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/68045] [concepts] segfault in contains_struct_check ../../gcc/gcc/tree.h:2971

2019-10-14 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68045 --- Comment #3 from Vittorio Zecca --- On my test case the ICE disappeared and I am now having: gfortran -S gfbug111.f gfbug111.f:13:6: 13 | function abc_interface(this) | 1 Error: ABSTRACT INTERFACE ‘abc_interface’ at (1) m

[Bug libfortran/92100] Formatted stream IO irreproducible read with binary data in file

2019-10-14 Thread angus at agibson dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92100 --- Comment #2 from Angus Gibson --- Created attachment 47037 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47037&action=edit Reproducing example (gz)

[Bug libfortran/92100] Formatted stream IO irreproducible read with binary data in file

2019-10-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92100 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug libfortran/92100] New: Formatted stream IO irreproducible read with binary data in file

2019-10-14 Thread angus at agibson dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92100 Bug ID: 92100 Summary: Formatted stream IO irreproducible read with binary data in file Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c/51088] undefined label with statement expression and cond expression

2019-10-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51088 Eric Gallager changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #7 from Eric Gallager -

[Bug c++/92099] New: static_assert of struct template of false_type succeed with GCC8 but not GCC9

2019-10-14 Thread sunxuanmailbox at 163 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92099 Bug ID: 92099 Summary: static_assert of struct template of false_type succeed with GCC8 but not GCC9 Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: n

[Bug tree-optimization/92098] New: After r262333, the following code cannot be vectorized on powerpc64le.

2019-10-14 Thread helijia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92098 Bug ID: 92098 Summary: After r262333, the following code cannot be vectorized on powerpc64le. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/92097] instrutions only vaild under TARGET_AVX

2019-10-14 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92097 --- Comment #2 from Hongtao.liu --- (In reply to Andrew Pinski from comment #1) > You are missing the point of %v here. > See ASM_OUTPUT_AVX_PREFIX . Yes, thanks.

[Bug target/92097] instrutions only vaild under TARGET_AVX

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

[Bug target/92097] New: instrutions only vaild under TARGET_AVX

2019-10-14 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92097 Bug ID: 92097 Summary: instrutions only vaild under TARGET_AVX Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/88323] implement C++20 language features.

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 Bug 88323 depends on bug 91369, which changed state. Bug 91369 Summary: Implement P0784R7: constexpr new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369 What|Removed |Added ---

[Bug c++/91369] Implement P0784R7: constexpr new

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67692, which changed state. Bug 67692 Summary: [concepts] ICE when using requires in non-concept contexts https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67692 What|Removed |Added -

[Bug c++/67692] [concepts] ICE when using requires in non-concept contexts

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67692 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/70010] powerpc: -flto forgets 'no-vsx' function attributes

2019-10-14 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70010 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW URL|

[Bug fortran/83113] Bogus "duplicate allocatable attribute" error for submodule character function

2019-10-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83113 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug fortran/89943] Submodule functions are not allowed to have C binding

2019-10-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89943 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Oct 15 00:28:47 2019 New Revision: 276983 URL: https://gcc.gnu.org/viewcvs?rev=276983&root=gcc&view=rev Log: 2019-10-14 Steven G. Kargl PR fortran/89943

[Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #24 from Jonathan Wakely --- From Bug 92092: The program below gets the following warning message. I think the program is well-formed (Clang 9.0.0 accepts it without warning). ** Compiler Flags ** -O2 -std=c++17 -Wall ** Version

[Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Jonathan Wakely changed: What|Removed |Added CC||gnu at kosak dot com --- Comment #23 f

[Bug c++/92092] Spurious warning: '' may be used uninitialized in this function

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

[Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #22 from Jonathan Wakely --- From Bug 92011: cat > t.cc < struct Bar { int size_; Bar( int size ) : size_( size ) {} }; template Bar get( T const& val ) { return Bar( __builtin_strlen(val) ); } class Foo {

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 92011, which changed state. Bug 92011 Summary: '' may be used uninitialized in this function with std::optional() https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92011 What|Removed |Added

[Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Jonathan Wakely changed: What|Removed |Added CC||joerg.rich...@pdv-fs.de --- Comment #2

[Bug c++/92011] '' may be used uninitialized in this function with std::optional()

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

[Bug c++/84299] warning: '' may be used uninitialized in this function

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

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 84299, which changed state. Bug 84299 Summary: warning: '' may be used uninitialized in this function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84299 What|Removed |Added

[Bug libstdc++/92057] variant converting constructor fails for primitives

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92057 --- Comment #14 from Jonathan Wakely --- (In reply to pj from comment #9) > The only modification described by the paper (relevant to this case) is the > requirement that `T_i x[] = {std::forward(t)};` is well formed, That code gives you a diagn

[Bug libstdc++/92057] variant converting constructor fails for primitives

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92057 --- Comment #13 from Jonathan Wakely --- It does. The array initialization uses a braced-init-list, which is the context in which narrowing conversions are diagnosed. Please take this to stackoverflow if you're unclear what the change entails. T

[Bug c++/71125] [concepts] Spurious 'invalid reference to function concept error' issued when overloads are not all declared with the concept specifier

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71125 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|WAITING

[Bug c/92096] New: segmentation fault in 'example_labels' building gcc trunk on cygwin

2019-10-14 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92096 Bug ID: 92096 Summary: segmentation fault in 'example_labels' building gcc trunk on cygwin Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/92085] [10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:86

2019-10-14 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92085 --- Comment #4 from prathamesh3492 at gcc dot gnu.org --- Patch posted upstream: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01031.html Thanks, Prathamesh

[Bug fortran/92094] ice in vect_transform_stmt at tree-vect-stmts.c:10921

2019-10-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92094 --- Comment #2 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #1) > Reduced testcase. This fixed-form source code. > > subroutine hesfcn(n, x, h, ldh) > integer n,ldh > double precision x(n), h(ldh) > >

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

2019-10-14 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92095 --- Comment #1 from Sergei Trofimovich --- Created attachment 47034 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47034&action=edit bug.c

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

2019-10-14 Thread slyfox at inbox dot ru
isable-bootstrap --prefix=/home/slyfox/dev/git/gcc-sparc/../gcc-sparc-installed --disable-multilib --without-isl cross_compiling=yes Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.0.0 20191014 (experimental) (GCC)

[Bug fortran/92004] [10 Regression] Rejection of different ranks for dummy array argument where actual argument is an element

2019-10-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92004 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/92004] [10 Regression] Rejection of different ranks for dummy array argument where actual argument is an element

2019-10-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92004 --- Comment #1 from Thomas Koenig --- Author: tkoenig Date: Mon Oct 14 21:37:34 2019 New Revision: 276972 URL: https://gcc.gnu.org/viewcvs?rev=276972&root=gcc&view=rev Log: 2019-10-14 Thomas Koenig PR fortran/92004 * array.c

[Bug fortran/92094] ice in vect_transform_stmt at tree-vect-stmts.c:10921

2019-10-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92094 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug rtl-optimization/91994] [10 Regression] r276327 breaks -mvzeroupper

2019-10-14 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91994 --- Comment #13 from rsandifo at gcc dot gnu.org --- Is this still a problem? I think Uros's patch fixed the problem mentioned in comment #9.

[Bug other/92090] [10 regression] ICE in gcc.dg/atomic/c11-atomic-exec-5.c starting with r276469

2019-10-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92090 --- Comment #2 from seurer at gcc dot gnu.org --- Also gcc.target/powerpc/vsx-builtin-7.c FAIL: gcc.target/powerpc/vsx-builtin-7.c scan-assembler-times \\mrldic\\M 64

[Bug c++/67348] [concepts] Constraints, special member functions, and default/delete

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67348 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67348, which changed state. Bug 67348 Summary: [concepts] Constraints, special member functions, and default/delete https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67348 What|Removed |Adde

[Bug c++/79591] [concepts] failure to distinguish overloads from different namespaces with differing constraints

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79591 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 79591, which changed state. Bug 79591 Summary: [concepts] failure to distinguish overloads from different namespaces with differing constraints https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79591 What|Remov

[Bug fortran/92091] Inconsistent diagnostics for INCLUDE vs. #include

2019-10-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92091 --- Comment #1 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #0) > For files included via INCLUDE, the diagnostics printed may be incomplete > when the included file resides in a different directory. There is no > problem whe

[Bug fortran/92094] New: ice in vect_transform_stmt at tree-vect-stmts.c:10921

2019-10-14 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92094 Bug ID: 92094 Summary: ice in vect_transform_stmt at tree-vect-stmts.c:10921 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/71125] [concepts] Spurious 'invalid reference to function concept error' issued when overloads are not all declared with the concept specifier

2019-10-14 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71125 --- Comment #3 from Andrew Sutton --- The TS did allow overloading function concepts. Function concepts have some parsing issues related to TS-style terse notation, overloading and variadic templates. In particular, there are places where writin

[Bug testsuite/92093] New: New test case gcc.target/powerpc/pr91275.c from r276410 fails on BE

2019-10-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92093 Bug ID: 92093 Summary: New test case gcc.target/powerpc/pr91275.c from r276410 fails on BE Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/92092] New: Spurious warning: '' may be used uninitialized in this function

2019-10-14 Thread gnu at kosak dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92092 Bug ID: 92092 Summary: Spurious warning: '' may be used uninitialized in this function Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/92091] Inconsistent diagnostics for INCLUDE vs. #include

2019-10-14 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92091 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5 Known to fail|

[Bug fortran/92091] New: Inconsistent diagnostics for INCLUDE vs. #include

2019-10-14 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92091 Bug ID: 92091 Summary: Inconsistent diagnostics for INCLUDE vs. #include Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Compon

[Bug c++/91930] [10 Regression] internal compiler error: in lazily_declare_fn, at cp/method.c:2423 with -fconcepts

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91930 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Oct 14 20:13:49 2019 New Revision: 276968 URL: https://gcc.gnu.org/viewcvs?rev=276968&root=gcc&view=rev Log: PR c++/91930 - ICE with constrained inherited default ctor. The t

[Bug ipa/92074] [10 regression] 26% performance regression on Spec2017 548.exchange2_r

2019-10-14 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92074 --- Comment #2 from Jan Hubicka --- The regression is because we now inline covered into digits2: IPA function summary for digits_2/29 inlinable global time: 1553.078985 self size: 1295 global size: 1295 min size: 0

[Bug c++/88329] Implement C++20 std concepts.

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88329 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 88329, which changed state. Bug 88329 Summary: Implement C++20 std concepts. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88329 What|Removed |Added --

[Bug c++/88323] implement C++20 language features.

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 Bug 88323 depends on bug 88329, which changed state. Bug 88329 Summary: Implement C++20 std concepts. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88329 What|Removed |Added --

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

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85254 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/30277] bit-field: wrong overload resolution

2019-10-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30277 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/91930] [10 Regression] internal compiler error: in lazily_declare_fn, at cp/method.c:2423 with -fconcepts

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

[Bug other/92090] [10 regression] ICE in gcc.dg/atomic/c11-atomic-exec-5.c starting with r276469

2019-10-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92090 --- Comment #1 from seurer at gcc dot gnu.org --- It also causes these assembler instruction count tests to fail. > FAIL: gcc.target/powerpc/pr79439-1.c scan-assembler-times \\mbl f\\M 1 > FAIL: gcc.target/powerpc/pr79439-1.c scan-assembler-times

[Bug libstdc++/92057] variant converting constructor fails for primitives

2019-10-14 Thread pj at patrickjohnston dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92057 --- Comment #12 from pj at patrickjohnston dot org --- Intentions aside, the concrete change given at the bottom of the paper doesn't seem to reflect the non-narrowing conversion constraint

[Bug c++/71125] [concepts] Spurious 'invalid reference to function concept error' issued when overloads are not all declared with the concept specifier

2019-10-14 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71125 --- Comment #2 from Casey Carter --- (In reply to Jonathan Wakely from comment #1) > Is this valid in C++20? Definitely not: there are no concept functions in C++20. > > I think G++ is correct to reject it due to redeclaring C1, C2 etc. as a >

[Bug other/92090] New: [10 regression] ICE in gcc.dg/atomic/c11-atomic-exec-5.c starting with r276469

2019-10-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92090 Bug ID: 92090 Summary: [10 regression] ICE in gcc.dg/atomic/c11-atomic-exec-5.c starting with r276469 Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug libstdc++/92057] variant converting constructor fails for primitives

2019-10-14 Thread mclow.lists at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92057 --- Comment #11 from Marshall Clow --- With wrapping: > Proposed Resolution: > This paper proposes to constrain the variant converting constructor and the > converting assignment operator to prevent narrowing conversions > and conversions to

[Bug libstdc++/92057] variant converting constructor fails for primitives

2019-10-14 Thread mclow.lists at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92057 Marshall Clow changed: What|Removed |Added CC||mclow.lists at gmail dot com --- Comment

[Bug target/90928] [9/10 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737

2019-10-14 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90928 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/80268] [concepts] list of candidates for ambiguous call includes unconstrained function

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80268 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/79982] Compiler crashes when using illegal concepts (nested requirements)

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79982 --- Comment #1 from Jonathan Wakely --- No crash on current trunk, with an updated example using C++2a syntax: template concept Void = __is_same_as(T, void); template concept my_concept = requires(T t) { requires requires (int val) { { t.

[Bug c++/87536] Illegal recursive concept leads to compiler ICE

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87536 --- Comment #1 from Jonathan Wakely --- Seems to be fixed on trunk: 87536.cc:2:13: error: 'X' was not declared in this scope 2 | concept X = X; | ^ 87536.cc:2:16: error: expected primary-expression before '>' token 2 |

[Bug c++/86009] [Concepts] Placeholder as argument to partial-concept-id forms extra constrained parameters

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86009 --- Comment #1 from Jonathan Wakely --- Trunk now says: 86009.cc:3:11: error: expected 'auto' or 'decltype(auto)' after 'C1' 3 | void f(C0 *) { } | ^~ 86009.cc:3:8: error: expected 'auto' or 'decltype(auto)' after 'C0' 3

[Bug c++/85263] [concepts] ICE with parameter pack matching

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85263 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/89913] [7/8/9/10 Regression] [concepts] ICE with invalid using declaration

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89913 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/88515] [concepts] id-expression that names non-static data member rejected in requires-expression

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88515 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/92057] variant converting constructor fails for primitives

2019-10-14 Thread pj at patrickjohnston dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92057 --- Comment #9 from pj at patrickjohnston dot org --- I'm sorry to belabour this, but I don't see how narrowing conversions even has anything to do with p0608. The only modification described by the paper (relevant to this case) is the requiremen

[Bug libstdc++/88338] Implement P0898R3, C++20 concepts library.

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88338 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/67148] [concepts] Failed concept check when indirecting through a constrained trait

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

[Bug c++/67491] [meta-bug] concepts issues

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67148, which changed state. Bug 67148 Summary: [concepts] Failed concept check when indirecting through a constrained trait https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67148 What|Removed

[Bug c++/68045] [concepts] segfault in contains_struct_check ../../gcc/gcc/tree.h:2971

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68045 --- Comment #2 from Jonathan Wakely --- I don't get an ICE with current trunk. I don't think the crash is actually related to concepts, if the same problem happened for fortran code.

[Bug c++/68372] [concepts] invalid use of pack expansion expression in member function template declaration

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68372 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/70862] [concepts] adding a concept-constrained version of a variable template causes multiple definition assembler error

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70862 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/71136] [concepts] Spurious 'converting overloaded function is ambiguous' error.

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71136 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c++/71125] [concepts] Spurious 'invalid reference to function concept error' issued when overloads are not all declared with the concept specifier

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71125 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/92089] [concepts] requires-expression results in hard error during constraint checking

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92089 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/92089] New: [concepts] requires-expression results in hard error during constraint checking

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92089 Bug ID: 92089 Summary: [concepts] requires-expression results in hard error during constraint checking Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug c++/67225] [concepts] Expression constraint with a constrained result turns off access checking

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

[Bug c++/67225] [concepts] Expression constraint with a constrained result turns off access checking

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67225 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/67491] [meta-bug] concepts issues

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67225, which changed state. Bug 67225 Summary: [concepts] Expression constraint with a constrained result turns off access checking https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67225 What|Removed

[Bug c++/85806] [concepts] Hard error for "invalid use of non-static data member" in a requires expression

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85806 --- Comment #2 from Jonathan Wakely --- I tested it with "concept" not "concept bool" i.e. template concept HasCount = requires { typename ::helper; }; struct S { int count = 42; }; static_assert(!HasCount);

[Bug c++/82380] [concepts] Error when using requires constraint with attributes

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380 --- Comment #5 from Jonathan Wakely --- I tested it with "concept" not "concept bool" i.e. template concept C = true; template requires C [[nodiscard]] int f(T t) { return 22; } int main() { return 0; }

[Bug c++/82380] [concepts] Error when using requires constraint with attributes

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c++/85806] [concepts] Hard error for "invalid use of non-static data member" in a requires expression

2019-10-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85806 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/88335] Implement P1073R3, C++20 immediate functions (consteval).

2019-10-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88335 Jakub Jelinek changed: What|Removed |Added Attachment #47031|0 |1 is obsolete|

[Bug middle-end/92088] aggregates with VLAs and nested functions are broken

2019-10-14 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92088 --- Comment #1 from joseph at codesourcery dot com --- There are various existing bug reports for ICEs involving VLAs and nested functions (e.g. 59711, 60085, 69193, 70418). I don't know which might be related to this one (and even if some are

[Bug target/92083] -mlong-double-64 strange results

2019-10-14 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92083 --- Comment #2 from joseph at codesourcery dot com --- Note also that glibc does not support being built with a different long double ABI from the default one. On architectures where more than one long double format is supported by glibc, eith

  1   2   >