public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/46204] New: g++.dg/torture/stackalign/throw-1.C fails to compile on IA64
@ 2010-10-27 23:22 sje at cup dot hp.com
  2010-10-29 21:38 ` [Bug rtl-optimization/46204] " sje at cup dot hp.com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sje at cup dot hp.com @ 2010-10-27 23:22 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: g++.dg/torture/stackalign/throw-1.C fails to compile
                    on IA64
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: link-failure
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sje@cup.hp.com
              Host: ia64-*-*
            Target: ia64-*-*
             Build: ia64-*-*


I am not sure exactly where this is going wrong but when
g++.dg/torture/stackalign/throw-1.C is compiled with -O3 -funroll-loops on IA64
I get an undefined label.

Here is a cutdown test case based on that test:

int global, global2;
int main()
{
        int i,j,k,l,m,n;
   for (i=0; i < global; i++)
   for (k=0; k < j; k++)
   for (l=0; l < k; l++)
   for (m=0; m < l; m++)
       global2 = k;
 throw 0;
}

When I compile it I get:

g++ -O3 -funroll-loops x.C
/tmp/ccVWUtRi.o: In function `main':
x.C:(.text+0xc2): undefined reference to `.L34'
collect2: ld returned 1 exit status


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

end of thread, other threads:[~2011-04-07  6:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-27 23:22 [Bug middle-end/46204] New: g++.dg/torture/stackalign/throw-1.C fails to compile on IA64 sje at cup dot hp.com
2010-10-29 21:38 ` [Bug rtl-optimization/46204] " sje at cup dot hp.com
2010-11-02 17:31 ` amonakov at gcc dot gnu.org
2010-11-13  9:33 ` amonakov at gcc dot gnu.org
2010-11-13 10:02 ` amonakov at gcc dot gnu.org
2011-04-07  6:52 ` abel 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).