http://gcc.gnu.org/ml/gcc-patches/2011-12/msg00474.html
Georg-Johann Lay wrote: > In principle, test case pr45830.c works for target avr, but there is an issue > with the -ftree-switch-conversion optimization activated at higher > optimization > levels: It transforms code size into .data usage and thus exceeds AVRs' RAM > size because of big CSWTCH lookup tables located in RAM. > > The patch moves the test case from gcc.c-torture/execute/ to more modern > gcc.dg/torture and adds magic dg-comments as needed. Patch lightly tested > with > my avr-tools. > > Ok for trunk? > > Johann > > PR tree-optimization/45830 > * gcc.c-torture/execute/pr45830.c: Move file from here to... > * gcc.dg/torture/pr45830.c: ...here. Add dg-do and > dg-additional-options magic. >