#1865 File SDCCicode.c has duplicate code lines

closed-rejected
Maarten Brock
5
2013-05-25
2011-10-28
rs9563
No

operandOperation(left, right, op, type)
.
.
switch (op)
.
.
case RIGHT_OP:

The duplicate lines are identified in the upload file.
How I found this was that my compile of this file just hung.
I back ported the lines from SDCC 2.7.0 to stop the compile hang.

All of this is enclosed in the:
#if 1
( back ported code that prevents compile hang)
#else
duplicate code lines
#endif

I use fedora 15 with updates as of Oct 25, 2011
GCC 4.6.1 (latest release)

Discussion

  • rs9563
    rs9563
    2011-10-28

    SDCCicode.c

     
    Attachments
  • Maarten Brock
    Maarten Brock
    2011-10-29

    Your SDCCicode.c is very different from the current one in svn. Also the mentioned duplicate code is not present in the current version. I guess some update/merge went wrong on your side.

     
  • Maarten Brock
    Maarten Brock
    2011-10-29

    • milestone: --> unreproducable
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed-rejected