[LLVMbugs] [Bug 7083] New: Many PIC16 "make check" failures when building with --enable-expensive-checks

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 7 02:06:33 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7083

           Summary: Many PIC16 "make check" failures when building with
                    --enable-expensive-checks
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


It looks like there may be just one underlying bug:

Running /home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/dg.exp ...
FAIL:
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/2009-07-17-PR4566-pic16.ll
Failed with signal(SIGABRT) at line 1
while running:  llc <
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/2009-07-17-PR4566-pic16.ll
-march=pic16 | FileCheck
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/2009-07-17-PR4566-pic16.ll
/usr/local/gcc-4.5/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/c++/4.5.1/debug/safe_iterator.h:252:
    error: attempt to decrement a dereferenceable (start-of-sequence)     
    iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7fff10ffe590 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcNSt6__norm6vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE
(mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `NSt7__debug6vectorIPcSaIS1_EEE' @
0x0x7fff10ffe590
}
0  llc            0x00000000018f0425
1  llc            0x00000000018f030c
2  libc.so.6      0x00002b6ad801caf0
3  libc.so.6      0x00002b6ad801ca75 gsignal + 53
4  libc.so.6      0x00002b6ad80205c0 abort + 384
5  libstdc++.so.6 0x00002b6ad78b0454 __gnu_debug::_Error_formatter::_M_error()
const + 356
6  llc            0x0000000000f5c178
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**,
std::__norm::vector<char*, std::allocator<char*> > >,
std::__debug::vector<char*, std::allocator<char*> > >::operator--(int) + 130
7  llc            0x0000000000f5aa87 llvm::ESNames::~ESNames() + 159
8  libc.so.6      0x00002b6ad8022262 exit + 226
9  libc.so.6      0x00002b6ad8007c54 __libc_start_main + 260
10 llc            0x0000000000de3639

FAIL: /home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/2009-11-20-NewNode.ll
for PR5558
Failed with signal(SIGABRT) at line 1
while running:  llc -march=pic16 <
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/2009-11-20-NewNode.ll

#include p16f1xxx.inc
#include stdmacros.inc
                                        ; Function Declarations - BEGIN
    global    @_strtoll_r
    global    @_strtoll_r.ret.
    global    @_strtoll_r.args.
    extern    @abort
    extern    @abort.ret.
    extern    @abort.args.
                                        ; Function Declarations - END
@_strtoll_r.frame_section.#    UDATA_OVR    
@_strtoll_r.frame.:
@_strtoll_r.ret. RES 8
@_strtoll_r.args. RES 2
@_strtoll_r.temp. RES  8
@_strtoll_r.code_section.#    CODE    
    retlw  low(@_strtoll_r.frame.)
    retlw  high(@_strtoll_r.frame.)
@_strtoll_r:
    banksel @_strtoll_r.args.
    movf @_strtoll_r.args. + 0, W
    movwf @_strtoll_r.temp. + 3
    movlw -128
    movwf @_strtoll_r.temp. + 4
    movf @_strtoll_r.args. + 1, W
    movwf @_strtoll_r.temp. + 5
    movf @_strtoll_r.temp. + 4, W
    movwf @_strtoll_r.temp. + 0
    subwf @_strtoll_r.temp. + 0, W
    bne .BB0_1
.BB0_1:                                 ; %if.end27
    banksel @_strtoll_r.temp.
    movf @_strtoll_r.temp. + 5, W
    banksel @.lib.sra.i8.args.
    movwf @.lib.sra.i8.args. + 0
    movlw 7
    movwf @.lib.sra.i8.args. + 1
    movlp @.lib.sra.i8
    call @.lib.sra.i8
    banksel @.lib.sra.i8.ret.
    movf @.lib.sra.i8.ret. + 0, W
    banksel @_strtoll_r.temp.
    movwf @_strtoll_r.temp. + 6
    movf @_strtoll_r.temp. + 4, W
    movwf @_strtoll_r.temp. + 1
    movlw 0
    movwf @_strtoll_r.temp. + 7
    sublw -128
    movlp $
    bne .BB0_3
; BB#2:                                 ; %if.end27
    movlw -1
    banksel @_strtoll_r.temp.
    movwf @_strtoll_r.temp. + 7
.BB0_3:                                 ; %if.end27
    banksel @_strtoll_r.temp.
    subwf @_strtoll_r.temp. + 1, W
    bne .BB0_5
; BB#4:                                 ; %if.end27
    movlw 127
    banksel @_strtoll_r.temp.
    movwf @_strtoll_r.temp. + 4
.BB0_5:                                 ; %if.end27
    banksel @_strtoll_r.temp.
    movf @_strtoll_r.temp. + 7, W
    banksel @__udivdi3.args.
    movwf @__udivdi3.args. + 0
    movwf @__udivdi3.args. + 1
    movwf @__udivdi3.args. + 2
    movwf @__udivdi3.args. + 3
    movwf @__udivdi3.args. + 4
    movwf @__udivdi3.args. + 5
    movwf @__udivdi3.args. + 6
    banksel @_strtoll_r.temp.
    movf @_strtoll_r.temp. + 4, W
    banksel @__udivdi3.args.
    movwf @__udivdi3.args. + 7
    banksel @_strtoll_r.temp.
    movf @_strtoll_r.temp. + 3, W
    banksel @__udivdi3.args.
    movwf @__udivdi3.args. + 8
    banksel @_strtoll_r.temp.
    movf @_strtoll_r.temp. + 5, W
    banksel @__udivdi3.args.
    movwf @__udivdi3.args. + 9
    banksel @_strtoll_r.temp.
    movf @_strtoll_r.temp. + 6, W
    banksel @__udivdi3.args.
    movwf @__udivdi3.args. + 10
    movwf @__udivdi3.args. + 11
    movwf @__udivdi3.args. + 12
    movwf @__udivdi3.args. + 13
    movwf @__udivdi3.args. + 14
    movwf @__udivdi3.args. + 15
    movlp __udivdi3
    call __udivdi3
    banksel @__udivdi3.ret.
    movf @__udivdi3.ret. + 0, W
    movf @__udivdi3.ret. + 1, W
    movf @__udivdi3.ret. + 2, W
    movf @__udivdi3.ret. + 3, W
    movf @__udivdi3.ret. + 4, W
    movf @__udivdi3.ret. + 5, W
    movf @__udivdi3.ret. + 6, W
    movf @__udivdi3.ret. + 7, W
    movlp $
; BB#6:                                 ; %if.then152
    movlw -128
    banksel @_strtoll_r.temp.
    movwf @_strtoll_r.temp. + 2
    subwf @_strtoll_r.temp. + 2, W
    bne .BB0_7
.BB0_7:                                 ; %if.end182
    banksel @_strtoll_r.temp.
    movf @_strtoll_r.temp. + 7, W
    movwf @_strtoll_r.frame. + 0
    movwf @_strtoll_r.frame. + 1
    movwf @_strtoll_r.frame. + 2
    movwf @_strtoll_r.frame. + 3
    movwf @_strtoll_r.frame. + 4
    movwf @_strtoll_r.frame. + 5
    movwf @_strtoll_r.frame. + 6
    movf @_strtoll_r.temp. + 4, W
    movwf @_strtoll_r.frame. + 7
    return
                                        ; External decls for libcalls - BEGIN
    extern    @.lib.sra.i8
    extern    @.lib.sra.i8.args.
    extern    @.lib.sra.i8.ret.
                                        ; External decls for libcalls - END
    END
/usr/local/gcc-4.5/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/c++/4.5.1/debug/safe_iterator.h:252:
    error: attempt to decrement a dereferenceable (start-of-sequence)     
    iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7fff67385b40 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcNSt6__norm6vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE
(mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `NSt7__debug6vectorIPcSaIS1_EEE' @
0x0x7fff67385b40
}
0  llc            0x00000000018f0425
1  llc            0x00000000018f030c
2  libc.so.6      0x00002b68513a2af0
3  libc.so.6      0x00002b68513a2a75 gsignal + 53
4  libc.so.6      0x00002b68513a65c0 abort + 384
5  libstdc++.so.6 0x00002b6850c36454 __gnu_debug::_Error_formatter::_M_error()
const + 356
6  llc            0x0000000000f5c178
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**,
std::__norm::vector<char*, std::allocator<char*> > >,
std::__debug::vector<char*, std::allocator<char*> > >::operator--(int) + 130
7  llc            0x0000000000f5aa87 llvm::ESNames::~ESNames() + 159
8  libc.so.6      0x00002b68513a8262 exit + 226
9  libc.so.6      0x00002b685138dc54 __libc_start_main + 260
10 llc            0x0000000000de3639

