Skip to content

Not DSEing of stores to aggregates arguments #141200

Open
@pinskia

Description

@pinskia

Take:

struct f
{
  int a[1024];
};
struct f h(struct f a1)
{
  struct f a = {};
  a1 = a;
  return a;
}

There should only be 1 memset (zeroing) in the function h.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions