From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Compiler doesn't respect 'Size for atomic object Date: Fri, 22 Dec 2017 10:21:25 +0000 Organization: A noiseless patient Spider Message-ID: References: <609cb46c-3565-483b-a2b0-2b5d2cfda80a@googlegroups.com> <5b0ffdb9-07d7-4ecb-96fb-a8052519929d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="d0f737536103a35fad3c9b3eb96b1219"; logging-data="10851"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zrOkfq/9BLuo30KV4+sGffBs+Xbqizj8=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:jCYXilzuH7sL0cuvMOtjNk0PPzU= sha1:6b0gu2VWbnhjHHsoCK0M09ynRlA= Xref: reader02.eternal-september.org comp.lang.ada:49585 Date: 2017-12-22T10:21:25+00:00 List-Id: Robert Eachus writes: > On Thursday, December 21, 2017 at 5:02:07 PM UTC-5, Simon Wright wrote: >> Robert Eachus writes: > >> It turns out that declaring NVIC_STIR as Unsigned_32 and writing >> >> NVIC_STIR := 16#ffff_ff00# or Interfaces.Unsigned_32 (IRQ); >> >> doesn't generate an interrupt. > > It took me a while to figure out what you were saying. I really need > to find a way to post here that will allow things like boldfacing Ada > reserved words. After I parsed the or as Ada not English, I still > have a problem. that I don't know the value passed as IRQ. I assume > it is a valid interrupt number for an unprivileged program. In the example I posted upthread, type Interrupt_ID is range 0 .. 44; > You should report this to Ada Core as a bug. I'm just not convinced > it is an Ada bug or a compiler front end bug, not a Cortex-M code > generator bug. Reported (via GCC bugzilla, since we're talking GCC 8); accepted; fixed (r255958).