From: Patrick Palka <patrick@parcs.ath.cx>
To: Jason Merrill <jason@redhat.com>
Cc: "GCC Patches" <gcc-patches@gcc.gnu.org>,
"Manuel López-Ibáñez" <lopezibanez@gmail.com>
Subject: Re: [PATCH] Fix PR c++/18969 (invalid return statement diagnosed too late)
Date: Sun, 26 Jul 2015 17:50:00 -0000 [thread overview]
Message-ID: <CA+C-WL-dxy4jO+8w1ZLE5iSampTi+oMecUpkSuuubw22=x-vBQ@mail.gmail.com> (raw)
In-Reply-To: <55B4581F.1080900@redhat.com>
Committed with this additional change to fix a latent testcase bug:
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/overload.C
b/gcc/testsuite/g++.old-deja/g++.jason/overload.C
index 6a747ff..28b029f 100644
--- a/gcc/testsuite/g++.old-deja/g++.jason/overload.C
+++ b/gcc/testsuite/g++.old-deja/g++.jason/overload.C
@@ -5,7 +5,7 @@ enum bar {};
void operator+ (int, int);// { dg-error "" } .*
void operator+ (bar&, int);
-template <class T> void operator+ (int b, T& t) { return b; }
+template <class T> void operator+ (int b, T& t) { return; }
void operator+ (int, bar&);
template <class T> class foo
next prev parent reply other threads:[~2015-07-26 17:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-26 3:47 Patrick Palka
2015-07-26 8:40 ` Jason Merrill
2015-07-26 17:50 ` Patrick Palka [this message]
2015-07-26 19:10 ` Patrick Palka
2015-08-20 22:53 ` Jason Merrill
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='CA+C-WL-dxy4jO+8w1ZLE5iSampTi+oMecUpkSuuubw22=x-vBQ@mail.gmail.com' \
--to=patrick@parcs.ath.cx \
--cc=gcc-patches@gcc.gnu.org \
--cc=jason@redhat.com \
--cc=lopezibanez@gmail.com \
/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).