~ubuntu-branches/ubuntu/maverick/ghdl/maverick

« back to all changes in this revision

Viewing changes to gcc/libdecnumber/decBasic.c

  • Committer: Bazaar Package Importer
  • Author(s): Wesley J. Landaker
  • Date: 2009-04-02 21:23:07 UTC
  • mfrom: (1.1.11 upstream) (3.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090402212307-01pkh97q9b3u1vea
Tags: 0.27+svn110+gcc4.3.3+dfsg-1
* Now using gcc-4.3.3
* Updated copyright information
* Added Vcs-Git information
* Updated to policy 3.8.1 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1660
1660
      /* decode the coefficients */
1661
1661
      /* (shift both right two if Quad to make a multiple of four) */
1662
1662
      #if QUAD
1663
 
        USHORTAT(bufl)=0;
1664
 
        USHORTAT(bufr)=0;
 
1663
        ub = bufl;                           /* avoid type-pun violation */
 
1664
        USHORTAT(ub)=0;
 
1665
        uc = bufr;                           /* avoid type-pun violation */
 
1666
        USHORTAT(uc)=0;
1665
1667
      #endif
1666
1668
      GETCOEFF(dfl, bufl+QUAD*2);            /* decode from decFloat */
1667
1669
      GETCOEFF(dfr, bufr+QUAD*2);            /* .. */
3542
3544
  /* decode the coefficients */
3543
3545
  /* (shift both right two if Quad to make a multiple of four) */
3544
3546
  #if QUAD
3545
 
    UINTAT(bufl)=0;
3546
 
    UINTAT(bufr)=0;
 
3547
    ub=bufl;                            /* avoid type-pun violation */
 
3548
    UINTAT(ub)=0;
 
3549
    uc=bufr;                            /* avoid type-pun violation */
 
3550
    UINTAT(uc)=0;
3547
3551
  #endif
3548
3552
  GETCOEFF(dfl, bufl+QUAD*2);           /* decode from decFloat */
3549
3553
  GETCOEFF(dfr, bufr+QUAD*2);           /* .. */