[PATCH] More last_stmt removal

2023-05-03 Thread Richard Biener via Gcc-patches
This is the last set of changes removing calls to last_stmt in favor of *gsi_last_bb where this is obviously correct. As with the last changes I tried to cleanup the code as far as dependences are concerned. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. * tree-ssa-loop-spl

[PATCH] More last_stmt removal

2023-04-25 Thread Richard Biener via Gcc-patches
This adjusts more users of last_stmt where it is clear that debug stmt skipping is unnecessary. In most cases this also allowed significant code simplification. Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. gcc/c/ * gimple-parser.cc (c_parser_parse_gimp