<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2008</id>
	<title>Nabble - AVR</title>
	<updated>2009-11-10T04:48:30Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/AVR-f2008.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AVR-f2008.html" />
	<subtitle type="html">The AVR family of microcontrollers from Atmel are economical, feature-rich microcontrollers featuring flash program memory. The entire family shares the same instruction set and basic architecture.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26282869</id>
	<title>avrdude high-voltage programming</title>
	<published>2009-11-10T04:48:30Z</published>
	<updated>2009-11-10T04:48:30Z</updated>
	<author>
		<name>Robert von Knobloch</name>
	</author>
	<content type="html">I am currently working on several Attiny projects. One of these needs an
&lt;br&gt;extra I/O so I must use the RESET pin. This necessitates the use of
&lt;br&gt;high-voltage serial programming.
&lt;br&gt;I am completely unable to get AVRDUDE to talk to my STK500v2 in hvsp mode.
&lt;br&gt;&lt;br&gt;*************************************************************************
&lt;br&gt;&amp;nbsp;avrdude -p t13 -c stk500hvsp -P /dev/ttyS1 -B 15 -t -F
&lt;br&gt;&lt;br&gt;avrdude: AVR device initialized and ready to accept instructions
&lt;br&gt;&lt;br&gt;Reading | ################################################## | 100% 0.02s
&lt;br&gt;&lt;br&gt;avrdude: Device signature = 0x000000
&lt;br&gt;avrdude: Yikes! &amp;nbsp;Invalid device signature.
&lt;br&gt;avrdude: Expected signature for ATtiny13 is 1E 90 07
&lt;br&gt;avrdude&amp;gt;
&lt;br&gt;*************************************************************************
&lt;br&gt;This is AVRDUDE version 5.8 on OpenSUSE 10.2
&lt;br&gt;&lt;br&gt;Using the same PC and STK500, over the same serial port but driven from
&lt;br&gt;AVR Studio on Windows XP running in a VMware virtual machine, I can
&lt;br&gt;succesfully program, read &amp; write the part. This seems to exonerate the
&lt;br&gt;hardware. Also the same combination of PC, STK500 and Tiny13 programs
&lt;br&gt;fine in 'normal' mode (P stk500v2).
&lt;br&gt;&lt;br&gt;Has anyone experience of the high-voltage serial mode or can see what I
&lt;br&gt;am doing wrong?
&lt;br&gt;&lt;br&gt;Many thanks,
&lt;br&gt;&lt;br&gt;Robert von Knobloch
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26282869&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/avrdude-high-voltage-programming-tp26282869p26282869.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26257971</id>
	<title>Re: __builtin_constant_p for inline func args with -Os</title>
	<published>2009-11-08T13:04:48Z</published>
	<updated>2009-11-08T13:04:48Z</updated>
	<author>
		<name>Paul Stoffregen</name>
	</author>
	<content type="html">Thanks! &amp;nbsp;That works perfectly. &amp;nbsp;:-)
