This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/13206] support gcc's typeof
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 28 Jun 2012 15:39:23 +0000
- Subject: [Bug exp/13206] support gcc's typeof
- Auto-submitted: auto-generated
- References: <bug-13206-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13206
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware |tromey at redhat dot com
|dot org |
--- Comment #4 from Tom Tromey <tromey at redhat dot com> 2012-06-28 15:39:23 UTC ---
Working on it.
It seems reasonably hard to do in full generality.
E.g., you have to support it in arguments to function types like:
print (void (*) (typeof (x))) &function
I may not do that but I'll at least handle the more obviously
useful cases.
It seems like decltype can use the same code.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.