[Bug c++/94034] [10 Regression] Broken diagnostic: 'result_decl' not supported by dump_expr

2020-03-05 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94034

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com

--- Comment #2 from Paolo Carlini  ---
Mine.

[Bug c++/94186] [10 Regression] compiler incorrectly accepts a requires clause with predicate of non-bool type

2020-03-17 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94186

Paolo Carlini  changed:

   What|Removed |Added

 CC||paolo.carlini at oracle dot com

--- Comment #3 from Paolo Carlini  ---
Isn't this fixable by simply tweaking satisfy_atom to unconditionally issue the
error?

[Bug c++/94186] [10 Regression] compiler incorrectly accepts a requires clause with predicate of non-bool type

2020-03-17 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94186

--- Comment #4 from Paolo Carlini  ---
To wit:

diff --git a/gcc/cp/constraint.cc b/gcc/cp/constraint.cc
index 697ed6726b8..59b43a31274 100644
--- a/gcc/cp/constraint.cc
+++ b/gcc/cp/constraint.cc
@@ -2543,8 +2543,7 @@ satisfy_atom (tree t, tree args, subst_info info)
 return cache.save (error_mark_node);
   if (!same_type_p (TREE_TYPE (result), boolean_type_node))
 {
-  if (info.noisy ())
-   error_at (loc, "constraint does not have type %");
+  error_at (loc, "constraint does not have type %");
   return cache.save (error_mark_node);
 }

passes testing. Since currently we don't have an accurate location for the
constraint we could also pretty print it with %qE (ie, what we did in 9).

[Bug c++/88826] ICE (segfault) when compiling invalid C++ code with -std=c++2a

2020-04-01 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88826

Paolo Carlini  changed:

   What|Removed |Added

  Known to work||9.1.0
 Resolution|--- |WORKSFORME
   Target Milestone|9.4 |9.0
 Status|ASSIGNED|RESOLVED

--- Comment #6 from Paolo Carlini  ---
Released 9.1.0 is not affected.

[Bug c++/94034] [10 Regression] Broken diagnostic: 'result_decl' not supported by dump_expr

2020-04-01 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94034

Paolo Carlini  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
   Assignee|paolo.carlini at oracle dot com|unassigned at gcc dot 
gnu.org

--- Comment #4 from Paolo Carlini  ---
Not actively. I'm unassigning myself.

[Bug c++/90448] [8/9/10 Regression] decltype-based lambda parameter pack is rejected

2020-04-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90448

--- Comment #3 from Paolo Carlini  ---
This is already fixed in trunk: I'm adding the testcase and removingg the 10
Regression marker.

[Bug c++/90320] [8/9/10 Regression] Explicit constructor called implicitly

2020-04-23 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90320

--- Comment #5 from Paolo Carlini  ---
Thanks Marek.

[Bug c++/95158] [10/11 Regression] Templates + Diamond Inheritance + Final = Pure Virtual Function Call

2020-06-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95158

--- Comment #2 from Paolo Carlini  ---
That the issue goes away when templates are not involved seems an useful hint:
are we trying to optimize too early?

Sorry, for the time being I don't feel like assigning the bug to me, I'm in the
middle of too many other things...

[Bug c++/91073] [9/10 Regression] if constexpr no longer works directly with Concepts

2019-11-19 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91073

--- Comment #5 from Paolo Carlini  ---
You are right.

[Bug c++/91073] [9/10 Regression] if constexpr no longer works directly with Concepts

2020-01-14 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91073

