public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/9908] [x86] wrong code generated for virtual method call (gas bug?)
       [not found] <20030302224601.9908.kfoltman@onet.pl>
@ 2003-05-24 19:02 ` pinskia@physics.uc.edu
  2003-08-06  0:46 ` [Bug target/9908] [x86] wrong code generated for virtual method call (gas bug?) with -masm-intel pinskia at physics dot uc dot edu
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-24 19:02 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=9908


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-24 18:45:01
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-24 18:45 -------
Confirmed on mainline (20030524).
The program dies in 0x080484db in typeinfo name for B ():
0x080484db <_ZTS1B+7>:  cmp    (%eax,%edx,1),%ebx

The difference in asm that is the problem is (minus is the AT&Tone):
-       call    *_ZTV1B+8
+       call    DWORD PTR _ZTV1B+8



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/9908] [x86] wrong code generated for virtual method call (gas bug?) with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
  2003-05-24 19:02 ` [Bug target/9908] [x86] wrong code generated for virtual method call (gas bug?) pinskia@physics.uc.edu
@ 2003-08-06  0:46 ` pinskia at physics dot uc dot edu
  2004-02-08  3:42 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06  0:46 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=9908


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


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

* [Bug target/9908] [x86] wrong code generated for virtual method call (gas bug?) with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
  2003-05-24 19:02 ` [Bug target/9908] [x86] wrong code generated for virtual method call (gas bug?) pinskia@physics.uc.edu
  2003-08-06  0:46 ` [Bug target/9908] [x86] wrong code generated for virtual method call (gas bug?) with -masm-intel pinskia at physics dot uc dot edu
@ 2004-02-08  3:42 ` pinskia at gcc dot gnu dot org
  2004-02-08  4:45 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-08  3:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-08 03:42 -------
This is almost definitely a binutils bug (that is not fixed yet at all):
what binutils produces:
call   0x80484f8 <_ZTV1B+8>		        
what gcc produces with -masm=intel
call    DWORD PTR _ZTV1B+8     
what gcc produces normally:    
call    *_ZTV1B+8


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-11-08 23:53:11         |2004-02-08 03:42:10
               date|                            |


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


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

* [Bug target/9908] [x86] wrong code generated for virtual method call (gas bug?) with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
                   ` (2 preceding siblings ...)
  2004-02-08  3:42 ` pinskia at gcc dot gnu dot org
@ 2004-02-08  4:45 ` pinskia at gcc dot gnu dot org
  2004-05-11 15:53 ` [Bug target/9908] [x86] wrong code generated for virtual method call " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-08  4:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-08 04:44 -------
I forward it on to the binutils bug database: <http://sources.redhat.com/bugzilla/
show_bug.cgi?id=11>.

-- 


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


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

* [Bug target/9908] [x86] wrong code generated for virtual method call with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
                   ` (3 preceding siblings ...)
  2004-02-08  4:45 ` pinskia at gcc dot gnu dot org
@ 2004-05-11 15:53 ` pinskia at gcc dot gnu dot org
  2004-12-02  4:41 ` [Bug target/9908] [3.3/3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-11 15:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-10 16:32 -------
This was confirmed a gcc bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-02-08 03:42:10         |2004-05-10 16:32:53
               date|                            |
            Summary|[x86] wrong code generated  |[x86] wrong code generated
                   |for virtual method call (gas|for virtual method call with
                   |bug?) with -masm-intel      |-masm-intel


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


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

* [Bug target/9908] [3.3/3.4/4.0 Regression] [x86] wrong code generated for virtual method call with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
                   ` (5 preceding siblings ...)
  2004-12-02  4:41 ` [Bug target/9908] [3.3/3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-12-02  4:41 ` pinskia at gcc dot gnu dot org
  2004-12-02  5:31 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02  4:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-02 04:41 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00119.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug target/9908] [3.3/3.4/4.0 Regression] [x86] wrong code generated for virtual method call with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
                   ` (4 preceding siblings ...)
  2004-05-11 15:53 ` [Bug target/9908] [x86] wrong code generated for virtual method call " pinskia at gcc dot gnu dot org
