repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr89234.C
blob
af1526c03915c987dcc5a1f9e60c989f2eda4514
1
// PR rtl-optimization/89234
2
// { dg-do compile { target dfp } }
3
// { dg-options "-O2 -fnon-call-exceptions -fsanitize=null" }
4
5
typedef float __attribute__((mode (SD))) _Decimal32;
6
7
void
8
foo (_Decimal32 *b, _Decimal32 c)
9
{
10
*b = c + 1.5;
11
}