FAIL: /home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/C16-15.ll
Failed with signal(SIGABRT) at line 1
while running:  llc <
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/C16-15.ll -march=pic16 |
/bin/grep "extern" | /bin/grep "@.lib.unordered.f32" | count 3
/usr/local/gcc-4.5/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/c++/4.5.1/debug/safe_iterator.h:252:
    error: attempt to decrement a dereferenceable (start-of-sequence)     
    iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7fff67d1b8e0 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcNSt6__norm6vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE
(mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `NSt7__debug6vectorIPcSaIS1_EEE' @
0x0x7fff67d1b8e0
}
0  llc            0x00000000018f0425
1  llc            0x00000000018f030c
2  libc.so.6      0x00002b4e9f90daf0
3  libc.so.6      0x00002b4e9f90da75 gsignal + 53
4  libc.so.6      0x00002b4e9f9115c0 abort + 384
5  libstdc++.so.6 0x00002b4e9f1a1454 __gnu_debug::_Error_formatter::_M_error()
const + 356
6  llc            0x0000000000f5c178
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**,
std::__norm::vector<char*, std::allocator<char*> > >,
std::__debug::vector<char*, std::allocator<char*> > >::operator--(int) + 130
7  llc            0x0000000000f5aa87 llvm::ESNames::~ESNames() + 159
8  libc.so.6      0x00002b4e9f913262 exit + 226
9  libc.so.6      0x00002b4e9f8f8c54 __libc_start_main + 260
10 llc            0x0000000000de3639

FAIL: /home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/C16-49.ll
Failed with signal(SIGABRT) at line 1
while running:  llvm-as <
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/C16-49.ll |  llc
-march=pic16

#include p16f1xxx.inc
#include stdmacros.inc
                                        ; Function Declarations - BEGIN
    global    @foo
    global    @foo.ret.
    global    @foo.args.
    extern    @abort
    extern    @abort.ret.
    extern    @abort.args.
                                        ; Function Declarations - END
                                        ; Imported Variables - BEGIN
    extern    @PORTD
                                        ; Imported Variables - END
                                        ; Exported Variables - BEGIN
    global    @aa
    global    @bb
                                        ; Exported Variables - END

@idata.0.#    IDATA    
@aa
 dw 55                                  ; 0x37
@bb
 dw 44                                  ; 0x2c
@foo.frame_section.#    UDATA_OVR    
@foo.frame.:
@foo.ret.:
@foo.args. RES 0
@foo.temp. RES  1
@foo.code_section.#    CODE    
    retlw  low(@foo.frame.)
    retlw  high(@foo.frame.)
@foo:
    banksel @aa
    movf @aa + 0, W
    banksel @foo.temp.
    movwf @foo.temp. + 0
    banksel @bb
    movf @bb + 0, W
    banksel @foo.temp.
    subwf @foo.temp. + 0, W
    banksel @PORTD
    movwf @PORTD + 0
    return
    END
/usr/local/gcc-4.5/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/c++/4.5.1/debug/safe_iterator.h:252:
    error: attempt to decrement a dereferenceable (start-of-sequence)     
    iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7fffbc9fa1c0 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcNSt6__norm6vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE
(mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `NSt7__debug6vectorIPcSaIS1_EEE' @
0x0x7fffbc9fa1c0
}
0  llc            0x00000000018f0425
1  llc            0x00000000018f030c
2  libc.so.6      0x00002ae4bae1faf0
3  libc.so.6      0x00002ae4bae1fa75 gsignal + 53
4  libc.so.6      0x00002ae4bae235c0 abort + 384
5  libstdc++.so.6 0x00002ae4ba6b3454 __gnu_debug::_Error_formatter::_M_error()
const + 356
6  llc            0x0000000000f5c178
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**,
std::__norm::vector<char*, std::allocator<char*> > >,
std::__debug::vector<char*, std::allocator<char*> > >::operator--(int) + 130
7  llc            0x0000000000f5aa87 llvm::ESNames::~ESNames() + 159
8  libc.so.6      0x00002ae4bae25262 exit + 226
9  libc.so.6      0x00002ae4bae0ac54 __libc_start_main + 260
10 llc            0x0000000000de3639

