This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/32146] New: Bad matrix layout transformations


I got

/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/
/export/gnu/src/gcc-dfp/gcc/gcc/testsuite/gcc.dg/matrix/matrix-6.c   -O3
-fipa-matrix-reorg -fdump-ipa-matrix-reorg -fwhole-program -combine
-fno-show-column -S  -o matrix-6.s    (timeout = 300)
/export/gnu/src/gcc-dfp/gcc/gcc/testsuite/gcc.dg/matrix/matrix-6.c: In function
'mem_init':^M
/export/gnu/src/gcc-dfp/gcc/gcc/testsuite/gcc.dg/matrix/matrix-6.c:92: warning:
cast to pointer from integer of different size^M 
output is:
/export/gnu/src/gcc-dfp/gcc/gcc/testsuite/gcc.dg/matrix/matrix-6.c: In function
'mem_init':^M
/export/gnu/src/gcc-dfp/gcc/gcc/testsuite/gcc.dg/matrix/matrix-6.c:92: warning:
cast to pointer from integer of different size^M 

FAIL: gcc.dg/matrix/matrix-6.c (test for excess errors)
Excess errors:
/export/gnu/src/gcc-dfp/gcc/gcc/testsuite/gcc.dg/matrix/matrix-6.c:92: warning:
cast to pointer from integer of different size

*** glibc detected ***
/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/testsuite/gcc/transpose-1.x02:
free(): invalid next size (normal): 0x0000000000601010 ***
======= Backtrace: =========
/lib64/libc.so.6[0x335a26ea30]
/lib64/libc.so.6(cfree+0x8c)[0x335a27214c]
/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/testsuite/gcc/transpose-1.x02[0x400a54]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x335a21da44]
/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/testsuite/gcc/transpose-1.x02[0x400699]
======= Memory map: ========
00400000-00401000 r-xp 00000000 08:11 17762580                          
/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/testsuite/gcc/transpose-1.x02
00600000-00601000 rw-p 00000000 08:11 17762580                          
/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/testsuite/gcc/transpose-1.x02
00601000-00622000 rw-p 00601000 00:00 0                                  [heap]
3359e00000-3359e1a000 r-xp 00000000 08:06 13880069                      
/lib64/ld-2.5.so
335a019000-335a01a000 r--p 00019000 08:06 13880069                      
/lib64/ld-2.5.so
335a01a000-335a01b000 rw-p 0001a000 08:06 13880069                      
/lib64/ld-2.5.so
335a200000-335a344000 r-xp 00000000 08:06 13880090                      
/lib64/libc-2.5.so
335a344000-335a544000 ---p 00144000 08:06 13880090                      
/lib64/libc-2.5.so
335a544000-335a548000 r--p 00144000 08:06 13880090                      
/lib64/libc-2.5.so
335a548000-335a549000 rw-p 00148000 08:06 13880090                      
/lib64/libc-2.5.so
335a549000-335a54e000 rw-p 335a549000 00:00 0 
335a600000-335a682000 r-xp 00000000 08:06 13880345                      
/lib64/libm-2.5.so
335a682000-335a881000 ---p 00082000 08:06 13880345                      
/lib64/libm-2.5.so
335a881000-335a882000 r--p 00081000 08:06 13880345                      
/lib64/libm-2.5.so
335a882000-335a883000 rw-p 00082000 08:06 13880345                      
/lib64/libm-2.5.so
2aaaaaaab000-2aaaaaaae000 rw-p 2aaaaaaab000 00:00 0 
2aaaaaac6000-2aaaaaac8000 rw-p 2aaaaaac6000 00:00 0 
2aaaaaac8000-2aaaaaadb000 r-xp 00000000 08:11 17729566                  
/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/libgcc_s.so.1
2aaaaaadb000-2aaaaacda000 ---p 00013000 08:11 17729566                  
/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/libgcc_s.so.1
2aaaaacda000-2aaaaacdb000 rw-p 00012000 08:11 17729566                  
/export/build/gnu/gcc-dfp/build-x86_64-linux/gcc/libgcc_s.so.1
2aaaac000000-2aaaac021000 rw-p 2aaaac000000 00:00 0 
2aaaac021000-2aaab0000000 ---p 2aaaac021000 00:00 0 
7fffc2229000-7fffc2241000 rw-p 7fffc2229000 00:00 0                     
[stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vdso]

FAIL: gcc.dg/matrix/transpose-1.c execution,    -fprofile-use
-fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program -combine


-- 
           Summary: Bad matrix layout transformations
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
GCC target triplet: x86_64-unknown-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]