The compiler fails to generate lmw/stmw when compiling the attached test case.
(no_global_regs_above) never returns true.
Obvious fix with attached patch.
Note: I have no write privilege.
Compiled with:
gcc -Os -mcpu=601 -S test.c
--
Summary: flag -mmultiple is ignored
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: edmar at freescale dot com
GCC host triplet: powerpc-unknown-linux-gnu-gcc
GCC target triplet: powerpc-unknown-linux-gnu-gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40677