diff options
author | Alexandre Oliva <oliva@adacore.com> | 2023-06-13 05:52:22 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2023-06-13 05:52:22 -0300 |
commit | d438b67e005bf8fc9e4af26410bf69816c30e969 (patch) | |
tree | a689745c70638c57d76ba2b1a0c19c17aeb22b09 /gcc/expr.cc | |
parent | 0f3d07e16fec7bea2fd033d9ec8ff08ea7effa39 (diff) | |
download | gcc-d438b67e005bf8fc9e4af26410bf69816c30e969.zip gcc-d438b67e005bf8fc9e4af26410bf69816c30e969.tar.gz gcc-d438b67e005bf8fc9e4af26410bf69816c30e969.tar.bz2 |
fix frange_nextafter odr violation
C++ requires inline functions to be declared inline and defined in
every translation unit that uses them. frange_nextafter is used in
gimple-range-op.cc but it's only defined as inline in
range-op-float.cc. Drop the extraneous inline specifier.
Other non-static inline functions in range-op-float.cc are not
referenced elsewhere, so I'm making them static.
for gcc/ChangeLog
* range-op-float.cc (frange_nextafter): Drop inline.
(frelop_early_resolve): Add static.
(frange_float): Likewise.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions