public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/44776]  New: FAIL: gcc.dg/matrix/transpose-3.c execution,    -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program -combine
@ 2010-07-02  2:26 howarth at nitro dot med dot uc dot edu
  2010-09-17 15:57 ` [Bug tree-optimization/44776] FAIL: gcc.dg/matrix/transpose-3.c execution, -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program dominiq at lps dot ens dot fr
  0 siblings, 1 reply; 9+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-07-02  2:26 UTC (permalink / raw)
  To: gcc-bugs

At r161673 on x86_64-apple-darwin10, a new failure...

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

has appeared. This manifests itself as...

Executing on host: /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100701/gcc/testsuite/gcc.dg/matrix/transpose-3.c
   -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program
-combine  -lm   -o
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/testsuite/gcc/transpose-3.x02
   (timeout = 300)
PASS: gcc.dg/matrix/transpose-3.c compilation,  -fprofile-use
-fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program -combine
Setting LD_LIBRARY_PATH to
:/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc::/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc
transpose-3.x02(43899) malloc: *** error for object 0x1001000e0: pointer being
freed was not allocated
*** set a breakpoint in malloc_error_break to debug

A backtrace shows...

(gdb) break malloc_error_break
Breakpoint 1 at 0x20c49ba5d50491
(gdb) r
Starting program: /Users/howarth/newbug3/transpose-3.x02 
Reading symbols for shared libraries ++. done
acc to dim2 acc to dim2 acc to dim2 acc to dim2 acc to dim2 acc to dim2 acc to
dim2 acc to dim2 acc to dim2 acc to dim2 acc to dim2 acc to dim2 acc to dim2
acc to dim2 acc to dim2 acc to dim2 acc to dim2 acc to dim2 acc to dim2 acc to
dim2 acc to dim2 acc to dim2 acc to dim2 acc to dim2 
[0][0][0]=0 [0][0][1]=12 
[1][0][0]=4 [1][0][1]=16 
[2][0][0]=8 [2][0][1]=20 

[0][1][0]=1 [0][1][1]=13 
[1][1][0]=5 [1][1][1]=17 
[2][1][0]=9 [2][1][1]=21 

[0][2][0]=2 [0][2][1]=14 
[1][2][0]=6 [1][2][1]=18 
[2][2][0]=10 [2][2][1]=22 

[0][3][0]=3 [0][3][1]=15 
[1][3][0]=7 [1][3][1]=19 
[2][3][0]=11 [2][3][1]=23 

transpose-3.x02(21931) malloc: *** error for object 0x1001000e0: pointer being
freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Breakpoint 1, 0x00007fff83f64491 in malloc_error_break ()
(gdb) bt
#0  0x00007fff83f64491 in malloc_error_break ()
#1  0x00007fff83e8e603 in free ()
#2  0x0000000100001e8d in main (argc=<value temporarily unavailable, due to
optimizations>, argv=<value temporarily unavailable, due to optimizations>) at
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100701/gcc/testsuite/gcc.dg/matrix/transpose-3.c:45

so apparently the crash occurs in...


  for (i = 0; i < 2; i++)
    for (j = 0; j < 3; j++)
      if (i==1 && j==1)
        continue;
      else
        free (vel[i][j]);


-- 
           Summary: FAIL: gcc.dg/matrix/transpose-3.c execution,    -
                    fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg
                    -O3 -fwhole-program -combine
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10


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


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

end of thread, other threads:[~2012-12-12 15:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-44776-4@http.gcc.gnu.org/bugzilla/>
2010-10-18 17:06 ` [Bug tree-optimization/44776] FAIL: gcc.dg/matrix/transpose-3.c execution, -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program davek at gcc dot gnu.org
2010-10-19 23:01 ` zsojka at seznam dot cz
2010-12-20 18:00 ` zsojka at seznam dot cz
2010-12-20 18:02 ` zsojka at seznam dot cz
2012-01-28 11:33 ` dominiq at lps dot ens.fr
2012-02-08  7:15 ` gary at intrepid dot com
2012-02-08  7:24 ` gary at intrepid dot com
2012-12-12 15:57 ` howarth at nitro dot med.uc.edu
2010-07-02  2:26 [Bug lto/44776] New: FAIL: gcc.dg/matrix/transpose-3.c execution, -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program -combine howarth at nitro dot med dot uc dot edu
2010-09-17 15:57 ` [Bug tree-optimization/44776] FAIL: gcc.dg/matrix/transpose-3.c execution, -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program dominiq at lps dot ens dot fr

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