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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [ieee/] [hugeval.x] - Rev 688

Compare with Previous | Blame | View Log

# This test fails under hpux 9.X and 10.X because HUGE_VAL is DBL_MAX
# instead of +Infinity.

global target_triplet
if { [istarget "hppa*-*-hpux9*"] || [istarget "hppa*-*-hpux10*"] } {
      set torture_execute_xfail "$target_triplet"
}

# VxWorks kernel mode has the same problem.
if {[istarget "*-*-vxworks*"]} {
    set torture_eval_before_execute {
        global compiler_conditional_xfail_data
        set compiler_conditional_xfail_data {
            "The kernel HUGE_VAL is defined to DBL_MAX instead of +Inf."
            { "*-*-*" }
            {}
            { "-mrtp" }
        }
    }
}

if { [istarget "tic6x-*-*"] && [check_effective_target_ti_c67x] } {
    # C6X uses -freciprocal-math by default.
    set torture_execute_xfail "$target_triplet"
    return 1
}

return 0

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.