public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/55900] internal compiler error: Segmentation fault
  2013-01-07 15:41 [Bug c++/55900] New: internal compiler error: Segmentation fault rguenth at gcc dot gnu.org
@ 2013-01-07 15:41 ` rguenth at gcc dot gnu.org
  2013-01-07 15:54 ` rguenth at gcc dot gnu.org
  2013-01-09 10:29 ` [Bug c++/55900] [C++11]internal compiler error with initializer list paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-01-07 15:41 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-07 15:41:18 UTC ---
Reducing.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/55900] New: internal compiler error: Segmentation fault
@ 2013-01-07 15:41 rguenth at gcc dot gnu.org
  2013-01-07 15:41 ` [Bug c++/55900] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-01-07 15:41 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55900
           Summary: internal compiler error: Segmentation fault
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rguenth@gcc.gnu.org


Cloned from PR55753, 2nd testcase.

> ./cc1plus -quiet t.ii -std=c++11
testcase.cpp: In constructor 'B<Tp>::B()':
testcase.cpp:6:61:   in constexpr expansion of 'std::complex<double>(1.0e+0)'
testcase.cpp:6:61: internal compiler error: Segmentation fault
0xca7579 crash_signal
        /space/rguenther/src/svn/trunk/gcc/toplev.c:334
0x589ba7 tree_check(tree_node*, char const*, int, char const*, tree_code)
        /space/rguenther/src/svn/trunk/gcc/tree.h:3670
0x768c67 lookup_parameter_binding
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:6432
0x76de8b cxx_eval_constant_expression
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:7676
0x76a335 cxx_eval_binary_expression
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:6804
0x76e577 cxx_eval_constant_expression
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:7852
0x76b8dc cxx_eval_bare_aggregate
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:7125
0x76e6e6 cxx_eval_constant_expression
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:7896
0x769c8c cxx_eval_call_expression
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:6695
0x76def1 cxx_eval_constant_expression
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:7691
0x76dff2 cxx_eval_constant_expression
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:7712
0x76eb15 cxx_eval_outermost_constant_expr
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:7992
0x76f241 maybe_constant_value(tree_node*)
        /space/rguenther/src/svn/trunk/gcc/cp/semantics.c:8103
0x65b7b6 build_non_dependent_expr(tree_node*)
        /space/rguenther/src/svn/trunk/gcc/cp/pt.c:20204
0x65bc26 make_args_non_dependent(vec<tree_node*, va_gc, vl_embed>*)
        /space/rguenther/src/svn/trunk/gcc/cp/pt.c:20281
0x5a5c61 build_new_method_call_1
        /space/rguenther/src/svn/trunk/gcc/cp/call.c:7450
0x5a7c25 build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc,
vl_embed>**, tree_node*, int, tree_node**, int)
        /space/rguenther/src/svn/trunk/gcc/cp/call.c:7741
0x5a55ef build_special_member_call(tree_node*, tree_node*, vec<tree_node*,
va_gc, vl_embed>**, tree_node*, int, int)
        /space/rguenther/src/svn/trunk/gcc/cp/call.c:7323
0x59e156 build_temp
        /space/rguenther/src/svn/trunk/gcc/cp/call.c:5718
0x59ffd5 convert_like_real
        /space/rguenther/src/svn/trunk/gcc/cp/call.c:6065
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/55900] internal compiler error: Segmentation fault
  2013-01-07 15:41 [Bug c++/55900] New: internal compiler error: Segmentation fault rguenth at gcc dot gnu.org
  2013-01-07 15:41 ` [Bug c++/55900] " rguenth at gcc dot gnu.org
@ 2013-01-07 15:54 ` rguenth at gcc dot gnu.org
  2013-01-09 10:29 ` [Bug c++/55900] [C++11]internal compiler error with initializer list paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-01-07 15:54 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-01-07
     Ever Confirmed|0                           |1
      Known to fail|                            |4.7.2, 4.8.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-07 15:54:32 UTC ---
Reduced testcase:

template<typename _Tp> class complex;
template<>     
struct complex<double>
{
  typedef __complex__ double _ComplexT;
  constexpr complex(double __r = 0.0, double __i = 0.0)
      : _M_value{ __r, __i } { }
  _ComplexT _M_value;
};
template <typename Tp> 
struct B
{
  B() { complex<double>((true ? 1.0 : complex<double>())); } 
};

4.6 does not support the initializer list, so technically not a regression.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/55900] [C++11]internal compiler error with initializer list
  2013-01-07 15:41 [Bug c++/55900] New: internal compiler error: Segmentation fault rguenth at gcc dot gnu.org
  2013-01-07 15:41 ` [Bug c++/55900] " rguenth at gcc dot gnu.org
  2013-01-07 15:54 ` rguenth at gcc dot gnu.org
@ 2013-01-09 10:29 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-01-09 10:29 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-01-09 10:28:52 UTC ---
The 2nd testcase in PR55753 is now also fixed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-09 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-07 15:41 [Bug c++/55900] New: internal compiler error: Segmentation fault rguenth at gcc dot gnu.org
2013-01-07 15:41 ` [Bug c++/55900] " rguenth at gcc dot gnu.org
2013-01-07 15:54 ` rguenth at gcc dot gnu.org
2013-01-09 10:29 ` [Bug c++/55900] [C++11]internal compiler error with initializer list paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).