--- Comment #10 from Paolo Carlini  ---
I have been making progress on this (I'm in contact with Jason about that) but
unfortunately the issue requires additional analysis for the simple reason that
if I remove/amend my r260482 changes then in C++17 mode the testcases are
accepted again, but in C++2a they are rejected anyway with a different error:
"expected ‘auto’ or ‘decltype(auto)’ after ‘HasInit’" for
the first testcase, for example. Likewise for the second testcase.

[Bug c++/91073] [9 Regression] if constexpr no longer works directly with Concepts

2020-01-15 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91073

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC|paolo at gcc dot gnu.org   |
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com
Summary|[9/10 Regression] if|[9 Regression] if constexpr
   |constexpr no longer works   |no longer works directly
   |directly with Concepts  |with Concepts

--- Comment #12 from Paolo Carlini  ---
Fixed in trunk for now.

[Bug c++/92804] [10 Regression] ICE trying to use concept as a nested-name-specifier

2020-01-17 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92804

Paolo Carlini  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2020-01-17
 Ever confirmed|0   |1

--- Comment #2 from Paolo Carlini  ---
Confirmed.

[Bug c++/92542] [10 Regression] ICE with class template argument deduction following typo

2020-01-17 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92542

Paolo Carlini  changed:

   What|Removed |Added

 CC||paolo.carlini at oracle dot com

--- Comment #1 from Paolo Carlini  ---
Seems already fixed. If so I will add the testcases and resolve the bug.

[Bug c++/92542] [10 Regression] ICE with class template argument deduction following typo

2020-01-17 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92542

Paolo Carlini  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC|paolo.carlini at oracle dot com|
 Resolution|--- |FIXED

--- Comment #5 from Paolo Carlini  ---
Thanks Jon.

[Bug c++/92536] [10 Regression] ICE when trying to using deduction guide following unknown type error

2020-01-18 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92536

Paolo Carlini  changed:

   What|Removed |Added

 CC||paolo.carlini at oracle dot com

--- Comment #2 from Paolo Carlini  ---
Seems already fixed.

[Bug c++/92536] [10 Regression] ICE when trying to using deduction guide following unknown type error

2020-01-20 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92536

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Paolo Carlini  ---
Done.

[Bug c++/92593] [10 Regression] ICE with CTAD using undeclared constraint

2020-01-21 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92593

--- Comment #4 from Paolo Carlini  ---
Another testcase:

template
struct ref_view
{
  ref_view(T) { };
};

ref_view r{1};

[Bug c++/92804] [10 Regression] ICE trying to use concept as a nested-name-specifier

2020-01-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92804

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com

--- Comment #3 from Paolo Carlini  ---
Seems doable.

[Bug c++/92804] [10 Regression] ICE trying to use concept as a nested-name-specifier

2020-01-23 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92804

Paolo Carlini  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Paolo Carlini  ---
Fixed.

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

2020-01-23 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 92804, which changed state.

Bug 92804 Summary: [10 Regression] ICE trying to use concept as a 
nested-name-specifier
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92804

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug c++/90915] [9/10 Regression] ICE in has_attribute, at c-family/c-attribs.c:4221

2020-01-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90915

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com

--- Comment #3 from Paolo Carlini  ---
Mine.

[Bug c++/90338] [9/10 Regression] member function pointer non-type template parameter compile fail while matching

2020-01-30 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90338

Paolo Carlini  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2020-01-30
 Ever confirmed|0   |1

--- Comment #2 from Paolo Carlini  ---
Note, this requires -std=c++2a to reproduce.

Current trunk is fine, I think I'll add the testcase and remove the 10
Regression marker.

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

2020-02-05 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89913

Paolo Carlini  changed:

   What|Removed |Added

 CC|paolo.carlini at oracle dot com|
Summary|[8/9/10 Regression] ICE |[8/9 Regression] ICE with
   |with invalid using  |invalid using declaration
   |declaration |

--- Comment #6 from Paolo Carlini  ---
Let's remove the regression marker for trunk.

[Bug c++/89404] [8/9 Regression] ICE in build_value_init_noctor, at cp/init.c:467

2020-02-07 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89404

Paolo Carlini  changed:

   What|Removed |Added

Summary|[8/9/10 Regression] ICE in  |[8/9 Regression] ICE in
   |build_value_init_noctor, at |build_value_init_noctor, at
   |cp/init.c:467   |cp/init.c:467

--- Comment #4 from Paolo Carlini  ---
Already fixed in trunk.

[Bug c++/93314] [8/9/10 Regression] Invalid use of non-static data member causes ICE in gimplify_expr

2020-02-07 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93314

--- Comment #4 from Paolo Carlini  ---
Related to c++/84939

[Bug libstdc++/56202] SIGFPE (division by zero) in std::binomial_distribution

2013-02-04 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56202



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |ASSIGNED

 AssignedTo|unassigned at gcc dot   |paolo.carlini at oracle dot

   |gnu.org |com



--- Comment #3 from Paolo Carlini  2013-02-04 
15:55:43 UTC ---

Indeed, what Manuel suggested seems right to me. Let me handle this.


[Bug libstdc++/56202] SIGFPE (division by zero) in std::binomial_distribution

2013-02-04 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56202



--- Comment #4 from Paolo Carlini  2013-02-04 
16:21:54 UTC ---

Note: I think we want also to consider the possibility that __e is zero at the

same time and in that case simply discard the iteration completely.


[Bug libstdc++/56202] SIGFPE (division by zero) in std::binomial_distribution

