[Bug testsuite/14877] New: skip.exp do not take function arg evaluation order into account

wong.kwongyuan at gmail dot com sourceware-bugzilla@sourceware.org
Mon Nov 26 08:39:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=14877

             Bug #: 14877
           Summary: skip.exp do not take function arg evaluation order
                    into account
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: testsuite
        AssignedTo: unassigned@sourceware.org
        ReportedBy: wong.kwongyuan@gmail.com
    Classification: Unclassified


skip.exp/skip.c in gdb.base do not take function arg evaluation order into
account.

int main()
{
  return baz(foo(), bar());
}

x86 is OK, because it's evaluated from right to left, while tilegx & mips etc
are evaluated from left to right.

And I think we should not write a case which depends on specified function arg
evaluation order

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Gdb-prs mailing list