public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/19417] New: return value of some functions not properly set (in r3)
@ 2005-01-12 23:46 cort at fsmlabs dot com
  2005-01-12 23:48 ` [Bug c/19417] " cort at fsmlabs dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: cort at fsmlabs dot com @ 2005-01-12 23:46 UTC (permalink / raw)
  To: gcc-bugs

I have included 2 .i and .s files.  One correctly sets the return value (r3) and
one does not.  The addition of the nonleaf() call causes the return value to be
set properly.  If you search the .s files for "cort start return" "cort end
return" you can see it.

It seems that the return value isn't set properly if the function does not call
another function at the out: label.

I'm cross compiling from a 32-bit x86 to a 32-bit PowerPC (of the 6xx/74xx variety).

-- 
           Summary: return value of some functions not properly set (in r3)
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cort at fsmlabs dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i386-linux
GCC target triplet: ppc-linux


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


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

end of thread, other threads:[~2005-01-15  0:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12 23:46 [Bug c/19417] New: return value of some functions not properly set (in r3) cort at fsmlabs dot com
2005-01-12 23:48 ` [Bug c/19417] " cort at fsmlabs dot com
2005-01-12 23:48 ` cort at fsmlabs dot com
2005-01-12 23:49 ` cort at fsmlabs dot com
2005-01-12 23:49 ` cort at fsmlabs dot com
2005-01-12 23:51 ` cort at fsmlabs dot com
2005-01-13  0:02 ` pinskia at gcc dot gnu dot org
2005-01-13  0:38 ` [Bug middle-end/19417] " pinskia at gcc dot gnu dot org
2005-01-13  0:44 ` pinskia at gcc dot gnu dot org
2005-01-14 23:24 ` [Bug middle-end/19417] [3.3 only] " pinskia at gcc dot gnu dot org
2005-01-15  0:40 ` dje at gcc dot gnu dot org

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