This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ubsan] Add libcall arguments


On Sat, Jul 20, 2013 at 02:04:24AM -0400, Jason Merrill wrote:
> On 07/19/2013 03:01 PM, Marek Polacek wrote:
> >On Fri, Jul 19, 2013 at 08:50:42PM +0200, Jakub Jelinek wrote:
> >>uintptr_type_node is a C/C++/ObjC/ObjC++ FE tree.  So, if you use it just
> >>in c-family/c-ubsan.c, that is just fine, but you can't use it in ubsan.c.
> 
> Any reason not to move it into the middle-end?

I don't know, but it seems iffy to pluck out one particular type of
those supplemented when adding the support of stdint.h types.
We'd have to move all of them into the middle-end (from
c_common_nodes_and_builtins).  I'm not sure if it's worth it.

	Marek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]