This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ping #1: [testsuite]: Move pr45830.c to gcc.dg/torture and make it pass for AVR


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.
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]