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]

Re: c/6123: sparc-sun-solaris2.7 gcc-3.1 C testsuite failure in verify_local_live_at_start w/-fpic|-fPIC on gcc.dg/20020312-2.c


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6123

Hi,

I can confirm this on sparc with GNU-ld and on linux. A minimal example
for the sparc i386 case is this (compile with gcc -O -fpic to get the ICE):

register void *reg __asm__("ebx");

void f (void)
{
  goto *(&&bar);
    foo:
      reg = (void *) 1;
      if (!reg)
        goto bar;
      reg = &&foo;

 bar:
 baz:
  reg = 0;
}

Replace ebx with l7 on sparc.

    regards   Christian

-- 
THAT'S ALL FOLKS!


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