This is the mail archive of the gcc-bugs@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]

[Bug c++/80613] ice in is_gimple_reg_type with -O2


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80613

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Reduced C++ code is

extern "C" void free(void *);
char *a(int);
extern "C" char *strdup(const char *);
int b;
void c() {
  for (;;) {
    char d = *a(b);
    char *e = strdup(&d);
    free(e);
  }
}

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