public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/54886] New: [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219
@ 2012-10-10 12:13 dominiq at lps dot ens.fr
  2012-10-10 12:21 ` [Bug tree-optimization/54886] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-10-10 12:13 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54886
           Summary: [4.8 Regression] FAIL:
                    gcc.dg/graphite/pr(42521|42771).c (internal compiler
                    error) due to revision 192219
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: hubicka@gcc.gnu.org


After revision 192219, I get

FAIL: gcc.dg/graphite/pr42521.c (internal compiler error)
FAIL: gcc.dg/graphite/pr42521.c (test for excess errors)
FAIL: gcc.dg/graphite/pr42771.c (internal compiler error)
FAIL: gcc.dg/graphite/pr42771.c (test for excess errors)

and it is still present at revision 192288. The backtrace for
gcc.dg/graphite/pr42521.c is

 foo
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <*free_inline_summary>
<emutls> <whole-program> <profile_estimate> <cp> <inline> <pure-const>
<static-var>Assembling functions:
 fooisl_ctx.c:158: isl_ctx freed, but some objects still reference it

Program received signal SIGABRT, Aborted.
0x00007fff829930b6 in __kill () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0  0x00007fff829930b6 in __kill () from /usr/lib/libSystem.B.dylib
#1  0x00007fff82a339f6 in abort () from /usr/lib/libSystem.B.dylib
#2  0x0000000141487f10 in isl_ctx_free () from /opt/mp/lib/libisl.10.dylib
#3  0x00000001004d5d1f in graphite_transform_loops () at
../../work/gcc/graphite.c:299
#4  0x00000001007e545a in graphite_transforms () at
../../work/gcc/tree-ssa-loop.c:252
#5  0x00000001005efd41 in execute_one_pass (pass=<value optimized out>) at
../../work/gcc/passes.c:2320
#6  0x00000001005f01bd in execute_pass_list (pass=<value optimized out>) at
../../work/gcc/passes.c:2381
#7  0x00000001005f01cf in execute_pass_list (pass=<value optimized out>) at
../../work/gcc/passes.c:2382
#8  0x00000001005f01cf in execute_pass_list (pass=<value optimized out>) at
../../work/gcc/passes.c:2382
#9  0x00000001005f01cf in execute_pass_list (pass=<value optimized out>) at
../../work/gcc/passes.c:2382
#10 0x000000010030a50b in expand_function (node=<value optimized out>) at
../../work/gcc/cgraphunit.c:1601
#11 0x000000010030c50a in compile () at ../../work/gcc/cgraphunit.c:1705
#12 0x000000010030ccbf in finalize_compilation_unit () at
../../work/gcc/cgraphunit.c:2080
#13 0x0000000100025813 in c_write_global_declarations () at
../../work/gcc/c/c-decl.c:10118
#14 0x00000001006abe21 in compile_file () at ../../work/gcc/toplev.c:560
#15 0x00000001006adc5c in toplev_main (argc=<value optimized out>, argv=<value
optimized out>) at ../../work/gcc/toplev.c:1866
#16 0x0000000100009cc4 in start (pc=<value optimized out>, bases=0x0) at
../../../work/libgcc/unwind-dw2-fde.c:1055


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

* [Bug tree-optimization/54886] [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219
  2012-10-10 12:13 [Bug tree-optimization/54886] New: [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219 dominiq at lps dot ens.fr
@ 2012-10-10 12:21 ` rguenth at gcc dot gnu.org
  2012-10-12 18:23 ` dominiq at lps dot ens.fr
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-10 12:21 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-10-10
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-10 12:21:03 UTC ---
Confirmed.  I am also seeing these ICEs.


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

* [Bug tree-optimization/54886] [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219
  2012-10-10 12:13 [Bug tree-optimization/54886] New: [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219 dominiq at lps dot ens.fr
  2012-10-10 12:21 ` [Bug tree-optimization/54886] " rguenth at gcc dot gnu.org
@ 2012-10-12 18:23 ` dominiq at lps dot ens.fr
  2012-10-12 20:04 ` howarth at nitro dot med.uc.edu
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-10-12 18:23 UTC (permalink / raw)
  To: gcc-bugs


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth at nitro dot
                   |                            |med.uc.edu

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-10-12 18:22:44 UTC ---
*** Bug 54914 has been marked as a duplicate of this bug. ***


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

* [Bug tree-optimization/54886] [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219
  2012-10-10 12:13 [Bug tree-optimization/54886] New: [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219 dominiq at lps dot ens.fr
  2012-10-10 12:21 ` [Bug tree-optimization/54886] " rguenth at gcc dot gnu.org
  2012-10-12 18:23 ` dominiq at lps dot ens.fr
@ 2012-10-12 20:04 ` howarth at nitro dot med.uc.edu
  2012-10-12 20:11 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-10-12 20:04 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-12 20:04:05 UTC ---
Is r192219 the exact commit causing this regression?


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

* [Bug tree-optimization/54886] [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219
  2012-10-10 12:13 [Bug tree-optimization/54886] New: [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219 dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2012-10-12 20:04 ` howarth at nitro dot med.uc.edu
@ 2012-10-12 20:11 ` dominiq at lps dot ens.fr
  2012-12-07 12:02 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-10-12 20:11 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-10-12 20:11:26 UTC ---
> Is r192219 the exact commit causing this regression?

r192218 is OK, r192219 is not. As usual, this does not rule out that r192219
only exposes a latent bug.


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

* [Bug tree-optimization/54886] [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219
  2012-10-10 12:13 [Bug tree-optimization/54886] New: [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219 dominiq at lps dot ens.fr
                   ` (3 preceding siblings ...)
  2012-10-12 20:11 ` dominiq at lps dot ens.fr
@ 2012-12-07 12:02 ` rguenth at gcc dot gnu.org
  2012-12-07 13:16 ` rguenth at gcc dot gnu.org
  2012-12-07 13:17 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-07 12:02 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-07 12:01:45 UTC ---
 fooisl_ctx.c:158: isl_ctx freed, but some objects still reference it

this probably means some other data structure leaks:

==6257== 23,443 (48 direct, 23,395 indirect) bytes in 1 blocks are definitely
lo
st in loss record 778 of 781
==6257==    at 0x4C2B14B: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd6
4-linux.so)
==6257==    by 0x509087D: isl_pw_aff_alloc_size (in
/usr/lib64/libisl.so.10.0.0)
==6257==    by 0x5090D3E: ??? (in /usr/lib64/libisl.so.10.0.0)
==6257==    by 0x10651E9: wrap(isl_pw_aff*, unsigned int)
(graphite-sese-to-poly
.c:721)
==6257==    by 0x106572B: extract_affine(scop*, tree_node*, isl_space*)
(graphite-sese-to-poly.c:833)
==6257==    by 0x1065E22: build_loop_iteration_domains(scop*, loop*, int,
isl_set*, isl_set**) (graphite-sese-to-poly.c:1018)
==6257==    by 0x1066D69: build_scop_iteration_domain(scop*)
(graphite-sese-to-poly.c:1411)
==6257==    by 0x106B641: build_poly_scop(scop*) (graphite-sese-to-poly.c:3193)
==6257==    by 0x10526F3: graphite_transform_loops() (graphite.c:287)
==6257==    by 0xBEFE74: graphite_transforms() (tree-ssa-loop.c:258)
==6257==    by 0x9C3EBE: execute_one_pass(opt_pass*) (passes.c:2335)
==6257==    by 0x9C40B2: execute_pass_list(opt_pass*) (passes.c:2383)

and some more.  I have a patch for the testcases at least.


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

* [Bug tree-optimization/54886] [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219
  2012-10-10 12:13 [Bug tree-optimization/54886] New: [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219 dominiq at lps dot ens.fr
                   ` (4 preceding siblings ...)
  2012-12-07 12:02 ` rguenth at gcc dot gnu.org
@ 2012-12-07 13:16 ` rguenth at gcc dot gnu.org
  2012-12-07 13:17 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-07 13:16 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-07 13:16:35 UTC ---
Author: rguenth
Date: Fri Dec  7 13:16:28 2012
New Revision: 194302

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194302
Log:
2012-12-07  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/54886
    * graphite-sese-to-poly.c (build_loop_iteration_domains): Properly
    free all memory.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-sese-to-poly.c


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

* [Bug tree-optimization/54886] [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219
  2012-10-10 12:13 [Bug tree-optimization/54886] New: [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219 dominiq at lps dot ens.fr
                   ` (5 preceding siblings ...)
  2012-12-07 13:16 ` rguenth at gcc dot gnu.org
@ 2012-12-07 13:17 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-07 13:17 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-07 13:16:54 UTC ---
Fixed.


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

end of thread, other threads:[~2012-12-07 13:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-10 12:13 [Bug tree-optimization/54886] New: [4.8 Regression] FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219 dominiq at lps dot ens.fr
2012-10-10 12:21 ` [Bug tree-optimization/54886] " rguenth at gcc dot gnu.org
2012-10-12 18:23 ` dominiq at lps dot ens.fr
2012-10-12 20:04 ` howarth at nitro dot med.uc.edu
2012-10-12 20:11 ` dominiq at lps dot ens.fr
2012-12-07 12:02 ` rguenth at gcc dot gnu.org
2012-12-07 13:16 ` rguenth at gcc dot gnu.org
2012-12-07 13:17 ` rguenth at gcc dot gnu.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).