aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2025-03-22 19:10:39 +0100
committerGeorg-Johann Lay <avr@gjlay.de>2025-03-22 19:16:52 +0100
commita54bd1c8995ad9dab27b09feb4bdbeba169d5419 (patch)
treeff85166fb743b83e11ec42a447303e5dc878957c
parent45d54c70ec54af889053888897626f6912c512ab (diff)
downloadgcc-a54bd1c8995ad9dab27b09feb4bdbeba169d5419.zip
gcc-a54bd1c8995ad9dab27b09feb4bdbeba169d5419.tar.gz
gcc-a54bd1c8995ad9dab27b09feb4bdbeba169d5419.tar.bz2
AVR: Use "avr-peep2-after-fuse-move" for the 2nd run of peephole2.
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".
-rw-r--r--gcc/config/avr/avr.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/avr/avr.cc b/gcc/config/avr/avr.cc
index d94df84..b192a12 100644
--- a/gcc/config/avr/avr.cc
+++ b/gcc/config/avr/avr.cc
@@ -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 };