[Bug target/34341] GCC generates incorrect code on ARM in certain case, resulting in stack corruption

2009-12-10 Thread rearnsha at gcc dot gnu dot org
--- Comment #3 from rearnsha at gcc dot gnu dot org 2009-12-10 23:11 --- I don't see any way to turn this into a stable testcase for regression purposes. So closing as fixed. -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/34341] GCC generates incorrect code on ARM in certain case, resulting in stack corruption

2009-05-13 Thread ramana at gcc dot gnu dot org
--- Comment #1 from ramana at gcc dot gnu dot org 2009-05-13 10:52 --- I see a problem with your testcase here. r is assigned to h which has not been initialized if I uncomment the line //r=h as per your comment above. int test_func(void *p) { dummy_func(); register

[Bug target/34341] GCC generates incorrect code on ARM in certain case, resulting in stack corruption

2009-05-13 Thread awalbran at innaworks dot com
--- Comment #2 from awalbran at innaworks dot com 2009-05-13 21:27 --- Yes, I agree that the testcase does not make much sense, it is just the smallest testcase that I could find which demonstrates the bug. It is fine that the return value is undefined; the problem is that the stack