public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/1842
@ 2001-04-01 0:00 aoliva
0 siblings, 0 replies; 2+ messages in thread
From: aoliva @ 2001-04-01 0:00 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/1842; it has been noted by GNATS.
From: aoliva@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org, rat@scssoft.com
Cc:
Subject: Re: c++/1842
Date: 2 Mar 2001 09:57:29 -0000
Synopsis: when using regparm-attribute on function pointer, it affects previous function pointer too
State-Changed-From-To: open->analyzed
State-Changed-By: aoliva
State-Changed-When: Fri Mar 2 01:57:29 2001
State-Changed-Why:
Present in GCC 2.95.2, still present in current CVS.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1842&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/1842
@ 2001-04-01 0:00 Craig Rodrigues
0 siblings, 0 replies; 2+ messages in thread
From: Craig Rodrigues @ 2001-04-01 0:00 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/1842; it has been noted by GNATS.
From: Craig Rodrigues <rodrigc@mediaone.net>
To: rat@scssoft.com, rodrigc@mediaone.net
Cc:
Subject: Re: c++/1842
Date: Sat, 17 Feb 2001 15:58:09 -0500
This is a multi-part message in MIME format.
--------------A2CD7F0ACB00F447419BE45F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1842&database=gcc
I tested this with gcc 2.97.
Attached is the .s file.
Has this problem been fixed in gcc 2.97?
I'm not an assembler expert, so I can't interpret it.
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net
--------------A2CD7F0ACB00F447419BE45F
Content-Type: text/plain; charset=us-ascii;
name="regparm_bug.s"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="regparm_bug.s"
.file "regparm_bug.cc"
.version "01.01"
gcc2_compiled.:
.text
.align 4
.globl main
.type main,@function
main:
.LFB1:
pushl %ebp
.LCFI0:
movl %esp, %ebp
.LCFI1:
subl $8, %esp
.LCFI2:
movl $1, %eax
call *f1
movl $1, %eax
call *f2
movl $0, %eax
leave
ret
.LFE1:
.Lfe1:
.size main,.Lfe1-main
.section .eh_frame,"aw",@progbits
__FRAME_BEGIN__:
.4byte .LLCIE1
.LSCIE1:
.4byte 0x0
.byte 0x1
.byte 0x0
.byte 0x1
.byte 0x7c
.byte 0x8
.byte 0xc
.byte 0x4
.byte 0x4
.byte 0x88
.byte 0x1
.align 4
.LECIE1:
.set .LLCIE1,.LECIE1-.LSCIE1
.4byte .LLFDE1
.LSFDE1:
.4byte .LSFDE1-__FRAME_BEGIN__
.4byte .LFB1
.4byte .LFE1-.LFB1
.byte 0x4
.4byte .LCFI0-.LFB1
.byte 0xe
.byte 0x8
.byte 0x85
.byte 0x2
.byte 0x4
.4byte .LCFI1-.LCFI0
.byte 0xd
.byte 0x5
.align 4
.LEFDE1:
.set .LLFDE1,.LEFDE1-.LSFDE1
.ident "GCC: (GNU) 2.97 20010211 (experimental)"
--------------A2CD7F0ACB00F447419BE45F--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-04-01 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-01 0:00 c++/1842 aoliva
2001-04-01 0:00 c++/1842 Craig Rodrigues
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).