[Bug c++/12909] ambiguity in mangling vector types

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sat May 22 04:05:00 GMT 2010



------- Comment #22 from howarth at nitro dot med dot uc dot edu  2010-05-22 04:04 -------
It appears that dg-require-alias doesn't report the absence of alias support if
only weak alias support is detected...

# If this target does not support the "alias" attribute, skip this
# test.

proc dg-require-alias { args } {
    set alias_available [ check_alias_available ]
    if { $alias_available == -1 } {
        upvar name name
        unresolved "$name"
    }
    if { $alias_available < 2 } {
        upvar dg-do-what dg-do-what
        set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
    }
}

in lib/target-supports-dg.exp and...

# proc check_alias_available { }
###############################

# Determine if the target toolchain supports the alias attribute.

# Returns 2 if the target supports aliases.  Returns 1 if the target
# only supports weak aliased.  Returns 0 if the target does not
# support aliases at all.  Returns -1 if support for aliases could not
# be determined.

in lib/target-supports.exp.


-- 


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



More information about the Gcc-bugs mailing list