public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/51957] New: [4.7 Regression] ppc64 .debug_loc toc reference
@ 2012-01-23  7:26 jakub at gcc dot gnu.org
  2012-01-23  7:53 ` [Bug target/51957] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-23  7:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51957

             Bug #: 51957
           Summary: [4.7 Regression] ppc64 .debug_loc toc reference
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org
                CC: amodra@gcc.gnu.org
            Target: powerpc64-linux


powerpc64-linux fails to profiledbootstrap due to .toc section reference from
cp/parser.o's .debug_loc section.

Delta reduced testcase:

int v[128];
union R { int c; union R *p; };
extern union R *w[];
typedef struct { int t; } T;
typedef struct { void *u; } U;
union R *fn1 (void);
void fn2 (int, const char *, union R *);
void fn3 (void);
int fn4 (union R *);
void
foo (U *x)
{
  T *a = x->u;
  while (1)
    {
      union R *b;
      b = fn1 ();
      {
        if (b != w[0] && !(v[b->p->c] == 1))
          {
            fn2 (a->t, "foobar", b->p);
            b = w[0];
          }
        if (b != w[0])
          fn3 ();
      }
      if (w[0] && b != w[0])
        fn4 (b->p);
      if (b != w[0] && (v[b->p->c] == 1) && fn4 (b->p))
        break;
    }
}


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-24  7:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-23  7:26 [Bug target/51957] New: [4.7 Regression] ppc64 .debug_loc toc reference jakub at gcc dot gnu.org
2012-01-23  7:53 ` [Bug target/51957] " jakub at gcc dot gnu.org
2012-01-23  8:19 ` jakub at gcc dot gnu.org
2012-01-23 10:53 ` jakub at gcc dot gnu.org
2012-01-23 10:54 ` jakub at gcc dot gnu.org
2012-01-23 14:05 ` jakub at gcc dot gnu.org
2012-01-24  8:00 ` jakub at gcc dot gnu.org
2012-01-24  8:05 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).