public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/51934] FAIL: g++.dg/torture/pr51344.C  -O0  (test for excess errors)  due to "cdecl attribute ignored" warning
Date: Mon, 23 Jan 2012 15:06:00 -0000	[thread overview]
Message-ID: <bug-51934-4-iadcLrDffQ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-51934-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934

--- Comment #13 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-01-23 14:55:08 UTC ---
> Log:
>     PR target/51934
>     * g++.dg/torture/pr51344.C: Use noreturn instead of cdecl.
>
> Should be fixed now.

The use of 'noreturn' yields a warning with g++ 4.6.2 and not an infinite loop:

[macbook] f90/bug% time g++-fsf-4.6 -c pr51344_db.C
pr51344_db.C: In function 'A& operator>>(A&, B<T>&)':
pr51344_db.C:9:12: warning: function declared 'noreturn' has a 'return'
statement [enabled by default]
0.012u 0.024s 0:00.93 3.2%    0+0k 3+13io 0pf+0w

so IMO the test is no longer testing what has been fixed (see comment #8 for a
list of what I have tried).


  parent reply	other threads:[~2012-01-23 14:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-21 16:11 [Bug target/51934] New: FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) on powerpc*-*-* dominiq at lps dot ens.fr
2012-01-21 16:16 ` [Bug target/51934] " mikpe at it dot uu.se
2012-01-21 17:32 ` dominiq at lps dot ens.fr
2012-01-21 21:31 ` mikpe at it dot uu.se
2012-01-21 22:32 ` dominiq at lps dot ens.fr
2012-01-21 22:54 ` jakub at gcc dot gnu.org
2012-01-21 23:43 ` dominiq at lps dot ens.fr
2012-01-21 23:58 ` jakub at gcc dot gnu.org
2012-01-22  0:54 ` dominiq at lps dot ens.fr
2012-01-23 12:52 ` dominiq at lps dot ens.fr
2012-01-23 12:55 ` [Bug target/51934] FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to "cdecl attribute ignored" warning dominiq at lps dot ens.fr
2012-01-23 14:55 ` jason at gcc dot gnu.org
2012-01-23 14:58 ` jason at gcc dot gnu.org
2012-01-23 15:06 ` dominiq at lps dot ens.fr [this message]
2012-01-23 15:20 ` jakub at gcc dot gnu.org
2012-01-23 15:27 ` dominiq at lps dot ens.fr
2012-01-23 15:51 ` jason at gcc dot gnu.org
2012-01-23 16:09 ` dominiq at lps dot ens.fr
2012-01-23 16:36 ` jakub at gcc dot gnu.org
2012-01-23 22:47 ` dominiq at lps dot ens.fr
2012-01-24  6:06 ` jason at gcc dot gnu.org
2012-01-25 15:16 ` danglin at gcc dot gnu.org
2012-01-25 17:24 ` jason at gcc dot gnu.org
2012-01-25 19:27 ` danglin at gcc dot gnu.org
2012-03-06  8:28 ` jakub at gcc dot gnu.org
2012-03-06  8:31 ` jakub 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-51934-4-iadcLrDffQ@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: link
Be 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).