[Bug c++/70977] [6/7 Regression] Out of memory during compilation of facebook/wangle (flag c++0x works, flag c++14 fails).

2016-07-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70977

Markus Trippelsdorf  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #11 from Markus Trippelsdorf  ---
dup.

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

[Bug c++/70977] [6/7 Regression] Out of memory during compilation of facebook/wangle (flag c++0x works, flag c++14 fails).

2016-07-18 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70977

--- Comment #10 from Romain Geissler  ---
This is actually a dup of #70824 which was just fixed in trunk.

[Bug c++/70977] [6/7 Regression] Out of memory during compilation of facebook/wangle (flag c++0x works, flag c++14 fails).

2016-07-14 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70977

Romain Geissler  changed:

   What|Removed |Added

 CC||romain.geissler at amadeus dot 
com

--- Comment #9 from Romain Geissler  ---
Note: this affects builds of Facebook's Folly in C++14 with gcc 6 too. See
https://github.com/facebook/folly/issues/418

[Bug c++/70977] [6/7 Regression] Out of memory during compilation of facebook/wangle (flag c++0x works, flag c++14 fails).

2016-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70977

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2

[Bug c++/70977] [6/7 Regression] Out of memory during compilation of facebook/wangle (flag c++0x works, flag c++14 fails).

2016-06-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70977

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |6.2

[Bug c++/70977] [6/7 Regression] Out of memory during compilation of facebook/wangle (flag c++0x works, flag c++14 fails).

2016-05-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70977

Markus Trippelsdorf  changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org

--- Comment #8 from Markus Trippelsdorf  ---
Started with r231863.

[Bug c++/70977] [6/7 Regression] Out of memory during compilation of facebook/wangle (flag c++0x works, flag c++14 fails).

2016-05-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70977

--- Comment #7 from Markus Trippelsdorf  ---
markus@x4 tmp % cat Acceptor-c++14.ii
namespace __gnu_cxx {
namespace __ops {
struct _Iter_less_iter {
  template 
  constexpr int operator()(_Iterator1, _Iterator2 __it2) {
return *__it2;
  }
};
constexpr _Iter_less_iter __iter_less_iter() { return _Iter_less_iter(); }
}
}
namespace std {
template  struct initializer_list {
  typedef int *const_iterator;
  int *_M_array;
  unsigned long size;
  constexpr const_iterator begin() { return _M_array; }
  constexpr const_iterator end() { return 0; }
};
template  constexpr _FIter max_element(_FIter, _FIter);
template  constexpr _Tp max(initializer_list<_Tp> __l) {
  max_element(__l.begin(), __l.end());
}
template 
constexpr _ForwardIterator __max_element(_ForwardIterator __first,
 _ForwardIterator, _Compare __comp) {
  __comp(0, __first);
}
template 
constexpr _ForwardIterator max_element(_ForwardIterator __first,
   _ForwardIterator __last) {
  __max_element(__first, __last, __gnu_cxx::__ops::__iter_less_iter());
}
template  void estimateSpaceNeeded() {
  const int kMaxPositiveSpace = max({0});
}
}

markus@x4 tmp % g++ -c Acceptor-c++14.ii
<>