public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/49118] Endless operator-> chain causes infinite loop
Date: Fri, 10 Jun 2011 05:18:00 -0000	[thread overview]
Message-ID: <bug-49118-4-dVCcNyXkl7@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49118-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-10 05:18:40 UTC ---
Author: jason
Date: Fri Jun 10 05:18:36 2011
New Revision: 174889

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174889
Log:
    PR c++/49118
    * typeck2.c (build_x_arrow): Push fake template context
    to produce diagnostic on acyclic endless operator-> drill-down.
    * call.c (build_new_op): Change Boolean overload status
    value to a pointer to the overload function.
    * cp-tree.h: Likewise.
    * typeck.c: Likewise.
    * parser.c: Likewise.
    * decl2.c: Likewise.
    * pt.c: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/template/arrow1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/typeck.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2011-06-10  5:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23  2:56 [Bug c++/49118] New: " potswa at mac dot com
2011-05-23  8:13 ` [Bug c++/49118] " paolo.carlini at oracle dot com
2011-05-23  9:26 ` redi at gcc dot gnu.org
2011-05-23 11:24 ` rguenth at gcc dot gnu.org
2011-05-26  3:43 ` potswa at mac dot com
2011-05-26  5:44 ` potswa at mac dot com
2011-05-26  9:53 ` paolo.carlini at oracle dot com
2011-05-26 11:06 ` potswa at mac dot com
2011-06-10  5:18 ` jason at gcc dot gnu.org [this message]
2011-06-10  5:25 ` potswa at mac dot com
2011-07-01  0:56 ` jason at gcc dot gnu.org
2013-02-25 22:45 ` 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-49118-4-dVCcNyXkl7@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).