This is the mail archive of the 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]

Compilation at -O3 Still Broken


    The -O3 compilation failure that I had reported
earlier, continues to persist in mainline. In particular,
it causes "libjava/testsuite/libjava.compile/"
to cause an ICE when compiled at -O3.

Whatever causes this was checked in on the 25th or
26th of May. Please fix this if you can identify it
as being caused due to your changes.

The following is the backtrace at the time of the ICE:
------------------------------ 8< ------------------------------
(gdb) r
Starting program: /home/ranmath/src/gcc/build/gcc/jc1 -fhash-synchro
nization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fno-om
it-frame-pointer -fkeep-inline-functions -quiet -dumpbase -mtune=pen
tiumpro -auxbase PR4766 -O3 -o /tmp/ccJldY3y.s

Program received signal SIGSEGV, Segmentation fault.
unchecked_make_edge (src=0xb73a2740, dst=0x0, flags=-1221045568)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/cfg.c:284
284       e->pred_next = dst->pred;
(gdb) bt
#0  unchecked_make_edge (src=0xb73a2740, dst=0x0, flags=-1221045568)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/cfg.c:284
#1  0x080ed100 in cached_make_edge (edge_cache=0x0, src=0xb73a2740, dst=0x0,
    flags=10) at /home/ranmath/src/gcc/gcc-20040531/gcc/cfg.c:332
#2  0x080ed177 in make_edge (src=0xb73852ec, dest=0xb73852ec,
    flags=-1221045524) at /home/ranmath/src/gcc/gcc-20040531/gcc/cfg.c:346
#3  0x0809ac20 in make_eh_edge (region=0xb73852ec, data=0xb73852ec)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/tree-eh.c:1646
#4  0x0813309f in add_reachable_handler (info=0xbfffb890, lp_region=Variable "lp
_region" is not available.
    at /home/ranmath/src/gcc/gcc-20040531/gcc/except.c:2827
#5  0x081330dc in reachable_next_level (region=0xb739f5c0, type_thrown=0x0,
    info=0xbfffb890) at /home/ranmath/src/gcc/gcc-20040531/gcc/except.c:2964
#6  0x0813332b in foreach_reachable_handler (region_number=2, is_resx=false,
    callback=0xb73852ec, callback_data=0xb73852ec)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/except.c:3028
#7  0x0809ac6c in make_eh_edges (stmt=0xb73aa084)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/tree-eh.c:1668
#8  0x08097b2d in execute_build_cfg ()
    at /home/ranmath/src/gcc/gcc-20040531/gcc/tree-cfg.c:559
#9  0x0809e9c9 in execute_pass_list (pass=0x8408280)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/tree-optimize.c:406
#10 0x0809ea30 in execute_pass_list (pass=0x8408480)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/tree-optimize.c:436
---Type <return> to continue, or q <return> to quit---
#11 0x0809ecb6 in tree_rest_of_compilation (fndecl=0xb7429000, nested_p=false)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/tree-optimize.c:530
#12 0x080724e7 in java_expand_body (fndecl=0xb73852ec)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/java/decl.c:1846
#13 0x083114e5 in cgraph_expand_function (node=0xb73ab5e4)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/cgraphunit.c:794
#14 0x08311eaf in cgraph_optimize ()
    at /home/ranmath/src/gcc/gcc-20040531/gcc/cgraphunit.c:1668
#15 0x080854ad in java_parse_file (set_yydebug=0)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/java/jcf-parse.c:1123
#16 0x082d4765 in toplev_main (argc=3073921772, argv=0xbfffbde4)
    at /home/ranmath/src/gcc/gcc-20040531/gcc/toplev.c:1653
#17 0xb74b1768 in __libc_start_main () from /lib/tls/
#18 0x08049aa1 in _start ()
------------------------------ 8< ------------------------------


Ranjit Mathew          Email: rmathew AT gmail DOT com

Bangalore, INDIA.      Web:

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