This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ubsan] Add libcall arguments
- From: Marek Polacek <polacek at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 20 Jul 2013 10:19:55 +0200
- Subject: Re: [ubsan] Add libcall arguments
- References: <20130705140431 dot GB21800 at redhat dot com> <51E84650 dot 5020708 at redhat dot com> <20130719184530 dot GE3169 at redhat dot com> <20130719185042 dot GY23578 at laptop dot redhat dot com> <20130719190125 dot GG3169 at redhat dot com> <51EA2868 dot 2050701 at redhat dot com>
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