Bug 120974

Summary: nested asssignment statement
Product: [Fedora] Fedora Reporter: d.binderman
Component: binutilsAssignee: Jakub Jelinek <jakub>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-19 07:37:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d.binderman 2004-04-15 19:58:52 UTC
Description of problem:

I just had a look at Core2 Test2 package binutils-2.14.90.0.8-8.1

More deeply, I checked for nested assigments in assert statements. 

I found

[dcb@localhost BUILD]$ find binutils-2.14.90.0.8/ -name \*.c -print |
xargs grep -n "assert.*(.* = "
binutils-2.14.90.0.8/gas/config/tc-xtensa.c:3722:  assert (insn->ntok
= 1);    /* must be only one token here */

I'm not saying this is certainly wrong code, I'm only saying it is
IMHO deeply suspicious code. maybe something else was intended by the
programmer ?


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jakub Jelinek 2004-04-19 07:37:22 UTC
Mailed patch upstream.  We don't ship xtensa products, so it has no
relationship with the distro.