FAIL: /home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/check_inc_files.ll
Failed with signal(SIGABRT) at line 1
while running:  llvm-as <
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/check_inc_files.ll |  llc
-march=pic16 | FileCheck
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/check_inc_files.ll 
/usr/local/gcc-4.5/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/c++/4.5.1/debug/safe_iterator.h:252:
    error: attempt to decrement a dereferenceable (start-of-sequence)     
    iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7ffff6a1aea0 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcNSt6__norm6vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE
(mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `NSt7__debug6vectorIPcSaIS1_EEE' @
0x0x7ffff6a1aea0
}
0  llc            0x00000000018f0425
1  llc            0x00000000018f030c
2  libc.so.6      0x00002b4ea2ce5af0
3  libc.so.6      0x00002b4ea2ce5a75 gsignal + 53
4  libc.so.6      0x00002b4ea2ce95c0 abort + 384
5  libstdc++.so.6 0x00002b4ea2579454 __gnu_debug::_Error_formatter::_M_error()
const + 356
6  llc            0x0000000000f5c178
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**,
std::__norm::vector<char*, std::allocator<char*> > >,
std::__debug::vector<char*, std::allocator<char*> > >::operator--(int) + 130
7  llc            0x0000000000f5aa87 llvm::ESNames::~ESNames() + 159
8  libc.so.6      0x00002b4ea2ceb262 exit + 226
9  libc.so.6      0x00002b4ea2cd0c54 __libc_start_main + 260
10 llc            0x0000000000de3639

FAIL:
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/global-in-user-section.ll
Failed with signal(SIGABRT) at line 1
while running:  llc <
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/global-in-user-section.ll
-march=pic16 | FileCheck
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/global-in-user-section.ll
/usr/local/gcc-4.5/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/c++/4.5.1/debug/safe_iterator.h:252:
    error: attempt to decrement a dereferenceable (start-of-sequence)     
    iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7fff0ab9e8d0 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcNSt6__norm6vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE
(mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `NSt7__debug6vectorIPcSaIS1_EEE' @
0x0x7fff0ab9e8d0
}
0  llc            0x00000000018f0425
1  llc            0x00000000018f030c
2  libc.so.6      0x00002b84672f6af0
3  libc.so.6      0x00002b84672f6a75 gsignal + 53
4  libc.so.6      0x00002b84672fa5c0 abort + 384
5  libstdc++.so.6 0x00002b8466b8a454 __gnu_debug::_Error_formatter::_M_error()
const + 356
6  llc            0x0000000000f5c178
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**,
std::__norm::vector<char*, std::allocator<char*> > >,
std::__debug::vector<char*, std::allocator<char*> > >::operator--(int) + 130
7  llc            0x0000000000f5aa87 llvm::ESNames::~ESNames() + 159
8  libc.so.6      0x00002b84672fc262 exit + 226
9  libc.so.6      0x00002b84672e1c54 __libc_start_main + 260
10 llc            0x0000000000de3639

