public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [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
Date: Fri, 02 Jul 2010 02:26:00 -0000	[thread overview]
Message-ID: <bug-44776-11113@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2010-07-02  2:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02  2:26 howarth at nitro dot med dot uc dot edu [this message]
2010-07-02  2:32 ` [Bug lto/44776] " howarth at nitro dot med dot uc dot edu
2010-07-02  2:34 ` howarth at nitro dot med dot uc dot edu
2010-07-02  2:35 ` howarth at nitro dot med dot uc dot edu
2010-09-17  9:08 ` [Bug tree-optimization/44776] " rguenth at gcc dot gnu dot org
2010-09-17 14:21 ` howarth at nitro dot med dot uc dot edu
2010-09-17 15:14 ` rguenth at gcc dot gnu dot org
2010-09-17 15:18 ` dominiq at lps dot ens dot fr
2010-09-17 15:46 ` rguenth at gcc dot gnu dot org
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-44776-11113@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).