Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
trunk/binutils/prdbg.c:2140:26: error: Using pointer to local variable 'idbuf'
that is out of scope. [inval
https://sourceware.org/bugzilla/show_bug.cgi?id=22663
dcb changed:
What|Removed |Added
CC||nickc at sourceware dot org
--
You are receivi
: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Source code is
printfdbg ("cfnegd mvd%d = -mvd%d =
https://sourceware.org/bugzilla/show_bug.cgi?id=22662
dcb changed:
What|Removed |Added
CC||kuanlinchentw at gmail dot com
--
You are rece
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
[src/bfd/elf32-nds32.c:10609]: (style) Same expression on both sides of '||'.
if (range_type == NDS32_LOADSTORE_FLOAT_S
||
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: dcb314 at hotmail dot com
CC: ian at airs dot com
Target Milestone: ---
binutils-2.29.1/gold/sparc.cc:4167] -> [binutils-2.29.1/gold/sparc
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: dcb314 at hotmail dot com
CC: ian at airs dot com
Target Milestone: ---
gold/aarch64.cc:8054]: (style) Redundant condition: pair. '!pair || (pair &&
!load)' is equivalent
https://sourceware.org/bugzilla/show_bug.cgi?id=18874
--- Comment #1 from dcb ---
Still broken, some eleven months later.
--
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
ht
https://sourceware.org/bugzilla/show_bug.cgi?id=19277
--- Comment #1 from dcb ---
Still broken some eight months later.
binutils-gdb/gold/arm.cc:4542]: (error) Returning/dereferencing 'buffer' after
it is deallocated / released
--
You are receiving this mail because:
You are on the CC list for
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Source code is
|| SIZE_OF_PR20070B_C < sizeof EXPECTED_VIEW_LENGTH
but
#define EXPEC
: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
[src/sim/rx/fpu.c:436]: (style) Expression is always false because 'else if'
condition matches previous condition at line 434.
Source code is
if (a->ty
https://sourceware.org/bugzilla/show_bug.cgi?id=19793
--- Comment #3 from dcb ---
>There are a few other places in gold where we should also pass by const
>>reference instead of value for std::string.
$ fgrep "src/gold" cppcheck.20160308.out | fgrep "(performance)"
[src/gold/archive.cc:506]: (p
: gold
Assignee: ccoutant at gmail dot com
Reporter: dcb314 at hotmail dot com
CC: ian at airs dot com
Target Milestone: ---
1.
[src/gold/archive.cc:506]: (performance) Function parameter 'p' should be
passed by reference.
Source code is
operat
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: dcb314 at hotmail dot com
CC: ian at airs dot com
Target Milestone: ---
[src/gold/script-sections.cc:1475]: (performance) Function parameter 'name'
should be
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
[src/binutils/readelf.c:4000]: (warning) Variable 'result' is reassigned a
value before the old one has been used. 'break;' miss
https://sourceware.org/bugzilla/show_bug.cgi?id=19310
--- Comment #2 from dcb ---
>will this do the trick ?
It certainly seems to shut up cppcheck, the static analyser.
Not sure how to get gcc or clang to detect this problem.
$ cat dec4a.cc
extern void g( const char *);
void
f( const char *
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
[src/binutils/dwarf.c:6459]: (warning) Invalid test for overflow
'start+ul= block_end || start + ul > block_end || st
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: dcb314 at hotmail dot com
CC: ian at airs dot com
Target Milestone: ---
[binutils-gdb/gold/arm.cc:4513]: (error) Returning/dereferencing 'buffer' after
it is deallocated / released
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
sim/common/sim-utils.c:336]: (error) va_list 'ap' was opened but not closed by
va_end().
Source code is
va_start (ap, fmt);
if (vasprintf
: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
[src/opcodes/h8300-dis.c:547]: (style) Expression is always false because 'else
if' condition matches previous condition at line 436.
if (looking_fo
Assignee: ccoutant at gmail dot com
Reporter: dcb314 at hotmail dot com
CC: ian at airs dot com
Target Milestone: ---
[src/gold/gc.h:207]: (performance) Passing the result of c_str() to a function
that takes std::string as argument no. 1 is slow and redundant
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
../../src/bfd/elf.c:1240:26: warning: self-comparison always evaluates to true
[-Wtautological-compare]
Source code is
|| oheader->sh_type == oheader->sh_type)
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
[src/bfd/coff-sh.c:2330] -> [src/bfd/coff-sh.c:2330]: (style) Same expression
on both sides of '/'.
sh_opcodes[0xf].count = sizeof sh_dsp_opc
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
config/xtensa-relax.c:872] -> [src/gas/config/xtensa-relax.c:872]: (style) Same
expression on both sides of '||'.
if (m1->operand_name == NULL || m1->o
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
config/tc-tic4x.c:2357]: (warning) Logical conjunction always evaluates to
false: EXPR < 4 && EXPR > 5.
Source code is
if (tinsn->num_operands < 4 &&
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
gas/config/tc-mmix.c:1479]: (warning) Logical conjunction always evaluates to
false: EXPR < 0 && EXPR > 4.
&& exp[1].X_add_number &l
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
1.
[binutils-gdb/gas/config/tc-msp430.c:2072]: (style) Redundant condition:
!op1.reg. 'A && (!A || B)' is equivalent to 'A || B'
Source
: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
[src/opcodes/msp430-dis.c:69]: (style) Expression '(X & 0xf00) != 0x3' is
always true.
[src/opcodes/msp430-dis.c:69]: (style) Expression '(X & 0
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
I just ran static analyser cppcheck over the source code
of the simulator in binutils.
It said many things, but I think these are the most important.
1.
[src/sim/bfin/bfin-sim.c:4320]: (style) Same
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
I just tried to compile trunk binutils with clang. It said
../../src/gdb/compile/compile-loc2c.c:729:6: warning: variable 'uoffset' is
uninitialized when used here [-Wuni
https://sourceware.org/bugzilla/show_bug.cgi?id=16027
--- Comment #7 from dcb ---
>Thanks - I have downloaded and built the tool and added an invocation of
>it to my master makefile...
Marvellous.
I find the default flag settings for it to be pretty quiet.
My usual settings are --enable=warnin
https://sourceware.org/bugzilla/show_bug.cgi?id=16027
--- Comment #3 from dcb ---
>Thanks for reporting all of these bugs!
All part of the service, sir ;->
You may wish to consider having cppcheck
http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page
as part of your develo
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
I just ran the static analyser "cppcheck" over the source code
of the linker. It said
[binutils-2.23.2/ld/ldmain.c:729]: (error) Resource leak: file
I ch
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
[binutils-2.23.2/gprof/corefile.c:166]: (error) Resource leak: file
[binutils-2.23.2/gprof/source.c:263]: (error) Resource leak: ifp
I have checked them both and I recommend a couple of calls to
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Source code is
case 0xff:
opcode = 0xfe;
case 0xe8:
Suggest add missing break.
--
You are receiving this mail because:
You are on the CC
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Source code is
case EPIPHANY_RELAX_LDST_IMM3:
addend = ((addend & 7) << 5) | opcode[0];
opindx = EPIPHANY_OPERAND_DISP3;
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Source code is
case 'H':
usage (stdout, 0);
seenflag = TRUE;
case 'v':
case 'V':
Suggest a
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Source code is
case DEBUG_KIND_RANGE:
ret = (t1->u.krange->lower == t2->u.krange->lower
&& t1->u.krange->up
https://sourceware.org/bugzilla/show_bug.cgi?id=15993
--- Comment #9 from dcb ---
>gdb-7.6.1/bfd/elf32-rl78.c:1112 and gdb-7.6.1/bfd/elf32-rx.c:3180 are BFD bugs
>and should be opened against binutils.
Done. Bugs # 16021 and 16022
--
You are receiving this mail because:
You are on the CC lis
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
I just ran the static analyser cppcheck over the source code
of binutils-2.23.2
It said
[binutils-2.23.2/bfd/elf32-rx.c:3142] -> [binutils-2.23.2/bfd/el
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
I just ran the static analysis tool "cppcheck" over the
source code of binutils-2.23.2
It said
[binutils-2.23.2/bfd/elf32-rl78.c:1110] ->
[binuti
https://sourceware.org/bugzilla/show_bug.cgi?id=15993
--- Comment #8 from dcb ---
>gdb-7.6.1/sim/erc32/float.c:95 is a GDB bug and can be opened against it. You
>>can put me on the Cc list and I will take ownership.
Done. Bug #16108
--
You are receiving this mail because:
You are on the CC
https://sourceware.org/bugzilla/show_bug.cgi?id=15993
--- Comment #4 from dcb ---
(In reply to dcb from comment #3)
> (In reply to Sergio Durigan Junior from comment #1)
> > I will post a patch soon.
>
> Thanks.
>
> Similar problems at
>
> gdb-7.6.1/bfd/elf32-rl78.c:1112
>
> gdb-7.6.1/bfd/el
https://sourceware.org/bugzilla/show_bug.cgi?id=15993
--- Comment #3 from dcb ---
(In reply to Sergio Durigan Junior from comment #1)
> I will post a patch soon.
Thanks.
Similar problems at
gdb-7.6.1/bfd/elf32-rl78.c:1112
gdb-7.6.1/bfd/elf32-rx.c:3180
--
You are receiving this mail because
44 matches
Mail list logo