FAIL: /home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/globals.ll
Failed with signal(SIGABRT) at line 1
while running:  llc <
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/globals.ll -march=pic16 |
FileCheck /home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/globals.ll
/usr/local/gcc-4.5/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/c++/4.5.1/debug/safe_iterator.h:252:
    error: attempt to decrement a dereferenceable (start-of-sequence)     
    iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7fffbc87ec80 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcNSt6__norm6vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE
(mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `NSt7__debug6vectorIPcSaIS1_EEE' @
0x0x7fffbc87ec80
}
0  llc            0x00000000018f0425
1  llc            0x00000000018f030c
2  libc.so.6      0x00002ad469565af0
3  libc.so.6      0x00002ad469565a75 gsignal + 53
4  libc.so.6      0x00002ad4695695c0 abort + 384
5  libstdc++.so.6 0x00002ad468df9454 __gnu_debug::_Error_formatter::_M_error()
const + 356
6  llc            0x0000000000f5c178
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**,
std::__norm::vector<char*, std::allocator<char*> > >,
std::__debug::vector<char*, std::allocator<char*> > >::operator--(int) + 130
7  llc            0x0000000000f5aa87 llvm::ESNames::~ESNames() + 159
8  libc.so.6      0x00002ad46956b262 exit + 226
9  libc.so.6      0x00002ad469550c54 __libc_start_main + 260
10 llc            0x0000000000de3639

FAIL: /home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/result_direction.ll
Failed with signal(SIGABRT) at line 1
while running:  llvm-as <
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/result_direction.ll |  llc
-march=pic16 | FileCheck
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/result_direction.ll
/usr/local/gcc-4.5/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/c++/4.5.1/debug/safe_iterator.h:252:
    error: attempt to decrement a dereferenceable (start-of-sequence)     
    iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7fff053ce480 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcNSt6__norm6vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE
(mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `NSt7__debug6vectorIPcSaIS1_EEE' @
0x0x7fff053ce480
}
0  llc            0x00000000018f0425
1  llc            0x00000000018f030c
2  libc.so.6      0x00002ae470509af0
3  libc.so.6      0x00002ae470509a75 gsignal + 53
4  libc.so.6      0x00002ae47050d5c0 abort + 384
5  libstdc++.so.6 0x00002ae46fd9d454 __gnu_debug::_Error_formatter::_M_error()
const + 356
6  llc            0x0000000000f5c178
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**,
std::__norm::vector<char*, std::allocator<char*> > >,
std::__debug::vector<char*, std::allocator<char*> > >::operator--(int) + 130
7  llc            0x0000000000f5aa87 llvm::ESNames::~ESNames() + 159
8  libc.so.6      0x00002ae47050f262 exit + 226
9  libc.so.6      0x00002ae4704f4c54 __libc_start_main + 260
10 llc            0x0000000000de3639

