Project

General

Profile

Actions

Bug #9714

closed

libstand: dereferencing type-punned pointer will break strict-aliasing rules

Added by Toomas Soome almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2018-08-08
Due date:
% Done:

100%

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

Description

The gcc 4.4.4 issue (gcc 7 does not complain).

    cc1: warnings being treated as errors
    /code/illumos-gate/usr/src/boot/lib/libstand/cd9660.c: In function 'cd9660_open':
    /code/illumos-gate/usr/src/boot/lib/libstand/cd9660.c:306: error: dereferencing type-punned pointer will break strict-aliasing rules

Actions #1

Updated by Electric Monk almost 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 567af71db40b696d77b6f0112d8cb20c4dc3ad93

commit  567af71db40b696d77b6f0112d8cb20c4dc3ad93
Author: Toomas Soome <tsoome@me.com>
Date:   2018-08-09T15:06:30.000Z

    9714 libstand: dereferencing type-punned pointer will break strict-aliasing rules
    Reviewed by: Jason King <jason.king@joyent.com>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF