[Bug target/32577] [SH] static inline attribute causes stack overflow

2007-07-22 Thread saito at densan dot co dot jp
--- Comment #2 from saito at densan dot co dot jp 2007-07-23 01:23 --- How about following testcase. I list the value which moves current sp as to some architectures. In the following case, listed value is 24. > add #-24,r15 <-- stack grows down With the result that o

[Bug target/32577] [SH] static inline attribute causes stack overflow

2007-07-02 Thread kkojima at gcc dot gnu dot org
--- Comment #1 from kkojima at gcc dot gnu dot org 2007-07-02 14:21 --- I don't think that this is a bug. Without optimization, all intermediate variables can be allocated on stack. It's the case even on other architectures. The test case #2 is compiled to pushl %ebp