On 8 November 2014 00:32, Szikra István <steven.sp...@gmail.com> wrote:

> Unfortunately GCC support for AVR (among other things) is not always
> flawless. And it changes from versions to version (and not always for the
> better).

regression tests can help to catch instances where the compiler looses
functionality.

I'm trying to make gcc 5.0 do the right thing.  As a matter of fact, I
get a preprocessor failure and an ICE (Internal Compiler Error) there.

> Since I’m a long time AVR developer I have a lot of compiler versions
> installed (WinAVR 2006-2010, and Atmel Studio 6.2 with GCC 4.8.1), but I
> could test my code with only one (the latest).
>
> I run into some trouble with clearing port bits not translating from C into
> cbi in assembler. It is caused by my bits template, but I do not know why.
> It seems to me like a bug in GCC. Maybe someone here can shed some light on
> the reason, or suggest a fix.
>
> Here is the code:

May I include that as a test case in the gcc.target/avr testsuite?

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to