[m-rev.] for preliminary review: bug 493 & 532 alterative fix

Peter Wang novalazy at gmail.com
Sat May 15 12:47:51 AEST 2021


On Sat, 15 May 2021 12:33:48 +1000 "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:
> 
> 2021-05-14 16:40 GMT+10:00 "Peter Wang" <novalazy at gmail.com>:
> >     diff --git a/a/stage2/compiler/hlds.make_hlds.state_var.c b/b/stage2/compiler/hlds.make_hlds.state_var.c
> >     index 4ea6cc0..65c167e 100644
> >     --- a/a/stage2/compiler/hlds.make_hlds.state_var.c
> >     +++ b/b/stage2/compiler/hlds.make_hlds.state_var.c
> >     ...
> >     @@ -1263,12 +1263,6 @@ static /* final */ const MR_Box hlds__make_hlds__state_var_scalar_common_2[6][3]
> > 	 ((MR_Box) ((MR_Unsigned) 0U)),
> > 	 ((MR_Box) ((MR_Unsigned) 0U))
> >        },
> >     -  /* row 5 */
> >     -  {
> >     -    ((MR_Box) (((MR_Box) ((MR_Integer) 1)))),
> >     -    ((MR_Box) ((MR_Unsigned) 0U)),
> >     -    ((MR_Box) ((MR_Unsigned) 0U))
> >     -  },
> >      };
> 
> What options did you use to generate the code in this diff?

% cat Mmake.stage.params
GRADE=hlc.gc
EXTRA_MCFLAGS=-O5 --intermod-opt

Peter


More information about the reviews mailing list