@ 2004-12-02  4:41 ` pinskia at gcc dot gnu dot org
  2004-12-02  4:41 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02  4:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.3.1 3.4.3 4.0.0
      Known to work|                            |3.0.4
            Summary|[x86] wrong code generated  |[3.3/3.4/4.0 Regression]
                   |for virtual method call with|[x86] wrong code generated
                   |-masm-intel                 |for virtual method call with
                   |                            |-masm-intel
   Target Milestone|---                         |3.4.4


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


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

* [Bug target/9908] [3.3/3.4/4.0 Regression] [x86] wrong code generated for virtual method call with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
                   ` (6 preceding siblings ...)
  2004-12-02  4:41 ` pinskia at gcc dot gnu dot org
@ 2004-12-02  5:31 ` cvs-commit at gcc dot gnu dot org
  2004-12-02 13:13 ` [Bug target/9908] [3.3/3.4 " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-02  5:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-02 05:31 -------
Subject: Bug 9908

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sayle@gcc.gnu.org	2004-12-02 05:31:10

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.md 

Log message:
	PR target/9908
	* config/i386/i386.md (*call_value_1, *sibcall_value_1): Correct
	Intel assembler syntax by using %A1 instead of %*%1.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6674&r2=2.6675
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&r1=1.565&r2=1.566



-- 


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


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

* [Bug target/9908] [3.3/3.4 Regression] [x86] wrong code generated for virtual method call with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
                   ` (7 preceding siblings ...)
  2004-12-02  5:31 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-02 13:13 ` pinskia at gcc dot gnu dot org
  2004-12-02 21:03 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02 13:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-02 13:12 -------
Fixed on the mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|3.3.1 3.4.3 4.0.0           |3.3.1 3.4.3
      Known to work|3.0.4                       |3.0.4 4.0.0
   Last reconfirmed|2004-08-09 02:08:13         |2004-12-02 13:12:56
               date|                            |
            Summary|[3.3/3.4/4.0 Regression]    |[3.3/3.4 Regression] [x86]
                   |[x86] wrong code generated  |wrong code generated for
                   |for virtual method call with|virtual method call with -
                   |-masm-intel                 |masm-intel


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


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

* [Bug target/9908] [3.3/3.4 Regression] [x86] wrong code generated for virtual method call with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
                   ` (8 preceding siblings ...)
  2004-12-02 13:13 ` [Bug target/9908] [3.3/3.4 " pinskia at gcc dot gnu dot org
@ 2004-12-02 21:03 ` cvs-commit at gcc dot gnu dot org
  2004-12-02 21:21 ` [Bug target/9908] [3.3 " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-02 21:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-02 21:03 -------
Subject: Bug 9908

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	sayle@gcc.gnu.org	2004-12-02 21:03:29

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.md 

Log message:
	PR target/9908
	* config/i386/i386.md (*call_value_1, *sibcall_value_1): Correct
	Intel assembler syntax by using %A1 instead of %*%1.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.716&r2=2.2326.2.717
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.502.2.7&r2=1.502.2.8



-- 


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


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

* [Bug target/9908] [3.3 Regression] [x86] wrong code generated for virtual method call with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
                   ` (9 preceding siblings ...)
  2004-12-02 21:03 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-02 21:21 ` pinskia at gcc dot gnu dot org
  2004-12-03 16:45 ` cvs-commit at gcc dot gnu dot org
  2004-12-03 18:17 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02 21:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-02 21:21 -------
Fixed also in 3.4.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|3.0.4 4.0.0                 |3.0.4 4.0.0 3.4.4
            Summary|[3.3/3.4 Regression] [x86]  |[3.3 Regression] [x86] wrong
                   |wrong code generated for    |code generated for virtual
                   |virtual method call with -  |method call with -masm-intel
                   |masm-intel                  |
   Target Milestone|3.4.4                       |3.3.6


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


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

* [Bug target/9908] [3.3 Regression] [x86] wrong code generated for virtual method call with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
                   ` (10 preceding siblings ...)
  2004-12-02 21:21 ` [Bug target/9908] [3.3 " pinskia at gcc dot gnu dot org
@ 2004-12-03 16:45 ` cvs-commit at gcc dot gnu dot org
  2004-12-03 18:17 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-03 16:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-03 16:45 -------
Subject: Bug 9908

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	sayle@gcc.gnu.org	2004-12-03 16:45:44

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.md 

Log message:
	PR target/9908
	* config/i386/i386.md (*call_value_1): Correct Intel assembler
	syntax by using %A1 instead of %*%1.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.1030&r2=1.16114.2.1031
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.404.2.24&r2=1.404.2.25



-- 


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


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

* [Bug target/9908] [3.3 Regression] [x86] wrong code generated for virtual method call with -masm-intel
       [not found] <20030302224601.9908.kfoltman@onet.pl>
                   ` (11 preceding siblings ...)
  2004-12-03 16:45 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-03 18:17 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-03 18:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-03 18:17 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-12-03 18:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030302224601.9908.kfoltman@onet.pl>
2003-05-24 19:02 ` [Bug target/9908] [x86] wrong code generated for virtual method call (gas bug?) pinskia@physics.uc.edu
2003-08-06  0:46 ` [Bug target/9908] [x86] wrong code generated for virtual method call (gas bug?) with -masm-intel pinskia at physics dot uc dot edu
2004-02-08  3:42 ` pinskia at gcc dot gnu dot org
2004-02-08  4:45 ` pinskia at gcc dot gnu dot org
2004-05-11 15:53 ` [Bug target/9908] [x86] wrong code generated for virtual method call " pinskia at gcc dot gnu dot org
2004-12-02  4:41 ` [Bug target/9908] [3.3/3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2004-12-02  4:41 ` pinskia at gcc dot gnu dot org
2004-12-02  5:31 ` cvs-commit at gcc dot gnu dot org
2004-12-02 13:13 ` [Bug target/9908] [3.3/3.4 " pinskia at gcc dot gnu dot org
2004-12-02 21:03 ` cvs-commit at gcc dot gnu dot org
2004-12-02 21:21 ` [Bug target/9908] [3.3 " pinskia at gcc dot gnu dot org
2004-12-03 16:45 ` cvs-commit at gcc dot gnu dot org
2004-12-03 18:17 ` 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).