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

             Bug #: 50827
           Summary: [4.7 Regression] ICE: RTL check: expected elt 0 type
                    'e' or 'u', have '0' (rtx entry_value) in loc_cmp, at
                    var-tracking.c:3011
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz
            Target: x86_64-pc-linux-gnu
             Build: x86_64-pc-linux-gnu


Created attachment 25575
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25575
autoreduced testcase

Compiler output:
$ gcc -O2 -fno-ipa-sra -g testcase.C 
testcase.C: In function 'void std::_Destroy(_ForwardIterator, _ForwardIterator,
_Allocator&) [with _ForwardIterator =
__gnu_cxx::_Pointer_adapter<__gnu_cxx::_Relative_pointer_impl<std::vector<int,
__gnu_cxx::int_alloc_type> > >; _Allocator = __gnu_cxx::vec_alloc_type]':
testcase.C:53:3: internal compiler error: RTL check: expected elt 0 type 'e' or
'u', have '0' (rtx entry_value) in loc_cmp, at var-tracking.c:3011
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

RTL checking is probably needed to reproduce.

Tested revisions:
r180324 - crash
r180260 - crash
r179959 - OK

Reply via email to