2013-02-04 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56202



Paolo Carlini  changed:



   What|Removed |Added



 Status|ASSIGNED|RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #6 from Paolo Carlini  2013-02-04 
17:11:38 UTC ---

Fixed.


[Bug libstdc++/56202] SIGFPE (division by zero) in std::binomial_distribution

2013-02-04 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56202



--- Comment #9 from Paolo Carlini  2013-02-04 
18:01:52 UTC ---

You are right, but then I don't understand why we should compute __e *before*

checking __t == __x, per your first patch (I think I managed to confuse myself

exactly when I started wondering why...). Also __t == __x doesn't seem *so*

unlikely to me to warrant a __builtin_expect (we have very few of in general,

in the library). I think we could simply have:



if (__t == __x)

  return __x;

const double __e = -std::log(1.0 - __aurng());

__sum += __e / (__t - __x);

__x += 1;


[Bug libstdc++/56202] SIGFPE (division by zero) in std::binomial_distribution

2013-02-04 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56202



--- Comment #12 from Paolo Carlini  2013-02-04 
19:23:38 UTC ---

Ok, thanks Manuel. Let's go with this follow up then, mainline only. If nothing

bad is reported may be suited for the branch too:



Index: include/bits/random.h

===

--- include/bits/random.h(revision 195721)

+++ include/bits/random.h(working copy)

@@ -3770,7 +3770,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION

* @brief A discrete binomial random number distribution.

*

* The formula for the binomial probability density function is

-   * @f$p(i|t,p) = \binom{n}{i} p^i (1 - p)^{t - i}@f$ where @f$t@f$

+   * @f$p(i|t,p) = \binom{t}{i} p^i (1 - p)^{t - i}@f$ where @f$t@f$

* and @f$p@f$ are the parameters of the distribution.

*/

   template

Index: include/bits/random.tcc

===

--- include/bits/random.tcc(revision 195722)

+++ include/bits/random.tcc(working copy)

@@ -1657,13 +1657,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION



 do

   {

+if (__t == __x)

+  return __x;

 const double __e = -std::log(1.0 - __aurng());

-if (__t == __x)

-  {

-if (__e)

-  return __x;

-continue;

-  }

 __sum += __e / (__t - __x);

 __x += 1;

   }


[Bug c++/56208] [4.8 Regression] sizeof sfinae fails to work

2013-02-04 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56208



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-02-04

Summary|sizeof sfinae fails to work |[4.8 Regression] sizeof

   ||sfinae fails to work

 Ever Confirmed|0   |1



--- Comment #3 from Paolo Carlini  2013-02-04 
20:23:52 UTC ---

Let's mark it as such then.


[Bug c++/56208] [4.8 Regression] Some classic sfinae cases fail to work

2013-02-05 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56208



--- Comment #6 from Paolo Carlini  2013-02-05 
09:50:11 UTC ---

Thanks Daniel. Next, we have to figure out which commit broke such lookups. I

can work on that today (if nobody beats me)


[Bug c++/56208] [4.8 Regression] Some classic sfinae cases fail to work

2013-02-05 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56208



--- Comment #7 from Paolo Carlini  2013-02-05 
11:25:46 UTC ---

Narrowed to r190095 - r190842 so far.


[Bug c++/56215] Cannot create constexpr struct with unnamed unions

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56215



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||DUPLICATE



--- Comment #1 from Paolo Carlini  2013-02-06 
09:34:07 UTC ---

Dup.



*** This bug has been marked as a duplicate of bug 54922 ***


[Bug c++/54922] [C++11][DR 1359] constexpr constructors require initialization of all union members

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54922



Paolo Carlini  changed:



   What|Removed |Added



 CC||t-gcc-bugzilla at snowelm

   ||dot com



--- Comment #10 from Paolo Carlini  2013-02-06 
09:34:07 UTC ---

*** Bug 56215 has been marked as a duplicate of this bug. ***


[Bug libstdc++/56216] TR1 bessel functions bomb at x == 0!

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56216



--- Comment #2 from Paolo Carlini  2013-02-06 
09:36:02 UTC ---

Please send the patch with an appropriate ChangeLog entry to the mailing lists.

Thanks.


[Bug c++/56221] Generation of zero initializer for array new without parenthesis

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56221



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||DUPLICATE



--- Comment #3 from Paolo Carlini  2013-02-06 
09:46:50 UTC ---

This is already fixed for 4.7.3.



