[Bug c++/84881] internal compiler error: in assign_temp, at function.c:968 when building for gnueabihf

2018-03-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84881

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||marxin at gcc dot gnu.org
 Resolution|--- |DUPLICATE

--- Comment #3 from Martin Liška  ---
According to reduced test-case it's dup:

typedef struct {
  char a[6];
} b;
void *operator new(unsigned, void *c, int, char *) { return c; }
class d {
public:
  d(int);
};
class e {
public:
  enum {} f;
  e call(d, const e **, int, int);
  ~e();
};
b g() {
  int h, error;
  e *i;
  int *j;
  const e **args;
  b k;
  e *dest = (e *)
  new (dest, sizeof(e), "") e(i->call(*j, args, h, error));
  return k;
}

*** This bug has been marked as a duplicate of bug 79085 ***

[Bug c++/84881] internal compiler error: in assign_temp, at function.c:968 when building for gnueabihf

2018-03-15 Thread hp at tmm dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84881

--- Comment #2 from Hein-Pieter van Braam  ---
Created attachment 43666
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43666=edit
Result of the compilation with -fbugreport enabled

[Bug c++/84881] internal compiler error: in assign_temp, at function.c:968 when building for gnueabihf

2018-03-15 Thread hp at tmm dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84881

--- Comment #1 from Hein-Pieter van Braam  ---
I forgot to mention: The ICE doesn't happen when building for i686 or x86_64.