Project

General

Profile

Bug #13566

libm: 'fq[0]' may be used uninitialized

Added by Toomas Soome 19 days ago. Updated 19 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build error with gcc 10:

    ../common/C/__rem_pio2m.c: In function '__libm__rem_pio2m':
    ../common/C/__rem_pio2m.c:329:10: error: 'fq[0]' may be used uninitialized in this function [-Werror=maybe-uni
    nitialized]
      329 |   fw = fq[0] - fw;
          |        ~~^~~
    cc1: all warnings being treated as errors
    *** Error code 1
    dmake: Warning: Command failed for target `pics/__rem_pio2m.o'
    Current working directory /code/illumos-gate/usr/src/lib/libm/amd64

#1

Updated by Electric Monk 19 days ago

  • Gerrit CR set to 1274

Also available in: Atom PDF