]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
AVR: Use "avr-peep2-after-fuse-move" for the 2nd run of peephole2.
authorGeorg-Johann Lay <avr@gjlay.de>
Sat, 22 Mar 2025 18:10:39 +0000 (19:10 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Sat, 22 Mar 2025 18:16:52 +0000 (19:16 +0100)
This patch uses a name for the dump file that makes it clear where
in the pass chain the 2nd run of peephole2 is located.

gcc/
* config/avr/avr.cc (avr_option_override): Use
"avr-peep2-after-fuse-move" as dump name instead of "peephole2".

gcc/config/avr/avr.cc

index d94df84037c6e6dabf2339a10f4c2c60b90ff1e7..b192a12671f062701a2cee5702ca2063270c44f0 100644 (file)
@@ -567,6 +567,7 @@ avr_option_override (void)
   {
     opt_pass *extra_peephole2
       = g->get_passes ()->get_pass_peephole2 ()->clone ();
+    extra_peephole2->name = "avr-peep2-after-fuse-move";
     register_pass_info peep2_2_info
       = { extra_peephole2, "avr-fuse-move", 1, PASS_POS_INSERT_AFTER };