public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/47691] New: [4.6 Regression] ICE: in create_linear_expr_from_tree, at graphite-sese-to-poly.c:1138 with -fgraphite-identity -ffast-math -fno-tree-scev-cprop
@ 2011-02-10 21:31 zsojka at seznam dot cz
  2011-02-11 10:55 ` [Bug middle-end/47691] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2011-02-10 21:31 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE: in create_linear_expr_from_tree,
                    at graphite-sese-to-poly.c:1138 with
                    -fgraphite-identity -ffast-math -fno-tree-scev-cprop
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: spop@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 23306
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23306
reduced testcase (from gfortran.dg/graphite/id-12.f)

Compiler output:
$ gcc -O -fgraphite-identity -ffast-math -fno-tree-scev-cprop testcase.f        
testcase.f: In function 'MAIN__':
testcase.f:1:0: internal compiler error: in create_linear_expr_from_tree, at
graphite-sese-to-poly.c:1138
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


(gdb) bt
#0  fancy_abort (file=0x13abf38
"/mnt/svn/gcc-trunk/gcc/graphite-sese-to-poly.c", line=1138, 
    function=0x13ac9b0 "create_linear_expr_from_tree") at
/mnt/svn/gcc-trunk/gcc/diagnostic.c:892
#1  0x000000000104f51c in create_linear_expr_from_tree (pbb=0x1869490,
t=0x7ffff5b02758)
    at /mnt/svn/gcc-trunk/gcc/graphite-sese-to-poly.c:1138
#2  0x000000000104f589 in add_condition_to_domain (ps=0x186a240,
stmt=0x7ffff5b041e0, pbb=0x1869490, code=LT_EXPR)
    at /mnt/svn/gcc-trunk/gcc/graphite-sese-to-poly.c:1190
#3  0x0000000001051daf in add_condition_to_pbb (scop=0x1869090) at
/mnt/svn/gcc-trunk/gcc/graphite-sese-to-poly.c:1245
#4  add_conditions_to_domain (scop=0x1869090) at
/mnt/svn/gcc-trunk/gcc/graphite-sese-to-poly.c:1277
#5  add_conditions_to_constraints (scop=0x1869090) at
/mnt/svn/gcc-trunk/gcc/graphite-sese-to-poly.c:1300
#6  build_poly_scop (scop=0x1869090) at
/mnt/svn/gcc-trunk/gcc/graphite-sese-to-poly.c:3293
#7  0x0000000001039e05 in graphite_transform_loops () at
/mnt/svn/gcc-trunk/gcc/graphite.c:268
#8  0x0000000000a21367 in graphite_transforms () at
/mnt/svn/gcc-trunk/gcc/tree-ssa-loop.c:257
#9  0x0000000000858686 in execute_one_pass (pass=0x16bba20) at
/mnt/svn/gcc-trunk/gcc/passes.c:1561
#10 0x0000000000858985 in execute_pass_list (pass=0x16bba20) at
/mnt/svn/gcc-trunk/gcc/passes.c:1616
#11 0x0000000000858997 in execute_pass_list (pass=0x16bba80) at
/mnt/svn/gcc-trunk/gcc/passes.c:1617
#12 0x0000000000858997 in execute_pass_list (pass=0x16bbcc0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1617
#13 0x0000000000858997 in execute_pass_list (pass=0x16baf40) at
/mnt/svn/gcc-trunk/gcc/passes.c:1617
#14 0x000000000099b786 in tree_rest_of_compilation (fndecl=0x7ffff7fbdd00) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:422
#15 0x0000000000b63602 in cgraph_expand_function (node=0x7ffff5aff000) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1570
#16 0x0000000000b65d3a in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1629
#17 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1893
#18 0x0000000000b662ba in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1090
#19 0x000000000081134d in write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/langhooks.c:303
#20 0x0000000000944768 in compile_file (argc=18, argv=0x7fffffffda18) at
/mnt/svn/gcc-trunk/gcc/toplev.c:591
#21 do_compile (argc=18, argv=0x7fffffffda18) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1900
#22 toplev_main (argc=18, argv=0x7fffffffda18) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1963
#23 0x00007ffff63ccbbd in __libc_start_main () from /lib/libc.so.6
#24 0x00000000004fe919 in _start ()

Tested revisions:
r170012 - crash
4.5 r170013 - OK


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

end of thread, other threads:[~2011-07-27 16:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-10 21:31 [Bug middle-end/47691] New: [4.6 Regression] ICE: in create_linear_expr_from_tree, at graphite-sese-to-poly.c:1138 with -fgraphite-identity -ffast-math -fno-tree-scev-cprop zsojka at seznam dot cz
2011-02-11 10:55 ` [Bug middle-end/47691] " rguenth at gcc dot gnu.org
2011-02-22 10:09 ` jakub at gcc dot gnu.org
2011-02-25 23:12 ` steven at gcc dot gnu.org
2011-02-25 23:13 ` steven at gcc dot gnu.org
2011-03-12 11:03 ` steven at gcc dot gnu.org
2011-03-25 19:56 ` [Bug middle-end/47691] [4.6/4.7 " jakub at gcc dot gnu.org
2011-06-27 15:24 ` jakub at gcc dot gnu.org
2011-07-24  4:43 ` spop at gcc dot gnu.org
2011-07-27 16:53 ` spop at gcc dot gnu.org
2011-07-27 16:54 ` spop 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).