Changeset e71c1d4


Ignore:
Timestamp:
Nov 30, 2019, 1:17:24 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
4fa8f1a
Parents:
78cdb06
Message:

Changed inline assembly to correct reflect the fact that the parameter is read/write

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/references.cfa

    r78cdb06 re71c1d4  
    124124                int *p = &a;
    125125                asm (
    126                         "incl %[p]\n\t" :
    127                         : [p] "m" (*p)
     126                        "incl %[p]\n\t"
     127                        : [p] "+m" (*p)
    128128                );
    129129                printf("%d\n", a);
Note: See TracChangeset for help on using the changeset viewer.