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-07-02 2:32 ` [Bug lto/44776] " howarth at nitro dot med dot uc dot edu
` (8 more replies)
0 siblings, 9 replies; 10+ 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] 10+ messages in thread
* [Bug lto/44776] 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 [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-07-02 2:32 ` howarth at nitro dot med dot uc dot edu
2010-07-02 2:34 ` howarth at nitro dot med dot uc dot edu
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-07-02 2:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from howarth at nitro dot med dot uc dot edu 2010-07-02 02:32 -------
Created an attachment (id=21057)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21057&action=view)
assembly file for gcc.dg/matrix/transpose-3.c on x86_64-apple-darwin10
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/44776] 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 [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-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
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-07-02 2:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from howarth at nitro dot med dot uc dot edu 2010-07-02 02:33 -------
Created an attachment (id=21058)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21058&action=view)
matrix-reorg file for gcc.dg/matrix/transpose-3.c on x86_64-apple-darwin10
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/44776] 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 [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-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
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-07-02 2:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from howarth at nitro dot med dot uc dot edu 2010-07-02 02:35 -------
Files generated using...
/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 --save-temps -g -O3
-fwhole-program -combine -lm -o transpose-3.x02
Using built-in
specs.COLLECT_GCC=/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc
Target: x86_64-apple-darwin10.4.0
Configured with: ../gcc-4.6-20100701/configure --prefix=/sw
--prefix=/sw/lib/gcc4.6 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.6 --enable-lto --enable-checking=release
Thread model: posix
gcc version 4.6.0 20100701 (experimental) (GCC)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/44776] 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 [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
` (2 preceding siblings ...)
2010-07-02 2:35 ` howarth at nitro dot med dot uc dot edu
@ 2010-09-17 9:08 ` rguenth at gcc dot gnu dot org
2010-09-17 14:21 ` howarth at nitro dot med dot uc dot edu
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-17 9:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 -------
-combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/44776] 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 [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
` (3 preceding siblings ...)
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
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-17 14:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from howarth at nitro dot med dot uc dot edu 2010-09-17 14:21 -------
Should we just XFAIL this on darwin then?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/44776] 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 [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
` (4 preceding siblings ...)
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
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-17 15:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-17 15:13 -------
(In reply to comment #5)
> Should we just XFAIL this on darwin then?
You mean it still fails?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/44776] 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 [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
` (5 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-09-17 15:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from dominiq at lps dot ens dot fr 2010-09-17 15:18 -------
> You mean it still fails?
Yes!-(
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/44776] 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 [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
` (6 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-17 15:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2010-09-17 15:46 -------
Reopen.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|WONTFIX |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/44776] FAIL: gcc.dg/matrix/transpose-3.c execution, -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program
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
` (7 preceding siblings ...)
2010-09-17 15:46 ` rguenth at gcc dot gnu dot org
@ 2010-09-17 15:57 ` dominiq at lps dot ens dot fr
8 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-09-17 15:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from dominiq at lps dot ens dot fr 2010-09-17 15:57 -------
Apparently the problem is that when compiled with -fipa-matrix-reorg -O[123s]
-fwhole-program in 64 bit mode, the executable gives:
...
a.out(83070) malloc: *** error for object 0x1001000c0: pointer being freed was
not allocated
*** set a breakpoint in malloc_error_break to debug
Abort
(see comment #0).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-09-17 15:57 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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-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
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).