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: tnfchris at sourceware dot org
Subject: [Bug binutils/28614] [AArch64] opcodes/aarch64-*: -Werror=maybe-uninitialized hit unless assertations are enabled
Date: Fri, 26 Nov 2021 11:44:52 +0000

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

Tamar Christina <tnfchris at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tnfchris at sourceware dot org

--- Comment #5 from Tamar Christina <tnfchris at sourceware dot org> ---
(In reply to Nick Clifton from comment #3)
> 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.

Perhaps we should turn off asserts in opcodes? to prevent similar usages in the
future?

-- 
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]