avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] [bugs #11396] Large number jumps to hyperspace


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [bugs #11396] Large number jumps to hyperspace
Date: Sun, 26 Dec 2004 11:07:04 +0100
User-agent: Mutt/1.4.2.1i

As anonymous wrote:

> Summary:  Large number jumps to hyperspace

> Original Submission:  This code:

>   uint16_t baud=9600
>   uint16_t reg=16000000/(16*baud) - 1;

> makes an atmega16 jump to some spurious place and crash.  Using
> avr-libc 1.0.5 avr-gcc (GCC) 3.4.3 GNU avr-ld version 2.15

Sounds more like a GCC bug to me.

Anyway, as this code cannot `jump' at all (nothing is really
executed), do you perhaps have a complete compilable example where
this can be reproduced?

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]