http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621
--- Comment #17 from chrbr at gcc dot gnu.org 2012-06-13 08:22:50 UTC --- (In reply to comment #16) > > +/* { dg-options "-fstack-usage -fomit-frame-pointer" { target { sh-*-* } } > > } > */ > > Looks OK. Pre-approved. thanks. by the way I just checked that the default harness compiles stack-usage-1.c without optimization level, so this test is not dependent on the optimization level as I said, sorry for having induced this. so your proposal to change > #elif defined (__sh__) > # define SIZE 252 was good as well. nevertheless I think that forcing -fomit-frame-pointer is still good. but if you want to come back on this no problem. thanks,