[Bug testsuite/114182] gcc.c-torture/compile/attr-complex-method-2.c fails for H8/300
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 1 00:58:06 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114182
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Keywords| |testsuite-fail
Last reconfirmed| |2024-03-01
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Most likely it would be better to have a target support proc that returns if
`double == float` and use that.
Oh there is large_double already. You should just use that instead.
So just:
/* { dg-final { scan-tree-dump "__(?:gnu_)?divdc3" "optimized" { target { ! {
large_double } } } } } */
/* { dg-final { scan-tree-dump "__(?:gnu_)?divsc3" "optimized" { target {
large_double } } } } */
>Similarly, shouldn't attr-complex-method.c also search for __divsc3 for AVR, H8/300 and possibly a few other architectures?
Most likely yes.
More information about the Gcc-bugs
mailing list