public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/30523]  New: cpp generates bad assembly
@ 2007-01-21  6:40 akihana at gmail dot com
  2007-01-21  6:41 ` [Bug c/30523] " akihana at gmail dot com
  2007-01-21  6:49 ` akihana at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: akihana at gmail dot com @ 2007-01-21  6:40 UTC (permalink / raw)
  To: gcc-bugs

This is the command-line:
gcc -c -O2 -Wall -I../modes aesxam.c

This is the offending assembly:

read_tsc:
...
#APP
        cpuid; read_tsc
#NO_APP
...

The error is:

Error: invalid character '_' in mnemonic

GCC:

Configured with: /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--disable-libmudflap --disable-libssp --enable-java-awt=gtk
--enable-languages=c,c++,java,fortran --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix


-- 
           Summary: cpp generates bad assembly
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: akihana at gmail dot com
  GCC host triplet: i686-pc-linux-gnu


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


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

* [Bug c/30523] cpp generates bad assembly
  2007-01-21  6:40 [Bug c/30523] New: cpp generates bad assembly akihana at gmail dot com
@ 2007-01-21  6:41 ` akihana at gmail dot com
  2007-01-21  6:49 ` akihana at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: akihana at gmail dot com @ 2007-01-21  6:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from akihana at gmail dot com  2007-01-21 06:41 -------
Created an attachment (id=12925)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12925&action=view)
Preprocessor output


-- 


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


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

* [Bug c/30523] cpp generates bad assembly
  2007-01-21  6:40 [Bug c/30523] New: cpp generates bad assembly akihana at gmail dot com
  2007-01-21  6:41 ` [Bug c/30523] " akihana at gmail dot com
@ 2007-01-21  6:49 ` akihana at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: akihana at gmail dot com @ 2007-01-21  6:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from akihana at gmail dot com  2007-01-21 06:48 -------
This is not a gcc bug.


-- 

akihana at gmail dot com changed:

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


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


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

end of thread, other threads:[~2007-01-21  6:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-21  6:40 [Bug c/30523] New: cpp generates bad assembly akihana at gmail dot com
2007-01-21  6:41 ` [Bug c/30523] " akihana at gmail dot com
2007-01-21  6:49 ` akihana at gmail dot com

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