[M3devel] optimizer vs. SOLgnu?

Jay jay.krell at cornell.edu
Sun May 17 15:35:00 CEST 2009


a little more info:
 

dbx /dev2/cm3/m3-sys/m3cc/SOLgnu/gcc/m3cgc1 
stop in fancy_abort
run -quiet -O2 -fno-reorder-blocks RTCollector.mc -o RTCollector.ms
where
 
 
=>[1] fancy_abort(file = 0x813b28 "../../gcc/gcc/tree-flow-inline.h", line = 1591, function = 0x813b
88 "lookup_subvars_for_var"), line 660 in "diagnostic.c"
  [2] lookup_subvars_for_var(var = 0xfed10a90), line 1591 in "tree-flow-inline.h"
  [3] get_subvars_for_var(var = 0xfed10a90), line 1608 in "tree-flow-inline.h"
  [4] create_structure_vars(), line 4165 in "tree-ssa-alias.c"
  [5] execute_one_pass(pass = 0x860400), line 1122 in "passes.c"
  [6] execute_pass_list(pass = 0x860400), line 1175 in "passes.c"
  [7] execute_pass_list(pass = 0x86016c), line 1176 in "passes.c"
  [8] tree_rest_of_compilation(fndecl = 0xfefbbc00), line 404 in "tree-optimize.c"
  [9] cgraph_expand_function(node = 0xff149a48), line 1157 in "cgraphunit.c"
  [10] cgraph_expand_all_functions(), line 1220 in "cgraphunit.c"
  [11] cgraph_optimize(), line 1427 in "cgraphunit.c"
  [12] m3_parse_file(xx = 0), line 5241 in "parse.c"
  [13] compile_file(), line 1042 in "toplev.c"
  [14] do_compile(), line 2247 in "toplev.c"
  [15] toplev_main(argc = 7U, argv = 0xffbffbdc), line 2279 in "toplev.c"
  [16] main(argc = 7, argv = 0xffbffbdc), line 35 in "main.c"
(dbx)



 - Jay


----------------------------------------
> From: jay.krell at cornell.edu
> To: hosking at cs.purdue.edu; m3devel at elegosoft.com
> Date: Sun, 17 May 2009 13:17:42 +0000
> Subject: [M3devel] optimizer vs. SOLgnu?
>
>
> Tony can you try building a cross compiler for SOLgnu and see how that fairs with -O2 or -O3? I get:
>
>
> new source -> compiling RTCollector.m3
> ../src/runtime/common/RTCollector.m3: In function 'RTHeapRep__RegisterFinalCleanup':
> ../src/runtime/common/RTCollector.m3:2167: internal compiler error: in lookup_subvars_for_var, at tr
> ee-flow-inline.h:1591
>
>
> also with -O2 (probably had it in -O3 also)
> ../src/runtime/common/RTAllocator.m3: In function 'RTAllocCnts__BumpSize':
> ../src/runtime/common/RTAllocator.m3:361: internal compiler error: in lookup_subvars_for_var, at tre
> e-flow-inline.h:1591
>
>
> ../src/float/Common/DragonInt.m3: In function 'DragonInt__EndSession':
> ../src/float/Common/DragonInt.m3:90: internal compiler error: in lookup_subvars_for_var, at tree-flo
> w-inline.h:1591
>
> and lots of success on other source.
>
>
> I am seeing success so far on AMD64_LINUX and LINUXLIBC6.
>
>
> - Jay


More information about the M3devel mailing list