[Bug c++/42572] internal compiler error: Segmentation fault with pair<>

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 1 17:15:00 GMT 2010



------- Comment #1 from paolo dot carlini at oracle dot com  2010-01-01 17:15 -------
Current release branch and mainline give:

.../stl_pair.h:88: warning:   in call to ‘std::pair<_T1, _T2>::pair(_U1&&,
_U2&&) [with _U1 = double, _U2 = std::initializer_list<int>, _T1 = float, _T2 =
std::vector<int, std::allocator<int> >]Â’
42572.cc:6: warning:   (you can disable this with -fno-deduce-init-list)

and -fno-deduce-init-list works fine.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |4.4.3 4.5.0
         Resolution|                            |WORKSFORME


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



More information about the Gcc-bugs mailing list