[Bug c++/66218] [c++-concepts] "inconsistent deduction for ‘auto’" with a partial-concept-id in a deduction constraint

2015-07-11 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66218 --- Comment #3 from Casey Carter --- Now this program compiles: template concept bool Same = __is_same_as(T, U); template concept bool C = requires { { 0 } -> Same; { 3.14 } -> Same; { nullptr } -> Same; { "Hello, World!" }

[Bug c++/66844] New: [c++-concepts] Requires-expression parameter with void type

2015-07-11 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66844 Bug ID: 66844 Summary: [c++-concepts] Requires-expression parameter with void type Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/66843] New: g++ outputting nonsense errors, won't compile operational program

2015-07-11 Thread fvvnaqnd at grr dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66843 Bug ID: 66843 Summary: g++ outputting nonsense errors, won't compile operational program Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/66842] New: libatomic uses multiple locks for locked atomics

2015-07-11 Thread bin.x.fan at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66842 Bug ID: 66842 Summary: libatomic uses multiple locks for locked atomics Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/65186] internal compiler error: in tsubst, at cp/pt.c:11738

2015-07-11 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65186 --- Comment #10 from Patrick Palka --- When I said that this PR is not a dup of c++/30044 I sadly failed to look at #c1 and instead only looked at #c3. The test case in #c1 does appear to effectively be a dup of c++/30044, and with the fix for t

[Bug target/58066] __tls_get_addr is called with misaligned stack on x86-64

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

[Bug c++/17267] Reuse of template parameter name not diagnosed

2015-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17267 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/17267] Reuse of template parameter name not diagnosed

2015-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17267 Paolo Carlini changed: What|Removed |Added CC|gcc-bugs at gcc dot gnu.org| --- Comment #4 from Paolo Carlin

[Bug c++/30044] ICE in tsubst, at cp/pt.c:7359

2015-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30044 Paolo Carlini changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/65091] decltype(~arg) fails for template functions

2015-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65091 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|paolo.carlini at

[Bug c++/66834] [concepts] concept parameter kind mismatch causes hard error

2015-07-11 Thread eric.niebler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66834 --- Comment #6 from Eric Niebler --- Exhaustively overloading Constructible to avoid the kind mismatch and the ambiguity runs into a different problem: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66841 I haven't filed an issue for the ambiguity

[Bug target/66819] gcc.target/i386/pr65753.c fails with -fPIC -m32 -O2 -mregparm=3

2015-07-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66819 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/58734] [C++11] Template template parameter pack instantiation problem

2015-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58734 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/58734] [C++11] Template template parameter pack instantiation problem

2015-07-11 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58734 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Sat Jul 11 18:17:41 2015 New Revision: 225713 URL: https://gcc.gnu.org/viewcvs?rev=225713&root=gcc&view=rev Log: 2015-07-11 Paolo Carlini PR c++/58734 * g++

[Bug c++/66841] New: [concepts] bogus error "invalid reference to function concept" when function concept is overloaded

2015-07-11 Thread eric.niebler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66841 Bug ID: 66841 Summary: [concepts] bogus error "invalid reference to function concept" when function concept is overloaded Product: gcc Version: c++-concepts Status: UNCON

[Bug c++/58734] [C++11] Template template parameter pack instantiation problem

2015-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58734 --- Comment #3 from Paolo Carlini --- In fact the released 4.9.0 also doesn't fail. Let's the testcase and close the bug.

[Bug c++/66834] [concepts] concept parameter kind mismatch causes hard error

2015-07-11 Thread eric.niebler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66834 --- Comment #5 from Eric Niebler --- I would expect a partial ordering to prefer the two-parameter overload in that case. But yeah, it's a separate issue.

[Bug c++/65186] internal compiler error: in tsubst, at cp/pt.c:11738

2015-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65186 --- Comment #9 from Paolo Carlini --- Thanks Patrick!

[Bug target/66840] [5/6 Regression] plugins fail to build on powerpc64le-linux-gnu

2015-07-11 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66840 --- Comment #1 from Andreas Schwab --- Add it to TM_H.

[Bug c++/66834] [concepts] concept parameter kind mismatch causes hard error

2015-07-11 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66834 --- Comment #4 from Casey Carter --- I conjecture that Constructible() is ambiguous, since both templates will specialize for it. I was thinking: template concept bool Constructible() { return requires { T{}; }; } template concept boo

[Bug c++/66834] [concepts] concept parameter kind mismatch causes hard error

2015-07-11 Thread eric.niebler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66834 --- Comment #3 from Eric Niebler --- I was thinking that overloading the Constructible concept would be a conforming way to express this, but it doesn't seems to work. Any clue why? template concept bool Same = __is_same_as(T, U); template c

[Bug target/66840] New: [5/6 Regression] plugins fail to build on powerpc64le-linux-gnu

2015-07-11 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66840 Bug ID: 66840 Summary: [5/6 Regression] plugins fail to build on powerpc64le-linux-gnu Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: normal

[Bug c++/66834] [concepts] concept parameter kind mismatch causes hard error

2015-07-11 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66834 --- Comment #2 from Andrew Sutton --- I think that this is invalid too. There's an expansion from an uninstantiated template argument pack into a pair of template parameters. I think the program must be ill-formed in this case. It's not possible

[Bug c++/66839] New: g++ accepts NSDMI with -std=c++98 when the intializer is a macro defined in a standard header

2015-07-11 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66839 Bug ID: 66839 Summary: g++ accepts NSDMI with -std=c++98 when the intializer is a macro defined in a standard header Product: gcc Version: 4.9.2 Status: UNCONFIRMED

[Bug c++/65186] internal compiler error: in tsubst, at cp/pt.c:11738

2015-07-11 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65186 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/66353] Missing bb_has_abnormal_call_pred in basic-block.h

2015-07-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66353 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/66353] Missing bb_has_abnormal_call_pred in basic-block.h

2015-07-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66353 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Sat Jul 11 10:03:38 2015 New Revision: 225711 URL: https://gcc.gnu.org/viewcvs?rev=225711&root=gcc&view=rev Log: PR middle-end/66353 * basic-block.h (has_abnormal_call_

[Bug target/66780] [4.9 Regression] Compiling with -fstack-protector-strong causes binary to segfault

2015-07-11 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66780 --- Comment #7 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #0) > To reproduce: > > $ wget > http://http.debian.net/debian/pool/main/p/procps/procps_3.3.10.orig.tar.xz > $ tar xf procps_3.3.10.orig.tar.x