public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18686] New: #pragma longcall broken on 3.4.x
@ 2004-11-26 22:26 amodra at bigpond dot net dot au
  2004-11-26 22:27 ` [Bug target/18686] " amodra at bigpond dot net dot au
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-11-26 22:26 UTC (permalink / raw)
  To: gcc-bugs

#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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-11-27  0:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-26 22:26 [Bug target/18686] New: #pragma longcall broken on 3.4.x amodra at bigpond dot net dot au
2004-11-26 22:27 ` [Bug target/18686] " amodra at bigpond dot net dot au
2004-11-26 23:00 ` amodra at bigpond dot net dot au
2004-11-27  0:50 ` cvs-commit at gcc dot gnu dot org
2004-11-27  0:51 ` amodra at bigpond dot net dot au

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).