On Fri, 2017-09-15 at 12:22 +0000, Wilco Dijkstra wrote: Wilco or Prathamesh,
I could not apply this patch (cleanly) to ToT. match.pd did not apply, I think I fixed that. The cfgexpand.c patch applied but will not build. I get this error: ../../../src/gcc/gcc/cfgexpand.c: In function ‘rtx_def* expand_debug_expr(tree)’: ../../../src/gcc/gcc/cfgexpand.c:5130:18: error: cannot convert ‘opt_machine_mode {aka opt_mode<machine_mode>}’ to ‘machine_mode’ in assignment inner_mode = mode_for_size (INTVAL (op1), MODE_INT, 0); I can't quite figure out what change needs to be made to this line to make it compile. I do see that mode_for_size has been changed. I tried using int_mode_for_size but that doesn't work and I tried using '.require ()' but that didn't work either. inner_mode = int_mode_for_size (INTVAL (op1), 0); /* This did not work. */ inner_mode = mode_for_size (INTVAL (op1), MODE_INT, 0).require (); /* This did not work */ Steve Ellcey sell...@cavium.com