a523b50096
Fix support for AT90USB82/162, move them into "avr35" architecture. Add support for the OS_main and OS_task attributes. Integrate some more bugfixes from the WinAVR patch list.
14 lines
409 B
Text
14 lines
409 B
Text
Fix for GCC bug #30243.
|
|
Index: gcc/builtins.c
|
|
===================================================================
|
|
--- gcc/builtins.c (revision 126457)
|
|
+++ gcc/builtins.c (working copy)
|
|
@@ -5664,7 +5664,7 @@
|
|
lo = 0;
|
|
}
|
|
|
|
- if (imode != rmode)
|
|
+ if (imode > rmode)
|
|
temp = gen_lowpart (rmode, temp);
|
|
temp = expand_binop (rmode, and_optab, temp,
|
|
immed_double_const (lo, hi, rmode),
|