builtins-error.c test fails for avr

"Sivanupandi, Pitchumani" <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <CAC140656783604CABA6AE60C2A6D5A4A22BB4E7@penmbx01>
Hi,

Test gcc.target/avr/torture/builtins-error.c is failed in gcc-4.9 and trunk for -Os -flto options.
This test expects error for compile time constant. Option flto delays the builtin expand 
(to link time??) and there is no error. Can this test be skipped for above option?

If -ffat-lto-objects option used then avr-gcc gives the error.

Regards,
Pitchumani
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.