public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/60078] acats c761007 fails on ARM Date: Thu, 06 Feb 2014 09:08:00 -0000 [thread overview] Message-ID: <bug-60078-4-6ihf26YZPd@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-60078-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60078 --- Comment #6 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- Eric, could it be that the Finalize procedure is missing some sort of spin lock? ed@w-ed:~/gnu/gcc-build/gcc/testsuite/ada/acats/tests/c7/c761007$ cat c761007_0.adb -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- with TCTouch; package body C761007_0 is procedure Finalize( I : in out Internal ) is Previous_Side_Effect : Boolean := False; begin -- look to see if this character has been finalized yet for SEI in 1..Side_Effect_Finger loop Previous_Side_Effect := Previous_Side_Effect or Side_Effect(Side_Effect_Finger) = I.Effect; end loop; delay 0.01; -- <= additional delay here -- if not, then tack it on to the string, and touch the character if not Previous_Side_Effect then Side_Effect_Finger := Side_Effect_Finger +1; Side_Effect(Side_Effect_Finger) := I.Effect; TCTouch.Touch(I.Effect); end if; end Finalize; end C761007_0; ed@w-ed:~/gnu/gcc-build/gcc/testsuite/ada/acats/tests/c7/c761007$ ./c761007 ,.,. C761007 ACATS 2.5 14-02-06 10:05:45 ---- C761007 Check that if a finalize procedure invoked by a transfer of control or selection of a terminate alternative attempts to propagate an exception, the exception is ignored, but any other finalizations due to be performed are performed. * C761007 Asynchronously aborted operation Expecting: GHIJ Got: GHHIJ. **** C761007 FAILED ****************************.
next prev parent reply other threads:[~2014-02-06 9:08 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-02-05 14:47 [Bug ada/60078] New: " bernd.edlinger at hotmail dot de 2014-02-05 18:26 ` [Bug ada/60078] " mikpelinux at gmail dot com 2014-02-05 18:43 ` ebotcazou at gcc dot gnu.org 2014-02-05 19:52 ` mikpelinux at gmail dot com 2014-02-06 9:08 ` bernd.edlinger at hotmail dot de [this message] 2014-02-06 11:37 ` ebotcazou at gcc dot gnu.org [not found] ` <bug-60078-4-vWURbZQ2ze@http.gcc.gnu.org/bugzilla/> 2014-02-06 13:24 ` Arnaud Charlet 2014-02-06 13:25 ` charlet at adacore dot com 2014-02-06 13:40 ` bernd.edlinger at hotmail dot de 2014-02-06 13:46 ` Arnaud Charlet 2014-02-06 13:46 ` charlet at adacore dot com 2014-02-06 14:03 ` bernd.edlinger at hotmail dot de 2015-01-01 14:41 ` bernd.edlinger at hotmail dot de 2015-01-04 17:42 ` ebotcazou at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-60078-4-6ihf26YZPd@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).