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

--- Comment #1 from Andi Kleen <andi-gcc at firstfloor dot org> ---
Created attachment 45281
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45281&action=edit
test case (unminimized)

gcc-9 -O2 -S -flto arch/x86/events/intel/pt.i
/home/ak/lsrc/linux/arch/x86/events/intel/pt.c: In function
'pt_buffer_reset_offsets':
/home/ak/lsrc/linux/arch/x86/events/intel/pt.c:1539:1: error: type mismatch in
component reference
 1539 | arch_initcall(pt_init);
      | ^~~~~~
struct topa_entry *[0:]

struct topa_entry *[0:]

_13 = buf->topa_index[pg];
/home/ak/lsrc/linux/arch/x86/events/intel/pt.c:1539:1: error: type mismatch in
component reference
struct topa_entry *[0:]

struct topa_entry *[0:]

_17 = buf->topa_index[pg];
during IPA pass: *free_lang_data

Reply via email to