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

* [Bug target/18686] #pragma longcall broken on 3.4.x
  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 ` amodra at bigpond dot net dot au
  2004-11-26 23:00 ` amodra at bigpond dot net dot au
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-11-26 22:27 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
      Known to fail|                            |3.3.4
      Known to work|                            |4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-26 22:27:06
               date|                            |


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


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

* [Bug target/18686] #pragma longcall broken on 3.4.x
  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
  3 siblings, 0 replies; 5+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-11-26 23:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-11-26 23:00 -------
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02326.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
      Known to fail|3.3.4                       |3.4.3
   Target Milestone|---                         |3.4.4
            Version|3.3.4                       |3.4.3


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


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

* [Bug target/18686] #pragma longcall broken on 3.4.x
  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
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-27  0:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-27 00:50 -------
Subject: Bug 18686

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	amodra@gcc.gnu.org	2004-11-27 00:50:22

Modified files:
	gcc            : ChangeLog 
	gcc/config/rs6000: rs6000-c.c 

Log message:
	PR target/18686
	* config/rs6000/rs6000-c.c (rs6000_pragma_longcall): Use
	integer_zerop and integer_onep instead of comparing against
	canonical trees.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.705&r2=2.2326.2.706
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000-c.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.10.10.1&r2=1.10.10.2



-- 


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


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

* [Bug target/18686] #pragma longcall broken on 3.4.x
  2004-11-26 22:26 [Bug target/18686] New: #pragma longcall broken on 3.4.x amodra at bigpond dot net dot au
                   ` (2 preceding siblings ...)
  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
  3 siblings, 0 replies; 5+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-11-27  0:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-11-27 00:51 -------
Fixed

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|4.0.0                       |4.0.0 3.4.4
         Resolution|                            |FIXED


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).