OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.eh/] [crash3.C] - Rev 699

Compare with Previous | Blame | View Log

// { dg-do assemble  }
// Origin: Marc Espie <Marc.Espie@liafa.jussieu.fr>
// Used to use -fsjlj-exceptions, but that isn't an option anymore.

extern double f(double a); 

void 
a()
{
        double e;
        double value;

        if (e == 0)
            throw 1;
        value = f(e);
}

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.