[Bug target/65771] [5 Regression] ICE (in loc_list_from_tree, at dwarf2out.c:14964) on arm-linux-gnueabihf

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 16 14:10:00 GMT 2015


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Better testcase (no UB, warning free):

struct S { int s; int t; };
__thread struct S a[10];
int b;

void
foo ()
{
  int c = a[b].t;
  (void) c;
}



More information about the Gcc-bugs mailing list