This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Ping #1: [testsuite]: Move pr45830.c to gcc.dg/torture and make it pass for AVR
- From: Georg-Johann Lay <avr at gjlay dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Mike Stump <mikestump at comcast dot net>, Denis Chertykov <chertykov at gmail dot com>
- Date: Mon, 12 Dec 2011 19:54:25 +0100
- Subject: Ping #1: [testsuite]: Move pr45830.c to gcc.dg/torture and make it pass for AVR
- References: <4EDF553A.5040404@gjlay.de>
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.
>