Re: [avr-gcc-list] Most reliable version of avr-gcc?

2008-12-19 Thread John Regehr

You might find Table 1 of our recent paper interesting.  The paper's here:

http://www.cs.utah.edu/~regehr/papers/emsoft08-preprint.pdf

There are three lines that show empirical failure rates for avr-gcc 3.4.3, 
4.1.2, and 4.2.2, in terms of volatile errors and regular old 
miscompilations.


It is interesting that the functional error rate for avr-gcc is 
significantly higher than x86-gcc.  My guess is that the miscompilations 
that we are seeing are the known problems in the avr backend that are 
sometimes discussed on this list (last discussed in the context of the new 
integrated register allocator, I think).


John Regehr




On Wed, 17 Dec 2008, David Carr wrote:

By reliability, I mean least probability of undetected errors in machine code 
generation.  IE: The machine code conforms to the source code.


Thanks,
-DC

Weddington, Eric wrote:




-Original Message-
From: avr-gcc-list-bounces+eweddington=cso.atmel@nongnu.org 
[mailto:avr-gcc-list-bounces+eweddington=cso.atmel@nongnu.

org] On Behalf Of David Carr
Sent: Wednesday, December 17, 2008 2:34 PM
To: avr-gcc-list@nongnu.org
Subject: [avr-gcc-list] Most reliable version of avr-gcc?

If one were to compile a program for the AVR where reliability was far
more important than code size or performance optimizations, what version
of avr-gcc would you choose?




What do you mean by 'reliability'?





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




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


Re: [avr-gcc-list] Most reliable version of avr-gcc?

2008-12-18 Thread Anton Erasmus
On 17 Dec 2008 at 15:34, David Carr wrote:

 If one were to compile a program for the AVR where reliability was far
 more important than code size or performance optimizations, what version
 of avr-gcc would you choose?
 

You should use more than one version. You would also need test cases so that you
can check that your code produces the required result using ALL the versions
that you have used to compile the code.

Regards
  Anton Erasmus
-- 
A J Erasmus



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


Re: [avr-gcc-list] Most reliable version of avr-gcc?

2008-12-18 Thread Bernard Fouché
You must also consider if your target MCU is supported by a particular 
version of GCC. If you have a target supported only in the last 
versions, your choice between  GCC versions will narrow.


  Bernard

David Carr wrote:
By reliability, I mean least probability of undetected errors in 
machine code generation.  IE: The machine code conforms to the source 
code.


Thanks,
-DC




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


Re: [avr-gcc-list] Most reliable version of avr-gcc?

2008-12-18 Thread altbpeti

Hi,

We all know, that in general not always the most recent version is the 
most reliable version. As of a Linux distrib, other software, 
automobile, wine :-) , etc. We can recently read/hear/experience about 
these, independently from the special test cases. I think it's the base 
of David 's question.


Peter


Anton Erasmus írta:
 On 17 Dec 2008 at 15:34, David Carr wrote:

 If one were to compile a program for the AVR where reliability was far
 more important than code size or performance optimizations, what version
 of avr-gcc would you choose?


 You should use more than one version. You would also need test cases 
so that you
 can check that your code produces the required result using ALL the 
versions

 that you have used to compile the code.

 Regards
   Anton Erasmus


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


[avr-gcc-list] Most reliable version of avr-gcc?

2008-12-17 Thread David Carr
If one were to compile a program for the AVR where reliability was far
more important than code size or performance optimizations, what version
of avr-gcc would you choose?

Thanks for your insight,
-DC



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


RE: [avr-gcc-list] Most reliable version of avr-gcc?

2008-12-17 Thread Weddington, Eric

 

 -Original Message-
 From: 
 avr-gcc-list-bounces+eweddington=cso.atmel@nongnu.org 
 [mailto:avr-gcc-list-bounces+eweddington=cso.atmel@nongnu.
 org] On Behalf Of David Carr
 Sent: Wednesday, December 17, 2008 2:34 PM
 To: avr-gcc-list@nongnu.org
 Subject: [avr-gcc-list] Most reliable version of avr-gcc?
 
 If one were to compile a program for the AVR where reliability was far
 more important than code size or performance optimizations, 
 what version
 of avr-gcc would you choose?
 

What do you mean by 'reliability'?


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