public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60845] New: print original type for typedef classes in diagnostics
@ 2014-04-15 12:51 manu at gcc dot gnu.org
  2014-12-01 14:58 ` [Bug c++/60845] " paolo at gcc dot gnu.org
  2014-12-01 14:59 ` paolo.carlini at oracle dot com
  0 siblings, 2 replies; 3+ messages in thread
From: manu at gcc dot gnu.org @ 2014-04-15 12:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60845
           Summary: print original type for typedef classes in diagnostics
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manu at gcc dot gnu.org

class A { };
typedef A B;
void foo (B &a) {
  a.x();
}

test.cc:4:5: error: ‘B’ has no member named ‘x’
   a.x();
     ^

It would be nicer as:

test.cc:4:5: error: ‘B’ {aka: 'A'} has no member named ‘x’
   a.x();
     ^
>From gcc-bugs-return-449057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 15 12:52:38 2014
Return-Path: <gcc-bugs-return-449057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23129 invoked by alias); 15 Apr 2014 12:52:38 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 23108 invoked by uid 48); 15 Apr 2014 12:52:35 -0000
From: "ysrumyan at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/60823] [4.9/4.10 Regression] ICE in gimple_expand_cfg, at cfgexpand.c:5644
Date: Tue, 15 Apr 2014 12:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ysrumyan at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.1
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60823-4-bMeteadguN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60823-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60823-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-04/txt/msg01077.txt.bz2
Content-length: 245

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`823

--- Comment #3 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
I'd like to notice that this is test with using 'omp declare simd' pragma and
issue is rather related to its support in gcc.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/60845] print original type for typedef classes in diagnostics
  2014-04-15 12:51 [Bug c++/60845] New: print original type for typedef classes in diagnostics manu at gcc dot gnu.org
@ 2014-12-01 14:58 ` paolo at gcc dot gnu.org
  2014-12-01 14:59 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: paolo at gcc dot gnu.org @ 2014-12-01 14:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60845

--- Comment #1 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Dec  1 14:58:01 2014
New Revision: 218218

URL: https://gcc.gnu.org/viewcvs?rev=218218&root=gcc&view=rev
Log:
/cp
2014-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/60845
    * typeck.c (finish_class_member_access_expr): Use %q#T instead of
    %qD in error message.

/testsuite
2014-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/60845
    * g++.dg/parse/error55.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/error55.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/60845] print original type for typedef classes in diagnostics
  2014-04-15 12:51 [Bug c++/60845] New: print original type for typedef classes in diagnostics manu at gcc dot gnu.org
  2014-12-01 14:58 ` [Bug c++/60845] " paolo at gcc dot gnu.org
@ 2014-12-01 14:59 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-12-01 14:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60845

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.0

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-01 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-15 12:51 [Bug c++/60845] New: print original type for typedef classes in diagnostics manu at gcc dot gnu.org
2014-12-01 14:58 ` [Bug c++/60845] " paolo at gcc dot gnu.org
2014-12-01 14:59 ` paolo.carlini at oracle dot com

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).