This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/28772] New: Infinite loop in scheduler


The scheduler apparently infloops on the attached test case when compiling with
-O2.

#0  internal_state_transition (insn_code=114, chip=0x600000000019ed70)
    at ../../gcc/config/ia64/itanium2.md:125927
#1  0x40000000006e81d0 in schedule_block (b=<value optimized out>, 
    rgn_n_insns=20657) at ../../gcc/haifa-sched.c:1758
#2  0x40000000007928c0 in schedule_region (rgn=0) at ../../gcc/sched-rgn.c:2394
#3  0x4000000000796f40 in schedule_insns (dump_file=<value optimized out>)
    at ../../gcc/sched-rgn.c:2543
#4  0x400000000059ca00 in execute_one_pass (pass=0x60000000000410e8)
    at ../../gcc/passes.c:827
#5  0x400000000059cd00 in execute_pass_list (pass=0x60000000000410e8)
    at ../../gcc/passes.c:859
#6  0x400000000059cd40 in execute_pass_list (pass=0x600000000003fab8)
    at ../../gcc/passes.c:860
#7  0x40000000000feb60 in tree_rest_of_compilation (fndecl=0x2000000000457a00)
    at ../../gcc/tree-optimize.c:419
#8  0x400000000001ca40 in c_expand_body (fndecl=0x2000000000457a00)
    at ../../gcc/c-decl.c:6690
#9  0x400000000060e3d0 in cgraph_expand_function (node=0x200000000045d1e0)
    at ../../gcc/cgraphunit.c:1058
#10 0x4000000000610e80 in cgraph_optimize () at ../../gcc/cgraphunit.c:1124
#11 0x400000000002cb10 in c_write_global_declarations ()
    at ../../gcc/c-decl.c:7698
#12 0x400000000054b850 in toplev_main (argc=<value optimized out>, 
    argv=<value optimized out>) at ../../gcc/toplev.c:1004
#13 0x40000000000d6fd0 in main (argc=4, argv=0x607ffffffeaf2738)
    at ../../gcc/main.c:35


-- 
           Summary: Infinite loop in scheduler
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: compile-time-hog
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
GCC target triplet: ia64-*-*


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]