[Bug target/18686] New: #pragma longcall broken on 3.4.x

amodra at bigpond dot net dot au gcc-bugzilla@gcc.gnu.org
Fri Nov 26 22:26:00 GMT 2004


#pragma longcall (1)
extern int extfunc (void);

#pragma longcall (0)
long long
testfunc (long long a, long long b)
{
  extfunc ();

  return a / b;
}

results in
/src/tmp/pr12769.c:1: warning: number must be 0 or 1
/src/tmp/pr12769.c:1: warning: ignoring malformed #pragma longcall
/src/tmp/pr12769.c:4: warning: number must be 0 or 1
/src/tmp/pr12769.c:4: warning: ignoring malformed #pragma longcall

-- 
           Summary: #pragma longcall broken on 3.4.x
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: amodra at bigpond dot net dot au
        ReportedBy: amodra at bigpond dot net dot au
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18686



More information about the Gcc-bugs mailing list