> here is updated patch that applies changes suggested by Richard. I apologize > for the delay - the testing failed several times on gcc10.fsffrance.org for > me for out-of-memory errors (which are unrelated) and I was on the travel. > > Bootstrapped/regtested x86_64-linux, OK? > > * tree.c (verify_type): Verify that TYPE_MODE match > between TYPE_CANONICAL and type. > * expr.c (store_expr_with_bounds): Revert my previous change. > * expmed.c (store_bit_field_1): Revert prevoius change. > * gimple-expr.c (useless_type_conversion_p): Require TYPE_MODE > to match for all types.
Please add the PR middle-end/67966 reference to the ChangeLog. -- Eric Botcazou