FAIL: /home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/sext.ll
Failed with signal(SIGABRT) at line 1
while running:  llc <
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/sext.ll -march=pic16

#include p16f1xxx.inc
#include stdmacros.inc
                                        ; Function Declarations - BEGIN
    global    @main
    global    @main.ret.
    global    @main.args.
    extern    @abort
    extern    @abort.ret.
    extern    @abort.args.
                                        ; Function Declarations - END
@main.frame_section.#    UDATA_OVR    
@main.frame.:
@main.ret. RES 2
@main.args. RES 0
@main.temp. RES  2
@main.code_section.#    CODE    
    retlw  low(@main.frame.)
    retlw  high(@main.frame.)
@main:
    banksel @main.auto.c
    movf @main.auto.c + 0, W
    banksel @main.temp.
    movwf @main.temp. + 0
    banksel @.lib.sra.i8.args.
    movwf @.lib.sra.i8.args. + 0
    movlw 7
    movwf @.lib.sra.i8.args. + 1
    movlp @.lib.sra.i8
    call @.lib.sra.i8
    banksel @.lib.sra.i8.ret.
    movf @.lib.sra.i8.ret. + 0, W
    banksel @main.temp.
    movwf @main.temp. + 1
    movf @main.temp. + 0, W
    movwf @main.frame. + 0
    movf @main.temp. + 1, W
    movwf @main.frame. + 1
    return

@main.autos_section.#    UDATA_OVR    
@main.auto.c RES 1
                                        ; External decls for libcalls - BEGIN
    extern    @.lib.sra.i8
    extern    @.lib.sra.i8.args.
    extern    @.lib.sra.i8.ret.
                                        ; External decls for libcalls - END
    END
/usr/local/gcc-4.5/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/c++/4.5.1/debug/safe_iterator.h:252:
    error: attempt to decrement a dereferenceable (start-of-sequence)     
    iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7fff0b1455d0 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcNSt6__norm6vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE
(mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `NSt7__debug6vectorIPcSaIS1_EEE' @
0x0x7fff0b1455d0
}
0  llc            0x00000000018f0425
1  llc            0x00000000018f030c
2  libc.so.6      0x00002ba4654ffaf0
3  libc.so.6      0x00002ba4654ffa75 gsignal + 53
4  libc.so.6      0x00002ba4655035c0 abort + 384
5  libstdc++.so.6 0x00002ba464d93454 __gnu_debug::_Error_formatter::_M_error()
const + 356
6  llc            0x0000000000f5c178
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**,
std::__norm::vector<char*, std::allocator<char*> > >,
std::__debug::vector<char*, std::allocator<char*> > >::operator--(int) + 130
7  llc            0x0000000000f5aa87 llvm::ESNames::~ESNames() + 159
8  libc.so.6      0x00002ba465505262 exit + 226
9  libc.so.6      0x00002ba4654eac54 __libc_start_main + 260
10 llc            0x0000000000de3639

FAIL: /home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/test_indf_name.ll
Failed with signal(SIGABRT) at line 1
while running:  llvm-as <
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/test_indf_name.ll |  llc
-march=pic16 | FileCheck
/home/duncan/LLVM/llvm.top/llvm/test/CodeGen/PIC16/test_indf_name.ll
/usr/local/gcc-4.5/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../include/c++/4.5.1/debug/safe_iterator.h:252:
    error: attempt to decrement a dereferenceable (start-of-sequence)     
    iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7fff7a95d730 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcNSt6__norm6vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE
(mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `NSt7__debug6vectorIPcSaIS1_EEE' @
0x0x7fff7a95d730
}
0  llc            0x00000000018f0425
1  llc            0x00000000018f030c
2  libc.so.6      0x00002b7603375af0
3  libc.so.6      0x00002b7603375a75 gsignal + 53
4  libc.so.6      0x00002b76033795c0 abort + 384
5  libstdc++.so.6 0x00002b7602c09454 __gnu_debug::_Error_formatter::_M_error()
const + 356
6  llc            0x0000000000f5c178
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**,
std::__norm::vector<char*, std::allocator<char*> > >,
std::__debug::vector<char*, std::allocator<char*> > >::operator--(int) + 130
7  llc            0x0000000000f5aa87 llvm::ESNames::~ESNames() + 159
8  libc.so.6      0x00002b760337b262 exit + 226
9  libc.so.6      0x00002b7603360c54 __libc_start_main + 260
10 llc            0x0000000000de3639

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list