This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]