*** This bug has been marked as a duplicate of bug 56146 ***


[Bug c++/56146] Erroneous char initialization only in template function

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56146



Paolo Carlini  changed:



   What|Removed |Added



 CC||neldev.online at gmail dot

   ||com



--- Comment #4 from Paolo Carlini  2013-02-06 
09:46:50 UTC ---

*** Bug 56221 has been marked as a duplicate of this bug. ***


[Bug libstdc++/56158] bad enum values computed by operator~ in ios_base.h

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56158



Paolo Carlini  changed:



   What|Removed |Added



 CC||redi at gcc dot gnu.org



--- Comment #3 from Paolo Carlini  2013-02-06 
09:50:50 UTC ---

I'm going to regression test the fix.


[Bug c++/54122] [4.7/4.8 Regression] segfault comparing enum class in lambda inside constructor of a templated class

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54122



Paolo Carlini  changed:



   What|Removed |Added



 CC||ai.azuma at gmail dot com



--- Comment #6 from Paolo Carlini  2013-02-06 
10:10:43 UTC ---

*** Bug 52613 has been marked as a duplicate of this bug. ***


[Bug c++/52619] ICE/segmentation fault in lambda function

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52619



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||DUPLICATE



--- Comment #6 from Paolo Carlini  2013-02-06 
10:12:00 UTC ---

Fixed by the patch which fixed PR54122.



*** This bug has been marked as a duplicate of bug 54122 ***


[Bug c++/54122] [4.7/4.8 Regression] segfault comparing enum class in lambda inside constructor of a templated class

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54122



Paolo Carlini  changed:



   What|Removed |Added



 CC||t.schuele at web dot de



--- Comment #7 from Paolo Carlini  2013-02-06 
10:12:00 UTC ---

*** Bug 52619 has been marked as a duplicate of this bug. ***


[Bug c++/54403] [C++11] operator! applied to a member of a templated class in a lambda expression that captures 'this' pointer crashes compiler

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54403



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||DUPLICATE



--- Comment #5 from Paolo Carlini  2013-02-06 
10:13:41 UTC ---

Fixed by the patch which fixed PR54122.



*** This bug has been marked as a duplicate of bug 54122 ***


[Bug c++/54122] [4.7/4.8 Regression] segfault comparing enum class in lambda inside constructor of a templated class

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54122



Paolo Carlini  changed:



   What|Removed |Added



 CC||ripper-tm at yandex dot ru



--- Comment #8 from Paolo Carlini  2013-02-06 
10:13:41 UTC ---

*** Bug 54403 has been marked as a duplicate of this bug. ***


[Bug c++/52613] [C++11] ICE with noexcept in lambda expression in member function of class template

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52613



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||DUPLICATE



--- Comment #3 from Paolo Carlini  2013-02-06 
10:10:43 UTC ---

Fixed by the patch which fixed PR54122.



*** This bug has been marked as a duplicate of bug 54122 ***


[Bug c++/56222] Pointer to member in lambda should not require this to be captured

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56222



Paolo Carlini  changed:



   What|Removed |Added



 CC||daniel.kruegler at

   ||googlemail dot com



--- Comment #1 from Paolo Carlini  2013-02-06 
11:32:40 UTC ---

I don't think this is legal, when y isn't static I mean (otherwise it would be

a dup of PR55828). Daniel, what do you think?


[Bug c++/56222] Pointer to member in lambda should not require this to be captured

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56222



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-02-06

 Blocks||54367

 Ever Confirmed|0   |1



--- Comment #3 from Paolo Carlini  2013-02-06 
11:55:51 UTC ---

Ok, confirmed.


[Bug libstdc++/56158] bad enum values computed by operator~ in ios_base.h

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56158



--- Comment #4 from Paolo Carlini  2013-02-06 
15:29:38 UTC ---

I'm wondering: before doing anything in v3, is this a C++11 issue? Because in

17.5.2.1.3 I see a fixed underlying type but otherwise I see exactly

~static_cast(X) like in v3?!?


[Bug libstdc++/56158] bad enum values computed by operator~ in ios_base.h

2013-02-06 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56158



--- Comment #6 from Paolo Carlini  2013-02-06 
16:40:09 UTC ---

Oh, I was missing that, thanks. Now, I don't know if we should really try to

fix this now after so many years. I'm tempted to just leave it alone until we

break the ABI, unless we are really sure that the value returned by the amended

operator can intetoperate with old code and viceversa. Do you jnow in practice

which values the current operator is returning for GCC?


