From: Philipp K. K. <pk...@sp...> - 2012-06-26 16:18:29
|
Am 26.06.2012 18:12, schrieb Leland Morrison: >> Is there a reason you decided to transform the assignment to a function >> call in SDCCicode rather than in SDCCopt? > I tried doing a version in SDCCopt.c and it seems to get confused by the > register allocator and/or optimizer. I think it is a good idea to do this transformation early, as implemented by Lee for now, since AFAIK none of the further stages are prepared to handle struct/union assignments. It always can be changed later after taking a closer look, if this would enable any useful optimizations. Philipp |