* config/avr/avr.c (avr_function_arg_advance): Undo r179037.
authorGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 21 Sep 2011 08:27:49 +0000 (08:27 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 21 Sep 2011 08:27:49 +0000 (08:27 +0000)
From-SVN: r179038

gcc/config/avr/avr.c

index 7b11ca9519cafa66715bbea00814e5ec2a177c6d..9fee0d0512023d216bf6a965bef0acae8b15bfb4 100644 (file)
@@ -1819,7 +1819,7 @@ avr_function_arg_advance (cumulative_args_t cum_v, enum machine_mode mode,
 
       for (regno = cum->regno; regno < cum->regno + bytes; regno++)
         if (fixed_regs[regno])
-          warning (0,"Register %s is needed to pass a parameter but is fixed",
+          error ("Register %s is needed to pass a parameter but is fixed",
                  reg_names[regno]);
     }