bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28614] [AArch64] opcodes/aarch64-*: -Werror=maybe-uninitia


From: nickc at redhat dot com
Subject: [Bug binutils/28614] [AArch64] opcodes/aarch64-*: -Werror=maybe-uninitialized hit unless assertations are enabled
Date: Thu, 25 Nov 2021 13:14:17 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28614

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |nickc at redhat dot com
         Resolution|---                         |FIXED

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
I am not a fan of using abort() inside a library.  In my opinion library calls
should never fail.  If they cannot complete they should return some kind of
error indication and allow their caller to decide what should be done.

To that end I have applied my own patch which replaces the assert(0)
invocations with "return false" or something similar.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]