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: [PATCH 1/2] Come up with function_decl_type and use it in tree_function_decl.


On Thu, Jul 25, 2019 at 5:27 PM Martin Liška <mliska@suse.cz> wrote:
>
> On 7/25/19 3:30 PM, Martin Liška wrote:
> > On 7/25/19 2:18 PM, Marc Glisse wrote:
> >> On Thu, 25 Jul 2019, Martin Liška wrote:
> >>
> >>>> DCE has special code to avoid removing the LHS of malloc when it is unused. Is there something different about operator new that makes it not need the same handling?
> >>
> >> If you take gcc.dg/torture/pr51692.c and replace __builtin_calloc (1, sizeof (double)) with new double(), we get an ICE with -O or higher...
> >>
> >
> > I can see, I'm working on that.
> >
> > Martin
> >
>
> There's a patch candidate I've been testing right now.
>
> Ready to be installed after tests?

OK.

Richard.

> Thanks,
> Martin


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