[Bug libstdc++/56158] bad enum values computed by operator~ in ios_base.h

2013-02-07 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56158



--- Comment #7 from Paolo Carlini  2013-02-07 
11:22:32 UTC ---

We should double check but I'm pretty sure that *in practice* *for GCC* things

are Ok, because the sizeof of these enums is 4 (and in practice the systems we

support have sizeof int <= 4).



If we don't have a concrete testcase, we definitely want to change this later.


[Bug libstdc++/56158] bad enum values computed by operator~ in ios_base.h

2013-02-07 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56158



--- Comment #9 from Paolo Carlini  2013-02-07 
11:50:03 UTC ---

Sure, sure. If we really want to support -fstrict-enums, I'm afraid we are

going to open a big can of worms... Still, are you sure it causes problems

*here*? I'm asking because we have the final 1L << 16.


[Bug c++/56239] [4.6/4.7/4.8 Regression] parse error calling operator() on parenthesized value-initialized temporary

2013-02-07 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56239



Paolo Carlini  changed:



   What|Removed |Added



 CC||manu at gcc dot gnu.org



--- Comment #2 from Paolo Carlini  2013-02-07 
11:59:32 UTC ---

Let's add Manuel in CC.


[Bug libstdc++/56193] ios_base should replace operator void* with explicit operator bool in C++11 onwards.

2013-02-07 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56193



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED

   Target Milestone|4.9.0   |4.8.0



--- Comment #2 from Paolo Carlini  2013-02-07 
15:13:27 UTC ---

Fixed by http://gcc.gnu.org/ml/gcc-cvs/2013-02/msg00222.html


