public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38770]  New: internal compiler error: asm clobber conflict with output operand
@ 2009-01-08 20:44 rakeshk at netapp dot com
  2009-01-08 20:47 ` [Bug c/38770] " rakeshk at netapp dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rakeshk at netapp dot com @ 2009-01-08 20:44 UTC (permalink / raw)
  To: gcc-bugs

cd Osolaris-sparcv9; gmake install
gmake[1]: Entering directory `/u/rakeshk/tt/pari-2.1.7/Osolaris-sparcv9'
/usr/ccs/bin/as -P -I. -D__GNUC__ -T -o kernel.o
../src/kernel/sparcv8/level0_sparcv8_micro.S
cat ../src/kernel/sparcv8/level0.h ../src/kernel/none/level1.h > pariinl.h
/usr/software/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit
-fomit-frame-pointer   -I. -I../src/headers -o mp.o ../src/kernel/none/mp.c
../src/kernel/none/mp.c: In function 'smulss':
../src/kernel/none/mp.c:1559: internal compiler error: asm clobber conflict
with output operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[1]: *** [mp.o] Error 1
gmake[1]: Leaving directory `/u/rakeshk/tt/pari-2.1.7/Osolaris-sparcv9'
gmake: *** [install] Error 2


-- 
           Summary: internal compiler error: asm clobber conflict with
                    output operand
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rakeshk at netapp dot com
 GCC build triplet: --program-suffix=-4.1.1 Thread model: posix gcc version
                    4.1.1
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


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


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

* [Bug c/38770] internal compiler error: asm clobber conflict with output operand
  2009-01-08 20:44 [Bug c/38770] New: internal compiler error: asm clobber conflict with output operand rakeshk at netapp dot com
@ 2009-01-08 20:47 ` rakeshk at netapp dot com
  2009-07-23 20:21 ` [Bug middle-end/38770] " doubletwist at fearthepenguin dot net
  2009-07-23 20:24 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rakeshk at netapp dot com @ 2009-01-08 20:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rakeshk at netapp dot com  2009-01-08 20:47 -------
Created an attachment (id=17058)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17058&action=view)
save-temps file


-- 


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


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

* [Bug middle-end/38770] internal compiler error: asm clobber conflict with output operand
  2009-01-08 20:44 [Bug c/38770] New: internal compiler error: asm clobber conflict with output operand rakeshk at netapp dot com
  2009-01-08 20:47 ` [Bug c/38770] " rakeshk at netapp dot com
@ 2009-07-23 20:21 ` doubletwist at fearthepenguin dot net
  2009-07-23 20:24 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: doubletwist at fearthepenguin dot net @ 2009-07-23 20:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from doubletwist at fearthepenguin dot net  2009-07-23 20:21 -------
I see the exact same error on Solaris 8 Sparc using GCC 4.3.2


-- 

doubletwist at fearthepenguin dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doubletwist at
                   |                            |fearthepenguin dot net


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


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

* [Bug middle-end/38770] internal compiler error: asm clobber conflict with output operand
  2009-01-08 20:44 [Bug c/38770] New: internal compiler error: asm clobber conflict with output operand rakeshk at netapp dot com
  2009-01-08 20:47 ` [Bug c/38770] " rakeshk at netapp dot com
  2009-07-23 20:21 ` [Bug middle-end/38770] " doubletwist at fearthepenguin dot net
@ 2009-07-23 20:24 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-07-23 20:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-07-23 20:24 -------
This error is correct as we have:
register int overflow __asm__("%g6");
...
__asm__ ( "addcc %2,%3,%0;           addx  %%g0,%%g0,%1" : "=r" (__value), "=r"
(overflow) : "r" (__arg1), "r" (__arg2) : "%g6","cc");

So the asm is saying g6 is clobbered and an output.  How can that be true?  It
cannot be clobbered when it is an output.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2009-07-23 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-08 20:44 [Bug c/38770] New: internal compiler error: asm clobber conflict with output operand rakeshk at netapp dot com
2009-01-08 20:47 ` [Bug c/38770] " rakeshk at netapp dot com
2009-07-23 20:21 ` [Bug middle-end/38770] " doubletwist at fearthepenguin dot net
2009-07-23 20:24 ` pinskia 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).