Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 403
    • Issues 403
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1184
Closed
Open
Created Nov 05, 2015 by Raphael 'kena' Poss@rpsGuest

Uninitialized field "appendelse" in SSA transformation

Bugzilla Link 1171
Created on Nov 05, 2015 17:23
Version svn
OS All
Architecture PC

Extended Description

Detected by valgrind:
==46755== Conditional jump or move depends on uninitialised value(s)
==46755==    at 0x68459D3: USSATassign (UndoSSATransform.c:312)
==46755==    by 0x66D72CB: TRAVdo (traverse.c:94)
==46755==    by 0x6845955: USSATassign (UndoSSATransform.c:300)
==46755==    by 0x66D72CB: TRAVdo (traverse.c:94)
==46755==    by 0x6845955: USSATassign (UndoSSATransform.c:300)
==46755==    by 0x66D72CB: TRAVdo (traverse.c:94)
==46755==    by 0x66D7617: TRAVopt (traverse.c:152)
==46755==    by 0x6845254: USSATblock (UndoSSATransform.c:167)
==46755==    by 0x66D72CB: TRAVdo (traverse.c:94)
==46755==    by 0x68450C9: USSATfundef (UndoSSATransform.c:139)
==46755==    by 0x66D72CB: TRAVdo (traverse.c:94)
==46755==    by 0x6845195: USSATfundef (UndoSSATransform.c:147)
The offending code:
/******************************************************************************                                                
 *                                                                                                                             
 * function:                                                                                                                   
 *    node* USSATassign(node *arg_node, info *arg_info)                                                                        
 *                                                                                                                             
 * description:                                                                                                                
 *   traverses instruction and removes tagged assignments.                                                                     
 *                                                                                                                             
 ******************************************************************************/
node *USSATassign(node *arg_node, info *arg_info)
{
  ...
    if ( ( INFO_APPENDELSE( arg_info))) { // <--- HERE, appendelse uninitialized
    arg_node = TCappendAssign( INFO_ELSEASS( arg_info), arg_node);
    INFO_ELSEASS( arg_info) = NULL;
    INFO_APPENDELSE( arg_info) = FALSE;
  }
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking