public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/32146]  New: Bad matrix layout transformations
@ 2007-05-29 21:28 hjl at lucon dot org
  2007-05-29 21:29 ` [Bug tree-optimization/32146] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2007-05-29 21:28 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug tree-optimization/32146] Bad matrix layout transformations
  2007-05-29 21:28 [Bug tree-optimization/32146] New: Bad matrix layout transformations hjl at lucon dot org
@ 2007-05-29 21:29 ` pinskia at gcc dot gnu dot org
  2007-05-30  9:38 ` razya at il dot ibm dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-29 21:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-05-29 21:29 -------
I get the same failure on powerpc64-linux-gnu.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|x86_64-unknown-linux-gnu    |x86_64-unknown-linux-gnu,
                   |                            |powerpc64-linux-gnu


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


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

* [Bug tree-optimization/32146] Bad matrix layout transformations
  2007-05-29 21:28 [Bug tree-optimization/32146] New: Bad matrix layout transformations hjl at lucon dot org
  2007-05-29 21:29 ` [Bug tree-optimization/32146] " pinskia at gcc dot gnu dot org
@ 2007-05-30  9:38 ` razya at il dot ibm dot com
  2007-05-31 12:57 ` razya at il dot ibm dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: razya at il dot ibm dot com @ 2007-05-30  9:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from razya at il dot ibm dot com  2007-05-30 09:38 -------
(In reply to comment #1)
> I get the same failure on powerpc64-linux-gnu.

I recreated it too, working on it. Thanks


-- 


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


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

* [Bug tree-optimization/32146] Bad matrix layout transformations
  2007-05-29 21:28 [Bug tree-optimization/32146] New: Bad matrix layout transformations hjl at lucon dot org
  2007-05-29 21:29 ` [Bug tree-optimization/32146] " pinskia at gcc dot gnu dot org
  2007-05-30  9:38 ` razya at il dot ibm dot com
@ 2007-05-31 12:57 ` razya at il dot ibm dot com
  2007-06-06  6:44 ` razya at il dot ibm dot com
  2007-06-11 21:57 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: razya at il dot ibm dot com @ 2007-05-31 12:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from razya at il dot ibm dot com  2007-05-31 12:57 -------
(In reply to comment #2)
> (In reply to comment #1)
> > I get the same failure on powerpc64-linux-gnu.
> I recreated it too, working on it. Thanks

Here's a patch that fixes the problems:
 http://gcc.gnu.org/ml/gcc-patches/2007-05/msg02141.html


-- 


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


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

* [Bug tree-optimization/32146] Bad matrix layout transformations
  2007-05-29 21:28 [Bug tree-optimization/32146] New: Bad matrix layout transformations hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2007-05-31 12:57 ` razya at il dot ibm dot com
@ 2007-06-06  6:44 ` razya at il dot ibm dot com
  2007-06-11 21:57 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: razya at il dot ibm dot com @ 2007-06-06  6:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from razya at il dot ibm dot com  2007-06-06 06:44 -------
(In reply to comment #1)
> I get the same failure on powerpc64-linux-gnu.

I committed the patch yesterday. 
ok to close the PR?


-- 


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


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

* [Bug tree-optimization/32146] Bad matrix layout transformations
  2007-05-29 21:28 [Bug tree-optimization/32146] New: Bad matrix layout transformations hjl at lucon dot org
                   ` (3 preceding siblings ...)
  2007-06-06  6:44 ` razya at il dot ibm dot com
@ 2007-06-11 21:57 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-11 21:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-06-11 21:57 -------
Yes this is fixed now, thanks.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2007-06-11 21:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-29 21:28 [Bug tree-optimization/32146] New: Bad matrix layout transformations hjl at lucon dot org
2007-05-29 21:29 ` [Bug tree-optimization/32146] " pinskia at gcc dot gnu dot org
2007-05-30  9:38 ` razya at il dot ibm dot com
2007-05-31 12:57 ` razya at il dot ibm dot com
2007-06-06  6:44 ` razya at il dot ibm dot com
2007-06-11 21:57 ` pinskia at gcc dot gnu dot org

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).