&lt;br&gt;&lt;br&gt;I was totally misunderstanding the problem. &amp;nbsp;Just one little attribute, 
&lt;br&gt;but it's a huge help.
&lt;br&gt;&lt;br&gt;Thanks again. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;-Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Joerg Wunsch wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Paul Stoffregen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26257971&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paul@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Indeed it works great with -O2. &amp;nbsp;But with -Os, __builtin_constant_p
&lt;br&gt;&amp;gt;&amp;gt; never returns 1.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It appears to me GCC simply thinks inlining the function would not be
&lt;br&gt;&amp;gt; feasible with -Os -- well, partially at least. &amp;nbsp;If you declare your
&lt;br&gt;&amp;gt; function as
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; static inline void __attribute__((always_inline))
&lt;br&gt;&amp;gt; digitalWrite(uint8_t pin, uint8_t val)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (thus overriding GCC's heuristics about inlining), it yields your
&lt;br&gt;&amp;gt; desired result:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; main:
&lt;br&gt;&amp;gt; /* prologue: function */
&lt;br&gt;&amp;gt; /* frame size = 0 */
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbi 43-32,2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lds r24,num
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldi r22,lo8(1)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; call _digitalWrite
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbi 43-32,2
&lt;br&gt;&amp;gt; ..L2:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rjmp .L2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26257971&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/__builtin_constant_p-for-inline-func-args-with--Os-tp26257460p26257971.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26257754</id>
	<title>Re: __builtin_constant_p for inline func args with -Os</title>
	<published>2009-11-08T12:43:50Z</published>
	<updated>2009-11-08T12:43:50Z</updated>
	<author>
		<name>Andy H-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Os is not inlining the function - since it believe it will cause code
size to grow.&lt;br&gt;
&lt;br&gt;
You can find this out by using inline warning option&lt;br&gt;
-Winline&lt;br&gt;
&lt;br&gt;
However, you can FORCE a function to be inlined thus&lt;br&gt;
&lt;br&gt;
static inline void&amp;nbsp; digitalWrite(uint8_t pin, uint8_t val)
__attribute__((always_inline)); &lt;br&gt;
static inline void&amp;nbsp; digitalWrite(uint8_t pin, uint8_t val)&lt;br&gt;
&lt;br&gt;
...which fixs your problem&lt;br&gt;
&lt;br&gt;
Andy&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Paul Stoffregen wrote:
&lt;blockquote cite=&quot;mid:4AF72692.6000800@pjrc.com&quot; type=&quot;cite&quot;&gt;I'm trying
to create an inline function (instead of a preprocessor macro) which
uses __builtin_constant_p to test if its args are compile time
constants.&amp;nbsp; According to the manual, this is supposed to work with
optimization enabled.
  &lt;br&gt;
  &lt;br&gt;
&amp;nbsp; You may use this built-in function in either a macro or an inline
  &lt;br&gt;
&amp;nbsp; function. However, if you use it in an inlined function and pass an
  &lt;br&gt;
&amp;nbsp; argument of the function as the argument to the built-in, GCC ....
  &lt;br&gt;
&amp;nbsp; will not return 1 when you pass a constant numeric value to the
  &lt;br&gt;
&amp;nbsp; inline function unless you specify the -O option.
  &lt;br&gt;
  &lt;br&gt;
Indeed it works great with -O2.&amp;nbsp; But with -Os, __builtin_constant_p
never returns 1.
  &lt;br&gt;
  &lt;br&gt;
Is this a bug?&amp;nbsp; Or is __builtin_constant_p just not supported with
-Os?&amp;nbsp; Or did I do something stupidly wrong?
  &lt;br&gt;
  &lt;br&gt;
My test code is attached.
  &lt;br&gt;
  &lt;br&gt;
Thanks,
  &lt;br&gt;
  &lt;br&gt;
-Paul
  &lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;pre wrap=&quot;&quot;&gt;
&lt;hr size=&quot;4&quot; width=&quot;90%&quot;&gt;
_______________________________________________
AVR-GCC-list mailing list
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26257754&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26257754&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/__builtin_constant_p-for-inline-func-args-with--Os-tp26257460p26257754.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26257718</id>
	<title>Re: __builtin_constant_p for inline func args with -Os</title>
	<published>2009-11-08T12:39:02Z</published>
	<updated>2009-11-08T12:39:02Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">Paul Stoffregen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26257718&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paul@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Indeed it works great with -O2. &amp;nbsp;But with -Os, __builtin_constant_p
&lt;br&gt;&amp;gt; never returns 1.
&lt;br&gt;&lt;br&gt;It appears to me GCC simply thinks inlining the function would not be
&lt;br&gt;feasible with -Os -- well, partially at least. &amp;nbsp;If you declare your
&lt;br&gt;function as
&lt;br&gt;&lt;br&gt;static inline void __attribute__((always_inline))
&lt;br&gt;digitalWrite(uint8_t pin, uint8_t val)
&lt;br&gt;&lt;br&gt;(thus overriding GCC's heuristics about inlining), it yields your
&lt;br&gt;desired result:
&lt;br&gt;&lt;br&gt;main:
&lt;br&gt;/* prologue: function */
&lt;br&gt;/* frame size = 0 */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbi 43-32,2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lds r24,num
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldi r22,lo8(1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; call _digitalWrite
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbi 43-32,2
&lt;br&gt;..L2:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rjmp .L2
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26257718&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/__builtin_constant_p-for-inline-func-args-with--Os-tp26257460p26257718.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26257460</id>
	<title>__builtin_constant_p for inline func args with -Os</title>
	<published>2009-11-08T12:14:10Z</published>
	<updated>2009-11-08T12:14:10Z</updated>
	<author>
		<name>Paul Stoffregen</name>
	</author>
	<content type="html">I'm trying to create an inline function (instead of a preprocessor 
&lt;br&gt;macro) which uses __builtin_constant_p to test if its args are compile 
&lt;br&gt;time constants. &amp;nbsp;According to the manual, this is supposed to work with 
&lt;br&gt;optimization enabled.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;You may use this built-in function in either a macro or an inline
&lt;br&gt;&amp;nbsp; &amp;nbsp;function. However, if you use it in an inlined function and pass an
&lt;br&gt;&amp;nbsp; &amp;nbsp;argument of the function as the argument to the built-in, GCC ....
&lt;br&gt;&amp;nbsp; &amp;nbsp;will not return 1 when you pass a constant numeric value to the
&lt;br&gt;&amp;nbsp; &amp;nbsp;inline function unless you specify the -O option.
&lt;br&gt;&lt;br&gt;Indeed it works great with -O2. &amp;nbsp;But with -Os, __builtin_constant_p 
&lt;br&gt;never returns 1.
&lt;br&gt;&lt;br&gt;Is this a bug? &amp;nbsp;Or is __builtin_constant_p just not supported with -Os? &amp;nbsp;
&lt;br&gt;Or did I do something stupidly wrong?
&lt;br&gt;&lt;br&gt;My test code is attached.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;-Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;// compile with:
&lt;br&gt;//
&lt;br&gt;// &amp;nbsp; avr-gcc -mmcu=atmega168 -g -Os -c test2.c
&lt;br&gt;//
&lt;br&gt;// disassemble with:
&lt;br&gt;//
&lt;br&gt;// &amp;nbsp; avr-objdump -d -S test2.o
&lt;br&gt;&lt;br&gt;#include &amp;lt;avr/io.h&amp;gt;
&lt;br&gt;&lt;br&gt;extern void _digitalWrite(uint8_t pin, uint8_t val);
&lt;br&gt;&lt;br&gt;&lt;br&gt;// With -Os &amp;nbsp;__builtin_constant_p never returns true
&lt;br&gt;// With -O2 &amp;nbsp;__builtin_constant_p works properly
&lt;br&gt;&lt;br&gt;static inline void digitalWrite(uint8_t pin, uint8_t val)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (__builtin_constant_p(pin) &amp;&amp; __builtin_constant_p(val)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (val) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (pin == 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTD |= _BV(0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (pin == 1) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTD |= _BV(1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (pin == 2) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTD |= _BV(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (pin == 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTD &amp;= ~_BV(0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (pin == 1) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTD &amp;= ~_BV(1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (pin == 2) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTD &amp;= ~_BV(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _digitalWrite(pin, val);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;volatile uint8_t num=2;
&lt;br&gt;&lt;br&gt;int main(void)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PORTD |= 0x04;		// should optimize to single instruction
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; digitalWrite(num, 1);	// should call function
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; digitalWrite(2, 1);	// should optimize to single instruction
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (1) ;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26257460&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/__builtin_constant_p-for-inline-func-args-with--Os-tp26257460p26257460.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26250896</id>
	<title>RE: passing pointers to functions</title>
	<published>2009-11-07T20:13:25Z</published>
	<updated>2009-11-07T20:13:25Z</updated>
	<author>
		<name>Weddington, Eric</name>
	</author>
	<content type="html">&lt;br&gt;Two things:
&lt;br&gt;&lt;br&gt;1. IIRC, there was a problem with 4.3.0 unless you had the right patches. It may not be related to your problem, but we need to know what platform you're building on, and what patches are you using. You may need to upgrade.
&lt;br&gt;&lt;br&gt;2. We need to have a compilable test case, preferably as small as possible, that shows the error. There is not enough information here to tell you one way or the other what is going on with your code.
&lt;br&gt;&lt;br&gt;Honestly I suspect something in your code, and not the compiler.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26250896&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list-bounces+eric.weddington=atmel.com@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu.
&lt;br&gt;&amp;gt; org] On Behalf Of don clay
&lt;br&gt;&amp;gt; Sent: Saturday, November 07, 2009 1:08 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26250896&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [avr-gcc-list] passing pointers to functions
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have been having difficulty passing a function pointer in a 
&lt;br&gt;&amp;gt; function call. &amp;nbsp;In 
&lt;br&gt;&amp;gt; researching the issue, it appears that there is a compiler 
&lt;br&gt;&amp;gt; issue with doing that &amp; 
&lt;br&gt;&amp;gt; I've tried a couple of suggested fixes with no luck.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Since the version appears to required in order to get the 
&lt;br&gt;&amp;gt; correct fix, my version 
&lt;br&gt;&amp;gt; is gcc-4.3.0.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is my last attempt.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. &amp;nbsp;Here is the function prototype in the .h file
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; void InsertTask(ptr2func TaskPtr);			// line 
&lt;br&gt;&amp;gt; 42 in atm328.h
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2. &amp;nbsp;Here is the code in the single .c file containing all the 
&lt;br&gt;&amp;gt; code related to this 
&lt;br&gt;&amp;gt; issue.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; typedef void (*ptr2func)(void);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here is the function
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; void InsertTask(ptr2func TaskPtr)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here is the call
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	InsertTask(LEDTask);	
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 3. Here is the returned error.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ../atm328.h:42: error: expected ')' before 'TaskPtr'
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Before I try updating avr gcc, is there something else that I 
&lt;br&gt;&amp;gt; need to do in order 
&lt;br&gt;&amp;gt; to make this work?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thanks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; AVR-GCC-list mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26250896&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26250896&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/passing-pointers-to-functions-tp26248122p26250896.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248254</id>
	<title>Re: passing pointers to functions</title>
	<published>2009-11-07T12:21:50Z</published>
	<updated>2009-11-07T12:21:50Z</updated>
	<author>
		<name>John Myers-5</name>
	</author>
	<content type="html">It may be because ptr2func is not declared before the prototype. Try putting the typedef of ptr2func in the header file above the prototypes.&lt;br&gt;&lt;br&gt;--John&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Nov 7, 2009 at 12:07 PM, don clay &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248254&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;donclay@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;I have been having difficulty passing a function pointer in a function call.  In&lt;br&gt;
researching the issue, it appears that there is a compiler issue with doing that &amp;amp;&lt;br&gt;
I&amp;#39;ve tried a couple of suggested fixes with no luck.&lt;br&gt;
&lt;br&gt;
Since the version appears to required in order to get the correct fix, my version&lt;br&gt;
is gcc-4.3.0.&lt;br&gt;
&lt;br&gt;
This is my last attempt.&lt;br&gt;
&lt;br&gt;
1.  Here is the function prototype in the .h file&lt;br&gt;
&lt;br&gt;
void InsertTask(ptr2func TaskPtr);                      // line 42 in atm328.h&lt;br&gt;
&lt;br&gt;
2.  Here is the code in the single .c file containing all the code related to this&lt;br&gt;
issue.&lt;br&gt;
&lt;br&gt;
typedef void (*ptr2func)(void);&lt;br&gt;
&lt;br&gt;
Here is the function&lt;br&gt;
&lt;br&gt;
void InsertTask(ptr2func TaskPtr)&lt;br&gt;
&lt;br&gt;
Here is the call&lt;br&gt;
&lt;br&gt;
        InsertTask(LEDTask);&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
3. Here is the returned error.&lt;br&gt;
&lt;br&gt;
../atm328.h:42: error: expected &amp;#39;)&amp;#39; before &amp;#39;TaskPtr&amp;#39;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Before I try updating avr gcc, is there something else that I need to do in order&lt;br&gt;
to make this work?&lt;br&gt;
&lt;br&gt;
thanks.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
AVR-GCC-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248254&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248254&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/passing-pointers-to-functions-tp26248122p26248254.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248122</id>
	<title>passing pointers to functions</title>
	<published>2009-11-07T12:07:40Z</published>
	<updated>2009-11-07T12:07:40Z</updated>
	<author>
		<name>don clay</name>
	</author>
	<content type="html">I have been having difficulty passing a function pointer in a function call. &amp;nbsp;In 
&lt;br&gt;researching the issue, it appears that there is a compiler issue with doing that &amp; 
&lt;br&gt;I've tried a couple of suggested fixes with no luck.
&lt;br&gt;&lt;br&gt;Since the version appears to required in order to get the correct fix, my version 
&lt;br&gt;is gcc-4.3.0.
&lt;br&gt;&lt;br&gt;This is my last attempt.
&lt;br&gt;&lt;br&gt;1. &amp;nbsp;Here is the function prototype in the .h file
&lt;br&gt;&lt;br&gt;void InsertTask(ptr2func TaskPtr);			// line 42 in atm328.h
&lt;br&gt;&lt;br&gt;2. &amp;nbsp;Here is the code in the single .c file containing all the code related to this 
&lt;br&gt;issue.
&lt;br&gt;&lt;br&gt;typedef void (*ptr2func)(void);
&lt;br&gt;&lt;br&gt;Here is the function
&lt;br&gt;&lt;br&gt;void InsertTask(ptr2func TaskPtr)
&lt;br&gt;&lt;br&gt;Here is the call
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InsertTask(LEDTask);	
&lt;br&gt;&lt;br&gt;&lt;br&gt;3. Here is the returned error.
&lt;br&gt;&lt;br&gt;../atm328.h:42: error: expected ')' before 'TaskPtr'
&lt;br&gt;&lt;br&gt;&lt;br&gt;Before I try updating avr gcc, is there something else that I need to do in order 
&lt;br&gt;to make this work?
&lt;br&gt;&lt;br&gt;thanks.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248122&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/passing-pointers-to-functions-tp26248122p26248122.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26241561</id>
	<title>Re: [patch #6866] bug #26703: [Feature Request] Support device reset for 'arduino' programmer type</title>
	<published>2009-11-06T18:26:02Z</published>
	<updated>2009-11-06T18:26:02Z</updated>
	<author>
		<name>mrtangent</name>
	</author>
	<content type="html">On Nov 6, 2009, at 2:17 PM, Michael Dreher wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Follow-up Comment #11, patch #6866 (project avrdude):
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; To compile this version, I had to make the following change, because sleep()
&lt;br&gt;&amp;gt; is not available on the Win32 platform:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Index: jtagmkII.c
&lt;br&gt;&amp;gt; ===================================================================
&lt;br&gt;&amp;gt; --- jtagmkII.c	(revision 878)
&lt;br&gt;&amp;gt; +++ jtagmkII.c	(working copy)
&lt;br&gt;&amp;gt; @@ -2847,7 +2847,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp; status = jtagmkII_write_SABaddr(pgm, 0xffff0c00, 0x05, 0x0000004);
&lt;br&gt;&amp;gt; if(status &amp;lt; 0) {lineno = __LINE__; goto eRR;} // Power Manager
&lt;br&gt;&amp;gt; &amp;nbsp; status = jtagmkII_write_SABaddr(pgm, 0xffff0c00, 0x05, 0x0000005);
&lt;br&gt;&amp;gt; if(status &amp;lt; 0) {lineno = __LINE__; goto eRR;}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - &amp;nbsp;sleep(1);
&lt;br&gt;&amp;gt; + &amp;nbsp;usleep(1*1000);
&lt;/div&gt;&lt;br&gt;If it still intended to be 1 second, shouldn't there be three more zeroes (1 million microseconds)?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;--Dave
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26241561&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---AVRdude---Dev-f2009.html&quot; embed=&quot;fixTarget[2009]&quot; target=&quot;_top&quot; &gt;AVR - AVRdude - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--6866--bug--26703%3A--Feature-Request--Support-device-reset-for-%27arduino%27-programmer-type-tp24508826p26241561.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26239730</id>
	<title>RE: Re: [bug #22271] usb_reset in usb_libusb.c notnecessary in FreeBSD 6.x</title>
	<published>2009-11-06T14:37:48Z</published>
	<updated>2009-11-06T14:37:48Z</updated>
	<author>
		<name>Weddington, Eric</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239730&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev-bounces+eric.weddington=atmel.com@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239730&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev-bounces+eric.weddington=atmel.com@...&lt;/a&gt;
&lt;br&gt;&amp;gt; rg] On Behalf Of Joerg Wunsch
&lt;br&gt;&amp;gt; Sent: Friday, November 06, 2009 3:10 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239730&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [avrdude-dev] Re: [bug #22271] usb_reset in 
&lt;br&gt;&amp;gt; usb_libusb.c notnecessary in FreeBSD 6.x
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Right now, the
&lt;br&gt;&amp;gt; AVR opensource toolchain is proud to run on:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; . Win32
&lt;br&gt;&amp;gt; . Linux
&lt;br&gt;&amp;gt; . MacOS X
&lt;br&gt;&amp;gt; . FreeBSD (probably also other *BSDs)
&lt;br&gt;&amp;gt; . Solaris
&lt;/div&gt;&lt;br&gt;IIRC, we've heard of it running on NetBSD.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239730&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---AVRdude---Dev-f2009.html&quot; embed=&quot;fixTarget[2009]&quot; target=&quot;_top&quot; &gt;AVR - AVRdude - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--22271--usb_reset-in-usb_libusb.c-not-necessary-in-FreeBSD-6.x-tp15372465p26239730.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26239484</id>
	<title>[patch #6866] bug #26703: [Feature Request] Support device reset for 'arduino' programmer type</title>
	<published>2009-11-06T14:17:17Z</published>
	<updated>2009-11-06T14:17:17Z</updated>
	<author>
		<name>Ilguiz Latypov-3</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #11, patch #6866 (project avrdude):
&lt;br&gt;&lt;br&gt;Hi Michal,
&lt;br&gt;&lt;br&gt;I successfully tested svn revision 878 on Windows with the following
&lt;br&gt;devices:
&lt;br&gt;&amp;nbsp;* Arduino-BT (with DIY auto-reset)
&lt;br&gt;&amp;nbsp;* Arduino Duemilanove with ATmega168
&lt;br&gt;&amp;nbsp;* Arduino Duemilanove with ATmega328
&lt;br&gt;&lt;br&gt;To compile this version, I had to make the following change, because sleep()
&lt;br&gt;is not available on the Win32 platform:
&lt;br&gt;&lt;br&gt;Index: jtagmkII.c
&lt;br&gt;===================================================================
&lt;br&gt;--- jtagmkII.c	(revision 878)
&lt;br&gt;+++ jtagmkII.c	(working copy)
&lt;br&gt;@@ -2847,7 +2847,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;status = jtagmkII_write_SABaddr(pgm, 0xffff0c00, 0x05, 0x0000004);
&lt;br&gt;if(status &amp;lt; 0) {lineno = __LINE__; goto eRR;} // Power Manager
&lt;br&gt;&amp;nbsp; &amp;nbsp;status = jtagmkII_write_SABaddr(pgm, 0xffff0c00, 0x05, 0x0000005);
&lt;br&gt;if(status &amp;lt; 0) {lineno = __LINE__; goto eRR;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp;sleep(1);
&lt;br&gt;+ &amp;nbsp;usleep(1*1000);
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;val = jtagmkII_read_SABaddr(pgm, 0xfffe1408, 0x05); if(val != 0x0000a001)
&lt;br&gt;{lineno = __LINE__; goto eRR;} // PLL 0
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Michael
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?6866&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?6866&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239484&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---AVRdude---Dev-f2009.html&quot; embed=&quot;fixTarget[2009]&quot; target=&quot;_top&quot; &gt;AVR - AVRdude - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--6866--bug--26703%3A--Feature-Request--Support-device-reset-for-%27arduino%27-programmer-type-tp24508826p26239484.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26239357</id>
	<title>Re: [bug #22271] usb_reset in usb_libusb.c not necessary in FreeBSD 6.x</title>
	<published>2009-11-06T14:10:16Z</published>
	<updated>2009-11-06T14:10:16Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As David Hoerl wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; PS: should avrdude migrate to the new usblib.1.0 someday?
&lt;br&gt;&lt;br&gt;Last time I've been looking at it, the platform support status of
&lt;br&gt;libusb 1.x was lousy, only Linux was supported. &amp;nbsp;Right now, the
&lt;br&gt;AVR opensource toolchain is proud to run on:
&lt;br&gt;&lt;br&gt;. Win32
&lt;br&gt;. Linux
&lt;br&gt;. MacOS X
&lt;br&gt;. FreeBSD (probably also other *BSDs)
&lt;br&gt;. Solaris
&lt;br&gt;&lt;br&gt;to name those where I've got reports it is being in use. &amp;nbsp;I wouldn't
&lt;br&gt;want to break that.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239357&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---AVRdude---Dev-f2009.html&quot; embed=&quot;fixTarget[2009]&quot; target=&quot;_top&quot; &gt;AVR - AVRdude - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--22271--usb_reset-in-usb_libusb.c-not-necessary-in-FreeBSD-6.x-tp15372465p26239357.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26239167</id>
	<title>Re: [bug #22271] usb_reset in usb_libusb.c not necessary in FreeBSD 6.x</title>
	<published>2009-11-06T13:55:06Z</published>
	<updated>2009-11-06T13:55:06Z</updated>
	<author>
		<name>David Hoerl</name>
	</author>
	<content type="html">On 11/6/09 4:37 PM, David A. Mellis wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Follow-up Comment #5, bug #22271 (project avrdude):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In my testing, the usb_reset() is necessary on Mac OS X (10.6 Snow Leopard).
&lt;br&gt;&amp;gt; Otherwise, the upload process will stall for about 25 seconds on the second
&lt;br&gt;&amp;gt; and subsequent attempts. &amp;nbsp;I suggest that revision 873 be reverted.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;David,
&lt;br&gt;&lt;br&gt;Well, I kind of agree. Once I made the change, I too then started seeing 
&lt;br&gt;more failures. But I also noticed that when it succeeds, its also a bit 
&lt;br&gt;slow.
&lt;br&gt;&lt;br&gt;As I posted the other day, what I ended up doing is installing 
&lt;br&gt;libusb.1.0, and libcompat.0.1. The current libusb.0.1 is quite old and 
&lt;br&gt;will itself never be updated. The combination of the new library and a 
&lt;br&gt;glue library fix a lot of issues (according to authors).
&lt;br&gt;&lt;br&gt;Even then, avrdude was running slowly. I actually spend a fair amount of 
&lt;br&gt;time putting in debugging command to find out why. It turned out its in 
&lt;br&gt;the two library calls to get busses and devices.
&lt;br&gt;&lt;br&gt;Well, it seems Apple suspends unused devices (like iSights), and the 
&lt;br&gt;current libusb.1.0 tries to wake them, get their info, and then put them 
&lt;br&gt;back to sleep. The code that does this was easily turned off, so I build 
&lt;br&gt;a special version of libusb-1.0, and now avrdude is running MUCH faster 
&lt;br&gt;than it ever did with the old libusb.0.1
&lt;br&gt;&lt;br&gt;My point in all this is that you can work with avrdude the way it is, do 
&lt;br&gt;the same things I did (take less than an hour), and have a much faster 
&lt;br&gt;and more reliable system.
&lt;br&gt;&lt;br&gt;&lt;br&gt;That said, if you want it back, well, what I would then suggest is that 
&lt;br&gt;I add a new flag to avrdude that forces a usb reset - current systems 
&lt;br&gt;would get it, others could request it. This would then allows 
&lt;br&gt;FreeBSD/Mac people use either the new or the old library.
&lt;br&gt;&lt;br&gt;&lt;br&gt;David
&lt;br&gt;&lt;br&gt;PS: should avrdude migrate to the new usblib.1.0 someday?
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239167&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---AVRdude---Dev-f2009.html&quot; embed=&quot;fixTarget[2009]&quot; target=&quot;_top&quot; &gt;AVR - AVRdude - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--22271--usb_reset-in-usb_libusb.c-not-necessary-in-FreeBSD-6.x-tp15372465p26239167.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26239001</id>
	<title>[bug #22271] usb_reset in usb_libusb.c not necessary in FreeBSD 6.x</title>
	<published>2009-11-06T13:37:19Z</published>
	<updated>2009-11-06T13:37:19Z</updated>
	<author>
		<name>Ilguiz Latypov-3</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #5, bug #22271 (project avrdude):
&lt;br&gt;&lt;br&gt;In my testing, the usb_reset() is necessary on Mac OS X (10.6 Snow Leopard). 
&lt;br&gt;Otherwise, the upload process will stall for about 25 seconds on the second
&lt;br&gt;and subsequent attempts. &amp;nbsp;I suggest that revision 873 be reverted. &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?22271&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?22271&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239001&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---AVRdude---Dev-f2009.html&quot; embed=&quot;fixTarget[2009]&quot; target=&quot;_top&quot; &gt;AVR - AVRdude - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--22271--usb_reset-in-usb_libusb.c-not-necessary-in-FreeBSD-6.x-tp15372465p26239001.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26223738</id>
	<title>[patch #6951] Time posix patch.</title>
	<published>2009-11-05T14:44:44Z</published>
	<updated>2009-11-05T14:44:44Z</updated>
	<author>
		<name>Ilguiz Latypov-3</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #6, patch #6951 (project avr-libc):
&lt;br&gt;&lt;br&gt;OK, I shall not hurry.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?6951&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?6951&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26223738&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--6951--Time-posix-patch.-tp25958942p26223738.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26218996</id>
	<title>FW: MPC version 0.8 released!</title>
	<published>2009-11-05T09:28:31Z</published>
	<updated>2009-11-05T09:28:31Z</updated>
	<author>
		<name>Weddington, Eric</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;&lt;br&gt;This is a 'heads up' for all of you who work on the AVR GCC toolchain, please note in the email to the gcc mailing list below that MPC will very probably be required for building GCC 4.5 (current HEAD). This is another library similar to GMP and MPFR which are required for building GCC now.
&lt;br&gt;&lt;br&gt;I have tested building previous versions of MPC for a MinGW host and I have not run into any issues. Many other targets have been tested successfully as well, so there shouldn't be any problems in building this for your favourite platform.
&lt;br&gt;&lt;br&gt;Eric Weddington
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Kaveh R. GHAZI [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218996&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ghazi@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Thursday, November 05, 2009 8:54 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218996&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gcc@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: MPC version 0.8 released!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; MPC version 0.8 has been released:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gforge.inria.fr/pipermail/mpc-discuss/2009-Novemb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gforge.inria.fr/pipermail/mpc-discuss/2009-Novemb&lt;/a&gt;&lt;br&gt;&amp;gt; er/000608.html
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You can download the tarball here:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.multiprecision.org/index.php?prog=mpc&amp;page=download&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.multiprecision.org/index.php?prog=mpc&amp;page=download&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This release is for our purposes C99 feature-complete. &amp;nbsp;After 
&lt;br&gt;&amp;gt; some wider
&lt;br&gt;&amp;gt; portability testing, I will submit patches to make it 
&lt;br&gt;&amp;gt; mandatory for the
&lt;br&gt;&amp;gt; GCC bootstrap process.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please test this version and report back in this thread (not to me
&lt;br&gt;&amp;gt; privately) the results of &amp;quot;make check&amp;quot;. &amp;nbsp;Also include your 
&lt;br&gt;&amp;gt; target triplet,
&lt;br&gt;&amp;gt; and the versions of your compiler, gmp and mpfr.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 		Thanks,
&lt;br&gt;&amp;gt; 		--Kaveh
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218996&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FW%3A-MPC-version-0.8-released%21-tp26218996p26218996.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26217570</id>
	<title>RE: AVR atmega128 GCC 4.3.3 Testresults comparision</title>
	<published>2009-11-05T08:04:57Z</published>
	<updated>2009-11-05T08:04:57Z</updated>
	<author>
		<name>Weddington, Eric</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Paulo Marques [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217570&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pmarques@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Thursday, November 05, 2009 8:55 AM
&lt;br&gt;&amp;gt; To: Weddington, Eric
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217570&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [avr-gcc-list] AVR atmega128 GCC 4.3.3 
&lt;br&gt;&amp;gt; Testresults comparision
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Weddington, Eric wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Is there anyway that we could commit that feature into the 
&lt;br&gt;&amp;gt; repository? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I already did :)
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Oh, excellent! Sorry for my misunderstanding. :-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217570&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AVR-atmega128-GCC-4.3.3-Testresults-comparision-tp26004796p26217570.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26217334</id>
	<title>Re: AVR atmega128 GCC 4.3.3 Testresults comparision</title>
	<published>2009-11-05T07:55:28Z</published>
	<updated>2009-11-05T07:55:28Z</updated>
	<author>
		<name>Paulo Marques</name>
	</author>
	<content type="html">Weddington, Eric wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From: 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217334&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list-bounces+eric.weddington=atmel.com@...&lt;/a&gt; 
&lt;br&gt;&amp;gt;&amp;gt; [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu.
&lt;br&gt;&amp;gt;&amp;gt; org] On Behalf Of Paulo Marques
&lt;br&gt;&amp;gt;&amp;gt; Sent: Thursday, November 05, 2009 8:24 AM
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217334&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Subject: Re: [avr-gcc-list] AVR atmega128 GCC 4.3.3 
&lt;br&gt;&amp;gt;&amp;gt; Testresults comparision
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Boyapati, Anitha wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Try the files and simulator craeted as part of &amp;nbsp;WINAVR
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://winavr.cvs.sourceforge.net/viewvc/winavr/avrtest/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://winavr.cvs.sourceforge.net/viewvc/winavr/avrtest/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Edit some paths to &amp;nbsp;match your filespace.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks Andy. I think avrtest worked much better. I managed 
&lt;br&gt;&amp;gt;&amp;gt; to get 42K passes!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; BTW, I recently did an update on avrtest to include &amp;quot;cycle counters&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt; The wrappers to use them are in dejagnuboards/exit.c.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Very nice!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there anyway that we could commit that feature into the repository? 
&lt;/div&gt;&lt;br&gt;I already did :)
&lt;br&gt;&lt;br&gt;Sorry for not making that part clear in the previous message :(
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paulo Marques
&lt;br&gt;Software Development Department - Grupo PIE, S.A.
&lt;br&gt;Phone: +351 252 290600, Fax: +351 252 290601
&lt;br&gt;Web: www.grupopie.com
&lt;br&gt;&lt;br&gt;&amp;quot;I used to be indecisive, but now I'm not so sure.&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217334&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AVR-atmega128-GCC-4.3.3-Testresults-comparision-tp26004796p26217334.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26217018</id>
	<title>RE: AVR atmega128 GCC 4.3.3 Testresults comparision</title>
	<published>2009-11-05T07:34:38Z</published>
	<updated>2009-11-05T07:34:38Z</updated>
	<author>
		<name>Weddington, Eric</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217018&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list-bounces+eric.weddington=atmel.com@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu.
&lt;br&gt;&amp;gt; org] On Behalf Of Paulo Marques
&lt;br&gt;&amp;gt; Sent: Thursday, November 05, 2009 8:24 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217018&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [avr-gcc-list] AVR atmega128 GCC 4.3.3 
&lt;br&gt;&amp;gt; Testresults comparision
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Boyapati, Anitha wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Try the files and simulator craeted as part of &amp;nbsp;WINAVR
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://winavr.cvs.sourceforge.net/viewvc/winavr/avrtest/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://winavr.cvs.sourceforge.net/viewvc/winavr/avrtest/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Edit some paths to &amp;nbsp;match your filespace.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Thanks Andy. I think avrtest worked much better. I managed 
&lt;br&gt;&amp;gt; to get 42K passes!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; BTW, I recently did an update on avrtest to include &amp;quot;cycle counters&amp;quot;.
&lt;br&gt;&amp;gt; The wrappers to use them are in dejagnuboards/exit.c.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Very nice!
&lt;br&gt;&lt;br&gt;Is there anyway that we could commit that feature into the repository? 
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217018&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AVR-atmega128-GCC-4.3.3-Testresults-comparision-tp26004796p26217018.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26216795</id>
	<title>Re: AVR atmega128 GCC 4.3.3 Testresults comparision</title>
	<published>2009-11-05T07:24:28Z</published>
	<updated>2009-11-05T07:24:28Z</updated>
	<author>
		<name>Paulo Marques</name>
	</author>
	<content type="html">Boyapati, Anitha wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Try the files and simulator craeted as part of &amp;nbsp;WINAVR
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://winavr.cvs.sourceforge.net/viewvc/winavr/avrtest/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://winavr.cvs.sourceforge.net/viewvc/winavr/avrtest/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Edit some paths to &amp;nbsp;match your filespace.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks Andy. I think avrtest worked much better. I managed to get 42K passes!
&lt;br&gt;&lt;br&gt;BTW, I recently did an update on avrtest to include &amp;quot;cycle counters&amp;quot;.
&lt;br&gt;The wrappers to use them are in dejagnuboards/exit.c.
&lt;br&gt;&lt;br&gt;It allows you to write code like:
&lt;br&gt;&lt;br&gt;start_perf_counter(0);
&lt;br&gt;...
&lt;br&gt;&amp;nbsp; start_perf_counter(1);
&lt;br&gt;&amp;nbsp; ...do stuff...
&lt;br&gt;&amp;nbsp; stop_perf_counter(1);
&lt;br&gt;&amp;nbsp; ...
&lt;br&gt;&amp;nbsp; start_perf_counter(2);
&lt;br&gt;&amp;nbsp; ...do more stuff...
&lt;br&gt;&amp;nbsp; start_perf_counter(2);
&lt;br&gt;...
&lt;br&gt;stop_perf_counter(0);
&lt;br&gt;&lt;br&gt;The output would be something like:
&lt;br&gt;&lt;br&gt;counter 1: 1453 cycles
&lt;br&gt;counter 2: 532 cycles
&lt;br&gt;counter 0: 3274 cycles
&lt;br&gt;&lt;br&gt;So in a single run you can profile several functions and you have up to
&lt;br&gt;256 counters to chose from.
&lt;br&gt;&lt;br&gt;Starting/stopping the counters consists of writing a single byte to a
&lt;br&gt;port. This isn't exactly free, but if you use mostly counter 0, since
&lt;br&gt;there is a __zero_reg__ always available, it will take a single cycle.
&lt;br&gt;This cycle can be subtracted later to find the exact number of cycles
&lt;br&gt;between start/stop.
&lt;br&gt;&lt;br&gt;Happy benchmarking,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paulo Marques
&lt;br&gt;Software Development Department - Grupo PIE, S.A.
&lt;br&gt;Phone: +351 252 290600, Fax: +351 252 290601
&lt;br&gt;Web: www.grupopie.com
&lt;br&gt;&lt;br&gt;&amp;quot;As far as we know, our computer has never had an undetected error.&amp;quot;
&lt;br&gt;Weisert
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26216795&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AVR-atmega128-GCC-4.3.3-Testresults-comparision-tp26004796p26216795.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26206757</id>
	<title>[patch #6951] Time posix patch.</title>
	<published>2009-11-04T15:41:51Z</published>
	<updated>2009-11-04T15:41:51Z</updated>
	<author>
		<name>Ilguiz Latypov-3</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #5, patch #6951 (project avr-libc):
&lt;br&gt;&lt;br&gt;Hi Dmitry,
&lt;br&gt;&lt;br&gt;We cannot commit this code until we verify that the licenses for these
&lt;br&gt;specific modules match the license of avr-libc.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?6951&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?6951&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26206757&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--6951--Time-posix-patch.-tp25958942p26206757.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26206009</id>
	<title>[patch #6951] Time posix patch.</title>
	<published>2009-11-04T14:42:44Z</published>
	<updated>2009-11-04T14:42:44Z</updated>
	<author>
		<name>Ilguiz Latypov-3</name>
	</author>
	<content type="html">&lt;br&gt;Update of patch #6951 (project avr-libc):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; In Progress &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; dmix &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #4:
&lt;br&gt;&lt;br&gt;After a few obvious changes (merge day/month names in one
&lt;br&gt;string, replace macroses to normal functions) the size is reduced
&lt;br&gt;(without called library functions):
&lt;br&gt;&amp;nbsp; asctime(): 104 --&amp;gt; 69 words
&lt;br&gt;&amp;nbsp; gmtime(): 339 --&amp;gt; 280 words
&lt;br&gt;&amp;nbsp; mktime(): 632 --&amp;gt; 461 words
&lt;br&gt;(Note, the sprintf() usage in asctime() is doubtful.)
&lt;br&gt;In progress...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?6951&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?6951&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26206009&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--6951--Time-posix-patch.-tp25958942p26206009.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26205757</id>
	<title>avrdude using libusb-1.0 and libusb-compat-0.1</title>
	<published>2009-11-04T14:24:16Z</published>
	<updated>2009-11-04T14:24:16Z</updated>
	<author>
		<name>David Hoerl</name>
	</author>
	<content type="html">Sending this for the archives - had good luck getting libusb-1.0.3 and 
&lt;br&gt;the compatibility library (which maps the new library calls into what 
&lt;br&gt;avrdude expects from libusb.0.1). Its seems faster when downloading but 
&lt;br&gt;didn't really measure it.
&lt;br&gt;&lt;br&gt;For OSX Mac users, a note: if you use a portable, as I do, both old and 
&lt;br&gt;new libusb libraries try to get info out of suspended USB devices like 
&lt;br&gt;the camera. This adds many seconds of delay before the download starts. 
&lt;br&gt;I edited the darwin_usb.c file in libusb.1.0, and essentially commented 
&lt;br&gt;out code. This resulted in a much much faster download.
&lt;br&gt;&lt;br&gt;David
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (ret != kIOReturnSuccess) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int try_unsuspend = 0; // DFH - was 1
&lt;br&gt;#if DeviceVersion &amp;gt;= 3200 // DFH - was 320
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26205757&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---AVRdude---Dev-f2009.html&quot; embed=&quot;fixTarget[2009]&quot; target=&quot;_top&quot; &gt;AVR - AVRdude - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/avrdude-using-libusb-1.0-and-libusb-compat-0.1-tp26205757p26205757.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26184308</id>
	<title>Re: Re: optimizer removes volatile pin access code. why?</title>
	<published>2009-11-03T10:29:20Z</published>
	<updated>2009-11-03T10:29:20Z</updated>
	<author>
		<name>Paulo Marques</name>
	</author>
	<content type="html">Joerg Desch wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, 27 Oct 2009 20:17:46 +0100 (MET)
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26184308&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;j@...&lt;/a&gt; (Joerg Wunsch) wrote:
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;&amp;gt; However, the
&lt;br&gt;&amp;gt;&amp;gt; optimized code will just toggle the pin for a single CPU cycles only,
&lt;br&gt;&amp;gt;&amp;gt; while the pin will stay a little longer at high in the non-optimized
&lt;br&gt;&amp;gt;&amp;gt; example. &amp;nbsp;So if your oscilloscope is too slow, you might not notice
&lt;br&gt;&amp;gt;&amp;gt; the pin actually becoming high for one clock period.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Tektroniks TDS784 with 4GS/s ;-)
&lt;/div&gt;&lt;br&gt;If the pin is set to input, toggling the port might be just turning on
&lt;br&gt;the internal pull-up. This will change the output from 0 to 1, but at
&lt;br&gt;the rate of charging the pin capacitance through the internal pull-up.
&lt;br&gt;&lt;br&gt;If the pulse lasts longer, you might be able to see it, but if it is too
&lt;br&gt;short, it might not have enough time to charge the pin up to your
&lt;br&gt;trigger level.
&lt;br&gt;&lt;br&gt;Just a thought,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paulo Marques
&lt;br&gt;Software Development Department - Grupo PIE, S.A.
&lt;br&gt;Phone: +351 252 290600, Fax: +351 252 290601
&lt;br&gt;Web: www.grupopie.com
&lt;br&gt;&lt;br&gt;&amp;quot;Reality continues to ruin my life.&amp;quot; - Calvin.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26184308&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optimizer-removes-volatile-pin-access-code.-why--tp26076203p26184308.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26172867</id>
	<title>[patch #6866] bug #26703: [Feature Request] Support device reset for 'arduino' programmer type</title>
	<published>2009-11-02T15:58:53Z</published>
	<updated>2009-11-02T15:58:53Z</updated>
	<author>
		<name>Ilguiz Latypov-3</name>
	</author>
	<content type="html">&lt;br&gt;Update of patch #6866 (project avrdude):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ready For Test =&amp;gt; Done &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #10:
&lt;br&gt;&lt;br&gt;Hi Michael,
&lt;br&gt;&lt;br&gt;your last patch is in SVN now. Works for me with Duemilanove on Linux. Hope
&lt;br&gt;it won't break things for other arduino users.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?6866&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?6866&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26172867&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---AVRdude---Dev-f2009.html&quot; embed=&quot;fixTarget[2009]&quot; target=&quot;_top&quot; &gt;AVR - AVRdude - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--6866--bug--26703%3A--Feature-Request--Support-device-reset-for-%27arduino%27-programmer-type-tp24508826p26172867.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26166503</id>
	<title>RE: Re: optimizer removes volatile pin access code.why?</title>
	<published>2009-11-02T08:19:32Z</published>
	<updated>2009-11-02T08:19:32Z</updated>
	<author>
		<name>Weddington, Eric</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Joerg Wunsch [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26166503&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;j@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Monday, November 02, 2009 8:57 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26166503&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Cc: Weddington, Eric
&lt;br&gt;&amp;gt; Subject: Re: [avr-gcc-list] Re: optimizer removes volatile 
&lt;br&gt;&amp;gt; pin access code.why?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As Weddington, Eric wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; To be a bit more specific (now that I've had a bit more caffiene):
&lt;br&gt;&amp;gt; &amp;gt; Adding a feature (a warning) is always easier than trying to change
&lt;br&gt;&amp;gt; &amp;gt; the semantics of an existing feature (always_inline).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That's why I also liked the idea of just adding a warning.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The only remaining potential for a debate would be whether this
&lt;br&gt;&amp;gt; warning should always be enabled (I think so, because it's a usage
&lt;br&gt;&amp;gt; error, according to the description of the always_inline attribute),
&lt;br&gt;&amp;gt; or made optional. &amp;nbsp;In the latter, another -Wxxx option would be
&lt;br&gt;&amp;gt; needed, and I guess it takes also some energy to convince everybody to
&lt;br&gt;&amp;gt; at least include it into -Wall then.
&lt;/div&gt;&lt;br&gt;Agreed.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; Changing
&lt;br&gt;&amp;gt; &amp;gt; semantics seems to incur a bit more debate and risks earlier
&lt;br&gt;&amp;gt; &amp;gt; rejection. But I agree that it's not impossible.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't know whether I'm motivated for that though. ;-)
&lt;br&gt;&lt;br&gt;LOL! Don't look at me! I've got enough on my plate. ;-) Perhaps some users will get motivated enough to become developers....
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26166503&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optimizer-removes-volatile-pin-access-code.-why--tp26076203p26166503.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26166098</id>
	<title>Re: Re: optimizer removes volatile pin access code.why?</title>
	<published>2009-11-02T07:57:02Z</published>
	<updated>2009-11-02T07:57:02Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Weddington, Eric wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; To be a bit more specific (now that I've had a bit more caffiene):
&lt;br&gt;&amp;gt; Adding a feature (a warning) is always easier than trying to change
&lt;br&gt;&amp;gt; the semantics of an existing feature (always_inline).
&lt;br&gt;&lt;br&gt;That's why I also liked the idea of just adding a warning.
&lt;br&gt;&lt;br&gt;The only remaining potential for a debate would be whether this
&lt;br&gt;warning should always be enabled (I think so, because it's a usage
&lt;br&gt;error, according to the description of the always_inline attribute),
&lt;br&gt;or made optional. &amp;nbsp;In the latter, another -Wxxx option would be
&lt;br&gt;needed, and I guess it takes also some energy to convince everybody to
&lt;br&gt;at least include it into -Wall then.
&lt;br&gt;&lt;br&gt;&amp;gt; Changing
&lt;br&gt;&amp;gt; semantics seems to incur a bit more debate and risks earlier
&lt;br&gt;&amp;gt; rejection. But I agree that it's not impossible.
&lt;br&gt;&lt;br&gt;I don't know whether I'm motivated for that though. ;-)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26166098&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optimizer-removes-volatile-pin-access-code.-why--tp26076203p26166098.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26165926</id>
	<title>RE: Re: optimizer removes volatile pin access code.why?</title>
	<published>2009-11-02T07:45:41Z</published>
	<updated>2009-11-02T07:45:41Z</updated>
	<author>
		<name>Weddington, Eric</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165926&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list-bounces+eric.weddington=atmel.com@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu.
&lt;br&gt;&amp;gt; org] On Behalf Of Weddington, Eric
&lt;br&gt;&amp;gt; Sent: Monday, November 02, 2009 8:33 AM
&lt;br&gt;&amp;gt; To: Joerg Wunsch; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165926&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: RE: [avr-gcc-list] Re: optimizer removes volatile 
&lt;br&gt;&amp;gt; pin access code.why?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; From: Joerg Wunsch [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165926&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;j@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; &amp;gt; Sent: Monday, November 02, 2009 8:17 AM
&lt;br&gt;&amp;gt; &amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165926&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; Cc: Weddington, Eric
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: [avr-gcc-list] Re: optimizer removes volatile 
&lt;br&gt;&amp;gt; &amp;gt; pin access code.why?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; As Weddington, Eric wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; And IMHO, I highly doubt that this proposal will be approved. They
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; will probably just come back to you and say that there's 
&lt;br&gt;&amp;gt; no need for
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; it.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Why not? &amp;nbsp;Why do you think issuing a warning for something that is
&lt;br&gt;&amp;gt; &amp;gt; known it cannot work would be rejected? &amp;nbsp;If the always_inline
&lt;br&gt;&amp;gt; &amp;gt; attribute is known to only work for a function declared inline, it
&lt;br&gt;&amp;gt; &amp;gt; should be legitimate to warn the user about a situation where this
&lt;br&gt;&amp;gt; &amp;gt; prerequisite is not met.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ok, *that* proposal I can understand (warning if inline not 
&lt;br&gt;&amp;gt; present). But I think that changing 'always_inline' attribute 
&lt;br&gt;&amp;gt; to imply inline might not fly. But who knows? In the end I 
&lt;br&gt;&amp;gt; think you're right in that it would be an effort to get it 
&lt;br&gt;&amp;gt; through the commit process. 
&lt;/div&gt;&lt;br&gt;To be a bit more specific (now that I've had a bit more caffiene): Adding a feature (a warning) is always easier than trying to change the semantics of an existing feature (always_inline). Changing semantics seems to incur a bit more debate and risks earlier rejection. But I agree that it's not impossible.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165926&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optimizer-removes-volatile-pin-access-code.-why--tp26076203p26165926.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26165727</id>
	<title>RE: Re: optimizer removes volatile pin access code.why?</title>
	<published>2009-11-02T07:33:17Z</published>
	<updated>2009-11-02T07:33:17Z</updated>
	<author>
		<name>Weddington, Eric</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Joerg Wunsch [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165727&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;j@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Monday, November 02, 2009 8:17 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165727&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Cc: Weddington, Eric
&lt;br&gt;&amp;gt; Subject: Re: [avr-gcc-list] Re: optimizer removes volatile 
&lt;br&gt;&amp;gt; pin access code.why?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As Weddington, Eric wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; And IMHO, I highly doubt that this proposal will be approved. They
&lt;br&gt;&amp;gt; &amp;gt; will probably just come back to you and say that there's no need for
&lt;br&gt;&amp;gt; &amp;gt; it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Why not? &amp;nbsp;Why do you think issuing a warning for something that is
&lt;br&gt;&amp;gt; known it cannot work would be rejected? &amp;nbsp;If the always_inline
&lt;br&gt;&amp;gt; attribute is known to only work for a function declared inline, it
&lt;br&gt;&amp;gt; should be legitimate to warn the user about a situation where this
&lt;br&gt;&amp;gt; prerequisite is not met.
&lt;/div&gt;&lt;br&gt;Ok, *that* proposal I can understand (warning if inline not present). But I think that changing 'always_inline' attribute to imply inline might not fly. But who knows? In the end I think you're right in that it would be an effort to get it through the commit process. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165727&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optimizer-removes-volatile-pin-access-code.-why--tp26076203p26165727.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26165457</id>
	<title>Re: Re: optimizer removes volatile pin access code.why?</title>
	<published>2009-11-02T07:16:45Z</published>
	<updated>2009-11-02T07:16:45Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Weddington, Eric wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; And IMHO, I highly doubt that this proposal will be approved. They
&lt;br&gt;&amp;gt; will probably just come back to you and say that there's no need for
&lt;br&gt;&amp;gt; it.
&lt;br&gt;&lt;br&gt;Why not? &amp;nbsp;Why do you think issuing a warning for something that is
&lt;br&gt;known it cannot work would be rejected? &amp;nbsp;If the always_inline
&lt;br&gt;attribute is known to only work for a function declared inline, it
&lt;br&gt;should be legitimate to warn the user about a situation where this
&lt;br&gt;prerequisite is not met.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165457&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optimizer-removes-volatile-pin-access-code.-why--tp26076203p26165457.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26165263</id>
	<title>RE: Re: optimizer removes volatile pin access code.why?</title>
	<published>2009-11-02T07:05:08Z</published>
	<updated>2009-11-02T07:05:08Z</updated>
	<author>
		<name>Weddington, Eric</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165263&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list-bounces+eric.weddington=atmel.com@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu.
&lt;br&gt;&amp;gt; org] On Behalf Of Joerg Wunsch
&lt;br&gt;&amp;gt; Sent: Monday, November 02, 2009 2:57 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165263&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [avr-gcc-list] Re: optimizer removes volatile 
&lt;br&gt;&amp;gt; pin access code.why?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In article &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165263&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hcm55m$shn$1@...&lt;/a&gt;&amp;gt; you write:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;As far as I have seen, the compiler has been working exactly as it
&lt;br&gt;&amp;gt; &amp;gt;says in the manual (quoted above).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, you're right.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;Alternatively, should we ask for __attribute__((always_inline)) to
&lt;br&gt;&amp;gt; &amp;gt;imply inline, or give a warning if it is used for a non-inline
&lt;br&gt;&amp;gt; &amp;gt;function?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'd prefer the latter, although I guess a bug report will stay forever
&lt;br&gt;&amp;gt; unless someone is willing to also file a patch. &amp;nbsp;Even then, it
&lt;br&gt;&amp;gt; requires a bit of stamina to really get the patch through all the
&lt;br&gt;&amp;gt; mailing lists, until someone finally gives his OK for the integration.
&lt;br&gt;&amp;gt; Been there, done that (with the 0b binary constant patch).
&lt;/div&gt;&lt;br&gt;And IMHO, I highly doubt that this proposal will be approved. They will probably just come back to you and say that there's no need for it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165263&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optimizer-removes-volatile-pin-access-code.-why--tp26076203p26165263.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26165230</id>
	<title>RE: [patch #6951] Time posix patch.</title>
	<published>2009-11-02T07:03:41Z</published>
	<updated>2009-11-02T07:03:41Z</updated>
	<author>
		<name>Weddington, Eric</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Daniele Basile [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165230&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;INVALID.NOREPLY@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Monday, November 02, 2009 2:51 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165230&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joerg_wunsch@...&lt;/a&gt;; Daniele Basile; 
&lt;br&gt;&amp;gt; Weddington, Eric; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165230&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-libc-dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [patch #6951] Time posix patch.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Follow-up Comment #3, patch #6951 (project avr-libc):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; there are some updates on mine time.h posix patch proposal?
&lt;/div&gt;&lt;br&gt;You will know when there are updates on your proposal, because we'll either make comments on the patch tracker item, or we will commit it and close the patch tracker. Right now I think all of the developers are busy with other things at the moment.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165230&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--6951--Time-posix-patch.-tp25958942p26165230.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26161314</id>
	<title>Re: Re: optimizer removes volatile pin access code.why?</title>
	<published>2009-11-02T01:56:40Z</published>
	<updated>2009-11-02T01:56:40Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">In article &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26161314&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hcm55m$shn$1@...&lt;/a&gt;&amp;gt; you write:
&lt;br&gt;&lt;br&gt;&amp;gt;As far as I have seen, the compiler has been working exactly as it
&lt;br&gt;&amp;gt;says in the manual (quoted above).
&lt;br&gt;&lt;br&gt;Yes, you're right.
&lt;br&gt;&lt;br&gt;&amp;gt;Alternatively, should we ask for __attribute__((always_inline)) to
&lt;br&gt;&amp;gt;imply inline, or give a warning if it is used for a non-inline
&lt;br&gt;&amp;gt;function?
&lt;br&gt;&lt;br&gt;I'd prefer the latter, although I guess a bug report will stay forever
&lt;br&gt;unless someone is willing to also file a patch. &amp;nbsp;Even then, it
&lt;br&gt;requires a bit of stamina to really get the patch through all the
&lt;br&gt;mailing lists, until someone finally gives his OK for the integration.
&lt;br&gt;Been there, done that (with the 0b binary constant patch).
&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26161314&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optimizer-removes-volatile-pin-access-code.-why--tp26076203p26161314.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26161245</id>
	<title>[patch #6951] Time posix patch.</title>
	<published>2009-11-02T01:51:10Z</published>
	<updated>2009-11-02T01:51:10Z</updated>
	<author>
		<name>Ilguiz Latypov-3</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #3, patch #6951 (project avr-libc):
&lt;br&gt;&lt;br&gt;there are some updates on mine time.h posix patch proposal?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?6951&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?6951&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Messaggio inviato con/da Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26161245&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--6951--Time-posix-patch.-tp25958942p26161245.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26159699</id>
	<title>Re: optimizer removes volatile pin access code.why?</title>
	<published>2009-11-02T00:29:22Z</published>
	<updated>2009-11-02T00:29:22Z</updated>
	<author>
		<name>David Brown-4</name>
	</author>
	<content type="html">Weddington, Eric wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; -----Original Message----- From: 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26159699&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list-bounces+eric.weddington=atmel.com@...&lt;/a&gt; 
&lt;br&gt;&amp;gt;&amp;gt; [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu. org]
&lt;br&gt;&amp;gt;&amp;gt; On Behalf Of Joerg Wunsch Sent: Sunday, November 01, 2009 11:25 PM 
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26159699&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt; Subject: Re: [avr-gcc-list] Re:
&lt;br&gt;&amp;gt;&amp;gt; optimizer removes volatile pin access code.why?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; David Brown &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26159699&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It might be worth filing a report for a better clarification in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the documentation (does that need a bug report?) to make it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; clearer that &amp;quot;always_inline&amp;quot; has no effect without a normal
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;inline&amp;quot; declaration.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is what the GCC 4.3.2 manual says:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; always_inline Generally, functions are not inlined unless
&lt;br&gt;&amp;gt; optimization is specified. For functions declared inline, this
&lt;br&gt;&amp;gt; attribute inlines the function even if no optimization level was
&lt;br&gt;&amp;gt; specified.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So it does say &amp;quot;for functions declared inline&amp;quot;. With this
&lt;br&gt;&amp;gt; description, the &amp;quot;always_inline&amp;quot; attribute is really affecting how
&lt;br&gt;&amp;gt; the optimization works, not how inlining works per se, i.e. one still
&lt;br&gt;&amp;gt; has to mark the function as &amp;quot;inline&amp;quot; for inlining to happen. The
&lt;br&gt;&amp;gt; always_inline attribute tells the optimizer to inline even at -O0,
&lt;br&gt;&amp;gt; which apparently is not the default behaviour.
&lt;/div&gt;&lt;br&gt;As far as I have seen, the compiler has been working exactly as it says 
&lt;br&gt;in the manual (quoted above). &amp;nbsp;If anyone can post a code snippet and 
&lt;br&gt;compiler flags that contradict that, then please do so!
&lt;br&gt;&lt;br&gt;Would it be reasonable to ask for a change in the documentation, since 
&lt;br&gt;several people have been caught out by it? &amp;nbsp;Alternatively, should we ask 
&lt;br&gt;for __attribute__((always_inline)) to imply inline, or give a warning if 
&lt;br&gt;it is used for a non-inline function? &amp;nbsp;I certainly can't think of any 
&lt;br&gt;situation where you would want always_inline but not normal inline.
&lt;br&gt;&lt;br&gt;mvh.,
&lt;br&gt;&lt;br&gt;David
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26159699&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optimizer-removes-volatile-pin-access-code.-why--tp26076203p26159699.html" />
</entry>

</feed>
