public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14128] New: internal compiler error: asm clobber conflict with output operand
@ 2004-02-12 14:54 ilja dot honkonen at helsinki dot fi
  2004-02-12 15:00 ` [Bug c/14128] " ilja dot honkonen at helsinki dot fi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ilja dot honkonen at helsinki dot fi @ 2004-02-12 14:54 UTC (permalink / raw)
  To: gcc-bugs

I was compiling jpeg-mmx-1.1.2 for mjpegtools and got this:
[root@localhost jpeg-mmx]# ./configure --enable-shared && make
...
./libtool --mode=compile gcc -O6  -I. -c ./jfdctflt.c
gcc -O6 -I. -c -fPIC -DPIC ./jfdctflt.c
mv -f jfdctflt.o jfdctflt.lo
./libtool --mode=compile gcc -O6  -I. -c ./jfdctint.c
gcc -O6 -I. -c -fPIC -DPIC ./jfdctint.c
mv -f jfdctint.o jfdctint.lo
./libtool --mode=compile gcc -O6  -I. -c ./jdapimin.c
gcc -O6 -I. -c -fPIC -DPIC ./jdapimin.c
jdapimin.c: In function `mmxsupport':
jdapimin.c:463: 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.
make: *** [jdapimin.lo] Error 1

Following the instructions I got to this:
[root@localhost jpeg-mmx]# gcc -v -save-temps -O6 -I. -c -fPIC -DPIC 
./jdapimin.c 
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../gcc-3.3/configure 
Thread model: posix
gcc version 3.3
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/cc1 -E -quiet -v -I. 
-D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_
PATCHLEVEL__=0 -DPIC ./jdapimin.c -fPIC -O6 jdapimin.i
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 .
 /usr/local/include
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/cc1 -fpreprocessed 
jdapimin.i -quiet -dumpbase jdapimin.c -aux
base jdapimin -O6 -version -fPIC -o jdapimin.s
GNU C version 3.3 (i686-pc-linux-gnu)
        compiled by GNU C version 3.3.
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64290
jdapimin.c: In function `mmxsupport':
jdapimin.c:463: internal compiler error: asm clobber conflict with output 
operand

I've made a jdapimin.i.bz2 but don't know how to attach it here so I've put it
there: http://koti.mbnet.fi/ijh/jdapimin.i.bz2

-- 
           Summary: internal compiler error: asm clobber conflict with
                    output operand
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ilja dot honkonen at helsinki dot fi
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c/14128] internal compiler error: asm clobber conflict with output operand
  2004-02-12 14:54 [Bug c/14128] New: internal compiler error: asm clobber conflict with output operand ilja dot honkonen at helsinki dot fi
@ 2004-02-12 15:00 ` ilja dot honkonen at helsinki dot fi
  2004-02-12 16:04 ` falk at debian dot org
  2004-02-12 16:36 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ilja dot honkonen at helsinki dot fi @ 2004-02-12 15:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ilja dot honkonen at helsinki dot fi  2004-02-12 15:00 -------
Created an attachment (id=5734)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5734&action=view)
i-file :)

Ooh so this is how you add attachments to a bugreport...

-- 


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


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

* [Bug c/14128] internal compiler error: asm clobber conflict with output operand
  2004-02-12 14:54 [Bug c/14128] New: internal compiler error: asm clobber conflict with output operand ilja dot honkonen at helsinki dot fi
  2004-02-12 15:00 ` [Bug c/14128] " ilja dot honkonen at helsinki dot fi
@ 2004-02-12 16:04 ` falk at debian dot org
  2004-02-12 16:36 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: falk at debian dot org @ 2004-02-12 16:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2004-02-12 16:03 -------
This is because the asm clobbers the PIC register. I think we have a better
diagnostic for this on mainline, but I don't have an i386 to check.



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code


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


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

* [Bug c/14128] internal compiler error: asm clobber conflict with output operand
  2004-02-12 14:54 [Bug c/14128] New: internal compiler error: asm clobber conflict with output operand ilja dot honkonen at helsinki dot fi
  2004-02-12 15:00 ` [Bug c/14128] " ilja dot honkonen at helsinki dot fi
  2004-02-12 16:04 ` falk at debian dot org
@ 2004-02-12 16:36 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-12 16:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-12 16:36 -------
Fixed for 3.4:
jdapimin.c: In function `mmxsupport':
jdapimin.c:463: error: PIC register `ebx' clobbered in `asm'

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.0


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


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

end of thread, other threads:[~2004-02-12 16:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-12 14:54 [Bug c/14128] New: internal compiler error: asm clobber conflict with output operand ilja dot honkonen at helsinki dot fi
2004-02-12 15:00 ` [Bug c/14128] " ilja dot honkonen at helsinki dot fi
2004-02-12 16:04 ` falk at debian dot org
2004-02-12 16:36 ` 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).