[Bug c++/56247] [4.6/4.7/4.8 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:12131

2013-02-07 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56247



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-02-07

Summary|internal compiler error: in |[4.6/4.7/4.8 Regression]

   |tsubst_copy, at |internal compiler error: in

   |cp/pt.c:12131   |tsubst_copy, at

   ||cp/pt.c:12131

 Ever Confirmed|0   |1



--- Comment #1 from Paolo Carlini  2013-02-07 
23:44:56 UTC ---

Confirmed. 4.5.4 works for me.


[Bug libstdc++/56216] TR1 bessel functions bomb at x == 0!

2013-02-08 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56216



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #4 from Paolo Carlini  2013-02-08 
14:25:06 UTC ---

Fixed for 4.8.0.


[Bug c++/56217] ICE: OpenMP: when combining shared() and a move constructor

2013-02-08 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56217



Paolo Carlini  changed:



   What|Removed |Added



   Severity|blocker |normal


[Bug c++/56251] no DW_AT_const_value for static const member of a template class

2013-02-08 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56251



--- Comment #6 from Paolo Carlini  2013-02-08 
22:50:35 UTC ---

See, eg, c++/30745 and many duplicates elsewhere.


[Bug libstdc++/56267] [4.7/4.8 Regression] unordered containers require Assignable hash function

2013-02-10 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56267



--- Comment #2 from Paolo Carlini  2013-02-10 
23:00:34 UTC ---

Thanks Jon for fully handling this. I understand that in principle we could

have checked is_nothrow_default_constructible, but it's of course much better

if we can just use operations guaranteed by the Standard and be done with it.

If you remember, the is_default_constructible check made me a little nervous

from the start...


[Bug libstdc++/56282] [4.8 regression] std::basic_ios broken with -std=c++11 (undefined reference)

2013-02-11 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56282



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |ASSIGNED

 AssignedTo|unassigned at gcc dot   |paolo.carlini at oracle dot

   |gnu.org |com



--- Comment #4 from Paolo Carlini  2013-02-11 
10:09:05 UTC ---

Nahh, let's revert the whole thing.


[Bug libstdc++/56193] ios_base should replace operator void* with explicit operator bool in C++11 onwards.

2013-02-11 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56193



Paolo Carlini  changed:



   What|Removed |Added



 Status|RESOLVED|REOPENED

 Resolution|FIXED   |



--- Comment #4 from Paolo Carlini  2013-02-11 
10:32:25 UTC ---

Patch reverted. Better simply do this in the next ABI.


[Bug libstdc++/56282] [4.8 regression] std::basic_ios broken with -std=c++11 (undefined reference)

2013-02-11 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56282



Paolo Carlini  changed:



   What|Removed |Added



 Status|ASSIGNED|RESOLVED

 Resolution||FIXED



--- Comment #6 from Paolo Carlini  2013-02-11 
10:32:55 UTC ---

Fixed.


[Bug libstdc++/56193] ios_base should replace operator void* with explicit operator bool in C++11 onwards.

2013-02-11 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56193



--- Comment #6 from Paolo Carlini  2013-02-11 
11:48:54 UTC ---

Indeed, thanks Jon.


[Bug c++/56291] ICE for C++11 in output_constructor_regular_field, at varasm.c:4821

2013-02-11 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56291



Paolo Carlini  changed:



   What|Removed |Added



 CC|freddie_chopin at op dot pl |



--- Comment #1 from Paolo Carlini  2013-02-12 
00:45:09 UTC ---

Current mainline and 4_7-branch work for me. The weird thing is, stock 4.7.2

also works fine for me - I think this is essentially a duplicate of c++/54253.

Are you sure you are using a stock FSF 4.7.2?


[Bug c++/56299] Dependent lambda expression breaks explicit template instantiation

2013-02-12 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56299



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||DUPLICATE



--- Comment #1 from Paolo Carlini  2013-02-12 
14:41:23 UTC ---

Already fixed mainline and 4.7.3.



*** This bug has been marked as a duplicate of bug 53137 ***


[Bug c++/53137] [4.7/4.8 Regression] g++ segfault

2013-02-12 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53137



Paolo Carlini  changed:



   What|Removed |Added



 CC||ers.trion at gmail dot com



--- Comment #21 from Paolo Carlini  2013-02-12 
14:41:23 UTC ---

*** Bug 56299 has been marked as a duplicate of this bug. ***


[Bug c++/56291] [4.6/4.7/4.8 Regression] ICE for C++11 in output_constructor_regular_field, at varasm.c:4821

2013-02-12 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56291



Paolo Carlini  changed:



   What|Removed |Added



 CC|freddie_chopin at op dot pl |



--- Comment #10 from Paolo Carlini  2013-02-12 
15:51:07 UTC ---

Because you are *already* CC-ed as submitter.


[Bug libstdc++/56111] [4.8 Regression] {float,double,long double} complex not accepted anymore

2013-02-12 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56111



Paolo Carlini  changed:



   What|Removed |Added



 CC||paolo.carlini at oracle dot

   ||com



--- Comment #15 from Paolo Carlini  2013-02-12 
16:53:42 UTC ---

Marc, any news on this?


[Bug libstdc++/56111] [4.8 Regression] {float,double,long double} complex not accepted anymore

2013-02-12 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56111



--- Comment #16 from Paolo Carlini  2013-02-12 
16:59:39 UTC ---

Jakub, if Marc remains unreachable I'll take care of carefully checking and

committing the patch in #c9 first thing tomorrow.


[Bug c++/56303] [C++11] ICE in lambda with closure on member variable of a template class

2013-02-13 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56303



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

  Known to work||4.7.3, 4.8.0

 Resolution||WORKSFORME



--- Comment #2 from Paolo Carlini  2013-02-13 
10:36:44 UTC ---

I can reproduce with 4.7.2 but the problem is already fixed in mainline and

4_7-branch.


[Bug c++/56304] [C++1] ICE in get_expr_operands, at tree-ssa-operands.c for template class, using lambda with closure on member variable, also called by the constructor

2013-02-13 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56304



Paolo Carlini  changed:



   What|Removed |Added



 Target|MinGW   |

 Status|UNCONFIRMED |RESOLVED

   Host|Windows 7 64 bit|

 Resolution||DUPLICATE

  Build|GCC 4.7.2   |



--- Comment #2 from Paolo Carlini  2013-02-13 
10:38:44 UTC ---

Dup.



*** This bug has been marked as a duplicate of bug 53037 ***


[Bug c/53037] warn_if_not_aligned(X)

2013-02-13 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037



Paolo Carlini  changed:



   What|Removed |Added



 CC||crillion at tiscali dot it



--- Comment #17 from Paolo Carlini  2013-02-13 
10:38:44 UTC ---

*** Bug 56304 has been marked as a duplicate of this bug. ***


[Bug c++/56304] [C++1] ICE in get_expr_operands, at tree-ssa-operands.c for template class, using lambda with closure on member variable, also called by the constructor

2013-02-13 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56304



--- Comment #3 from Paolo Carlini  2013-02-13 
10:40:03 UTC ---

Oops, fixed reference Bug.



*** This bug has been marked as a duplicate of bug 53137 ***


[Bug c++/53137] [4.7/4.8 Regression] g++ segfault

2013-02-13 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53137



Paolo Carlini  changed:



   What|Removed |Added



 CC||crillion at tiscali dot it



--- Comment #22 from Paolo Carlini  2013-02-13 
10:40:03 UTC ---

*** Bug 56304 has been marked as a duplicate of this bug. ***


[Bug c++/56304] [C++1] ICE in get_expr_operands, at tree-ssa-operands.c for template class, using lambda with closure on member variable, also called by the constructor

2013-02-13 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56304



--- Comment #5 from Paolo Carlini  2013-02-13 
10:44:11 UTC ---

The problem is already fixed in mainline and 4_7-branch, thanks.


[Bug c++/56135] [c++11] this incorrectly captured as null in template member function

2013-02-14 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56135



Paolo Carlini  changed:



   What|Removed |Added



 Status|ASSIGNED|RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #3 from Paolo Carlini  2013-02-14 
23:29:27 UTC ---

Fixed for 4.8.0.


[Bug c++/56013] ICE in lambda in a for-each in templated class

2013-02-14 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56013



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.7.3



--- Comment #2 from Paolo Carlini  2013-02-14 
23:32:09 UTC ---

Fixed mainline and 4.7.3.


[Bug c++/55680] [C++11] Member specialization with lambda is rejected

2013-02-14 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55680



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||FIXED



--- Comment #3 from Paolo Carlini  2013-02-14 
23:37:43 UTC ---

Fixed for 4.8.0.


[Bug c++/55076] ice when compiling lambda function

2013-02-14 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||DUPLICATE



--- Comment #9 from Paolo Carlini  2013-02-14 
23:42:45 UTC ---

Fixed mainline and 4.7.3.



*** This bug has been marked as a duplicate of bug 54122 ***


[Bug c++/54122] [4.7/4.8 Regression] segfault comparing enum class in lambda inside constructor of a templated class

2013-02-14 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54122



Paolo Carlini  changed:



   What|Removed |Added



 CC||tim at klingt dot org



--- Comment #11 from Paolo Carlini  2013-02-14 
23:42:45 UTC ---

*** Bug 55076 has been marked as a duplicate of this bug. ***


[Bug c++/52026] [4.6/4.7/4.8 Regression] Constexpr Variable Appears Uninitialized in Lambda

2013-02-14 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52026



Paolo Carlini  changed:



   What|Removed |Added



 CC||jason at gcc dot gnu.org

Summary|[c++0x] Constexpr Variable  |[4.6/4.7/4.8 Regression]

   |Appears Uninitialized in|Constexpr Variable Appears

   |Lambda  |Uninitialized in Lambda



--- Comment #11 from Paolo Carlini  2013-02-14 
23:53:43 UTC ---

Seems indeed a regression.


[Bug libstdc++/56336] Buggy implementation of stoi, stol, stoll

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56336



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||INVALID



--- Comment #2 from Paolo Carlini  2013-02-15 
10:24:19 UTC ---

I disagree that we have a bug here. The Standard says that invalid_argument is

thrown if strtol, etc report that no conversion could be performed. Here a

conversion can be performed, for the first 4 chars. Note that in general in

this context - the strto* functions which are being wrapped - it's normal that

only the first part of the passed string represents a valid number, there is

nothing strange about this, and *idx, the second argument to the sto*

functions, which you are not using, is correctly updated to point to 'x', as

the Standard requests.


[Bug c++/56323] [C++11] cannot compile inherited constructor for typedef'ed base class

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56323



Paolo Carlini  changed:



   What|Removed |Added



 Status|ASSIGNED|RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #4 from Paolo Carlini  2013-02-15 
11:17:07 UTC ---

Fixed.


[Bug c++/55220] [c++11] ICE when doing partial template specialization on variadic template

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55220



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #6 from Paolo Carlini  2013-02-15 
11:18:07 UTC ---

Fixed.


[Bug c++/55223] [C++11] Default lambda expression of a templated class member

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55223



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #6 from Paolo Carlini  2013-02-15 
11:19:09 UTC ---

Fixed.


[Bug c++/55232] [C++11] ICE with -Wunused-parameter for unused parameter pack using qualified dependent name

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55232



Paolo Carlini  changed:



   What|Removed |Added



 Status|ASSIGNED|RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #11 from Paolo Carlini  2013-02-15 
11:20:09 UTC ---

Fixed.


[Bug c++/54922] [C++11][DR 1359] constexpr constructors require initialization of all union members

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54922



Paolo Carlini  changed:



   What|Removed |Added



 Status|REOPENED|RESOLVED

 Resolution||FIXED



--- Comment #12 from Paolo Carlini  2013-02-15 
11:23:21 UTC ---

Fixed.


[Bug c++/55003] [C++11] Member function pointer not working as constexpr initializer

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55003



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #4 from Paolo Carlini  2013-02-15 
11:24:22 UTC ---

Fixed.


[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833



--- Comment #8 from Paolo Carlini  2013-02-15 
11:32:02 UTC ---

This is fixed in mainline. I'm adding the reduced testcase and closing the

issue.


[Bug c++/55223] [C++11] Default lambda expression of a templated class member

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55223



Paolo Carlini  changed:



   What|Removed |Added



 CC||naddiseo at gmail dot com



--- Comment #7 from Paolo Carlini  2013-02-15 
11:47:06 UTC ---

*** Bug 51833 has been marked as a duplicate of this bug. ***


[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||DUPLICATE



--- Comment #9 from Paolo Carlini  2013-02-15 
11:47:06 UTC ---

It's in fact a Dup.



*** This bug has been marked as a duplicate of bug 55223 ***


[Bug c++/53486] ICE compiling code using lambdas as default argument

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53486



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||DUPLICATE



--- Comment #8 from Paolo Carlini  2013-02-15 
12:05:03 UTC ---

Dup. Testcase doesn't ICE anymore.



*** This bug has been marked as a duplicate of bug 55223 ***


[Bug c++/55223] [C++11] Default lambda expression of a templated class member

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55223



Paolo Carlini  changed:



   What|Removed |Added



 CC||jpalecek at web dot de



--- Comment #8 from Paolo Carlini  2013-02-15 
12:05:03 UTC ---

*** Bug 53486 has been marked as a duplicate of this bug. ***


[Bug c++/56340] Wrong error from exception specifications of defaulted destructors

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56340



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||FIXED



--- Comment #2 from Paolo Carlini  2013-02-15 
13:21:29 UTC ---

Closing.


[Bug c++/54276] Lambda in a Template Function Undefined Reference to local static

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54276



Paolo Carlini  changed:



   What|Removed |Added



 CC||jason at gcc dot gnu.org



--- Comment #4 from Paolo Carlini  2013-02-15 
15:17:24 UTC ---

Just noticed that *the workaround* doesn't work anymore in 4.8/4.7, not sure if

this implies something interesting...


[Bug testsuite/56345] FAIL: g++.dg/cpp0x/lambda/lambda-this8.C -std=c++11 (test for excess errors)

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56345



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-02-15

 CC||jason at gcc dot gnu.org

 Ever Confirmed|0   |1



--- Comment #1 from Paolo Carlini  2013-02-15 
15:24:39 UTC ---

Confirmed. See also:



  http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00701.html


[Bug testsuite/56345] FAIL: g++.dg/cpp0x/lambda/lambda-this8.C -std=c++11 (test for excess errors)

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56345



--- Comment #2 from Paolo Carlini  2013-02-15 
15:30:31 UTC ---

This is a lot puzzling by the way. I have on idea what the specific issue being

tested may have to do with the error: compiling in C++11 mode a file only

including  or even only  works for you? And then why

nothing showed up already in the v3 testsuite?!?


[Bug testsuite/56345] FAIL: g++.dg/cpp0x/lambda/lambda-this8.C -std=c++11 (test for excess errors)

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56345



--- Comment #4 from Paolo Carlini  2013-02-15 
15:40:33 UTC ---

Ah, ah, I was staring at the file *already* using __builtin_abort and was

*really* puzzled.


[Bug testsuite/56345] FAIL: g++.dg/cpp0x/lambda/lambda-this8.C -std=c++11 (test for excess errors)

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56345



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED



--- Comment #5 from Paolo Carlini  2013-02-15 
16:29:55 UTC ---

Let's close this.


[Bug c++/56135] [c++11] this incorrectly captured as null in template member function

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56135



Paolo Carlini  changed:



   What|Removed |Added



   Target Milestone|4.8.0   |4.7.3



--- Comment #5 from Paolo Carlini  2013-02-15 
18:35:34 UTC ---

... and 4.7.3.


[Bug c++/55710] [C++11] Linkage errors with lambdas

2013-02-15 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.7.3



--- Comment #12 from Paolo Carlini  2013-02-15 
18:38:00 UTC ---

Thanks Jason! Fixed mainline and 4.7.3.


  1   2   3   4   5   6   7   8   9   10   >