public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12116] New: Large assembly output values with X-MAME code.
@ 2003-08-31 14:14 vvas at hal dot csd dot auth dot gr
  2003-08-31 14:16 ` [Bug c/12116] " vvas at hal dot csd dot auth dot gr
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vvas at hal dot csd dot auth dot gr @ 2003-08-31 14:14 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Large assembly output values with X-MAME code.
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vvas at hal dot csd dot auth dot gr
                CC: gcc-bugs at gcc dot gnu dot org

Hello,

  When trying to compile various files of the X-MAME project with gcc 3.3.2
(latest prerelease in Debian sid) as well as older versions, I often got errors
similar to this:

superpac.s: Assembler messages:
superpac.s:384: Error: value of ffffffffffffff7f too large for field of 1 bytes 

  I've isolated one of these files, reduced the command line options needed to
cause the problem to a minimum, and the result follows:

$ gcc -v -save-temps -O2 -fomit-frame-pointer -funroll-loops -march=k6-2
-DINLINE= -Isrc -Isrc/unix -o xmame.obj/vidhrdw/superpac.o -c src/vidhrdw/superpac.c
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.2 20030812 (Debian prerelease)
 /usr/lib/gcc-lib/i486-linux/3.3.2/cc1 -E -quiet -v -Isrc -Isrc/unix
-D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 -DINLINE=
src/vidhrdw/superpac.c -march=k6-2 -fomit-frame-pointer -funroll-loops -O2
superpac.i
ignoring nonexistent directory "/usr/i486-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 src
 src/unix
 /usr/local/include
 /usr/lib/gcc-lib/i486-linux/3.3.2/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i486-linux/3.3.2/cc1 -fpreprocessed superpac.i -quiet
-dumpbase superpac.c -march=k6-2 -auxbase-strip xmame.obj/vidhrdw/superpac.o -O2
-version -fomit-frame-pointer -funroll-loops -o superpac.s
GNU C version 3.3.2 20030812 (Debian prerelease) (i486-linux)
	compiled by GNU C version 3.3.2 20030812 (Debian prerelease).
GGC heuristics: --param ggc-min-expand=81 --param ggc-min-heapsize=96871
 as -V -Qy -o xmame.obj/vidhrdw/superpac.o superpac.s
GNU assembler version 2.14.90.0.5 (i386-linux) using BFD version 2.14.90.0.5
20030722 Debian GNU/Linux
superpac.s: Assembler messages:
superpac.s:384: Error: value of ffffffffffffff7f too large for field of 1 bytes
at 00000000000004b3


  I'm attaching the preprocessed source code, you should be able to reproduce
the problem with "gcc -O2 -fomit-frame-pointer -funroll-loops -march=k6-2".

Thanks,
Vasilis


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

* [Bug c/12116] Large assembly output values with X-MAME code.
  2003-08-31 14:14 [Bug c/12116] New: Large assembly output values with X-MAME code vvas at hal dot csd dot auth dot gr
@ 2003-08-31 14:16 ` vvas at hal dot csd dot auth dot gr
  2003-09-01  3:36 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vvas at hal dot csd dot auth dot gr @ 2003-08-31 14:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From vvas at hal dot csd dot auth dot gr  2003-08-31 14:16 -------
Created an attachment (id=4679)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4679&action=view)
bzip2-compressed preprocessed output of -save-temps


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

* [Bug c/12116] Large assembly output values with X-MAME code.
  2003-08-31 14:14 [Bug c/12116] New: Large assembly output values with X-MAME code vvas at hal dot csd dot auth dot gr
  2003-08-31 14:16 ` [Bug c/12116] " vvas at hal dot csd dot auth dot gr
@ 2003-09-01  3:36 ` pinskia at gcc dot gnu dot org
  2003-09-01  8:32 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-01  3:36 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-01 03:36 -------
This is almost definitely the same bug as PR 11689 because they are both targeting k6's and the 
error message is the same and that one has a reduced sources already.

*** This bug has been marked as a duplicate of 11689 ***


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

* [Bug c/12116] Large assembly output values with X-MAME code.
  2003-08-31 14:14 [Bug c/12116] New: Large assembly output values with X-MAME code vvas at hal dot csd dot auth dot gr
  2003-08-31 14:16 ` [Bug c/12116] " vvas at hal dot csd dot auth dot gr
  2003-09-01  3:36 ` pinskia at gcc dot gnu dot org
@ 2003-09-01  8:32 ` ebotcazou at gcc dot gnu dot org
  2003-09-01  8:33 ` ebotcazou at gcc dot gnu dot org
  2003-09-08  6:49 ` [Bug target/12116] " ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-01  8:32 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-01 08:32 -------
We can't be sure until the problem is fully debugged, because a bad estimation 
of the length of a single insn can trigger the error. I already fixed several 
similar PRs and they were not duplicate.

Andrew, please assign any similar PRs to me. Thanks in advance.


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

* [Bug c/12116] Large assembly output values with X-MAME code.
  2003-08-31 14:14 [Bug c/12116] New: Large assembly output values with X-MAME code vvas at hal dot csd dot auth dot gr
                   ` (2 preceding siblings ...)
  2003-09-01  8:32 ` ebotcazou at gcc dot gnu dot org
@ 2003-09-01  8:33 ` ebotcazou at gcc dot gnu dot org
  2003-09-08  6:49 ` [Bug target/12116] " ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-01  8:33 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
   Target Milestone|---                         |3.3.2


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-01 08:33 -------
I will shortly be investigating.


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

* [Bug target/12116] Large assembly output values with X-MAME code.
  2003-08-31 14:14 [Bug c/12116] New: Large assembly output values with X-MAME code vvas at hal dot csd dot auth dot gr
                   ` (3 preceding siblings ...)
  2003-09-01  8:33 ` ebotcazou at gcc dot gnu dot org
@ 2003-09-08  6:49 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-08  6:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
          Component|c                           |target
         Resolution|                            |FIXED


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-08 06:49 -------
Confirmed as a duplicate of PR target/11689.


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

end of thread, other threads:[~2003-09-08  6:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-31 14:14 [Bug c/12116] New: Large assembly output values with X-MAME code vvas at hal dot csd dot auth dot gr
2003-08-31 14:16 ` [Bug c/12116] " vvas at hal dot csd dot auth dot gr
2003-09-01  3:36 ` pinskia at gcc dot gnu dot org
2003-09-01  8:32 ` ebotcazou at gcc dot gnu dot org
2003-09-01  8:33 ` ebotcazou at gcc dot gnu dot org
2003-09-08  6:49 ` [Bug target/12116] " ebotcazou 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).