public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/11772] Incorrect code generated with -mrtd and long long (most builtins)
       [not found] <bug-11772-1600@http.gcc.gnu.org/bugzilla/>
@ 2006-02-16 15:50 ` rguenth at gcc dot gnu dot org
  2006-02-16 15:51 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-02-16 15:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2006-02-16 15:50 -------
There's a similar issue with trying to override certain builtins calling
convention with -mrtd in effect.  Consider

 extern void* __attribute__((__cdecl__)) memcpy(void*, void*, __SIZE_TYPE__);

we even after seeing this decl emit calls to memcpy with -mrtd ABI out of
emit_block_move_via_libcall.


-- 


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


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

* [Bug target/11772] Incorrect code generated with -mrtd and long long (most builtins)
       [not found] <bug-11772-1600@http.gcc.gnu.org/bugzilla/>
  2006-02-16 15:50 ` [Bug target/11772] Incorrect code generated with -mrtd and long long (most builtins) rguenth at gcc dot gnu dot org
@ 2006-02-16 15:51 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-02-16 15:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2006-02-16 15:50 -------
*** Bug 22017 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lyuzhou at 21cn dot com


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


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

* [Bug target/11772] Incorrect code generated with -mrtd and long long (most builtins)
       [not found] <bug-11772-4@http.gcc.gnu.org/bugzilla/>
  2011-04-11 17:44 ` ktietz at gcc dot gnu.org
@ 2011-04-11 17:49 ` ktietz at gcc dot gnu.org
  1 sibling, 0 replies; 5+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-04-11 17:49 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ktietz at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #7 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-04-11 17:48:47 UTC ---
Fixed.


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

* [Bug target/11772] Incorrect code generated with -mrtd and long long (most builtins)
       [not found] <bug-11772-4@http.gcc.gnu.org/bugzilla/>
@ 2011-04-11 17:44 ` ktietz at gcc dot gnu.org
  2011-04-11 17:49 ` ktietz at gcc dot gnu.org
  1 sibling, 0 replies; 5+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-04-11 17:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-04-11 17:44:08 UTC ---
Author: ktietz
Date: Mon Apr 11 17:44:04 2011
New Revision: 172268

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172268
Log:
2011-04-11  Kai Tietz  <ktietz@redhat.com>

    PR target/9601
    PR target/11772
    * config/i386/i386-protos.h (ix86_get_callcvt): New prototype.
    * config/i386/i386.c (ix86_handle_cconv_attribute): Adjust
    comment.
    (ix86_is_msabi_thiscall): Removed.
    (ix86_is_type_thiscall): Likewise.
    (ix86_get_callcvt): New function.
    (ix86_comp_type_attributes): Simplify check.
    (ix86_function_regparm): Use ix86_get_callcvt for calling
    convention attribute checks.
    (ix86_return_pops_args): Likewise.
    (ix86_static_chain): Likewise.
    (x86_this_parameter): Likewise.
    (x86_output_mi_thunk): Likewise.
    (ix86_function_type_abi): Optimize check for types without attributes.
    * config/i386/i386.h (IX86_CALLCVT_CDECL, IX86_CALLCVT_STDCALL,
    IX86_CALLCVT_FASTCALL, IX86_CALLCVT_THISCALL, IX86_CALLCVT_REGPARM,
    IX86_CALLCVT_SSEREGPARM): New macros to represent calling convention
    by flag-values.
    (IX86_BASE_CALLCVT): Helper macro.
    * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name):
    Use ix86_get_callcvt for calling convention attribute checks and avoid
    symbol-decoration for stdcall in TARGET_RTD case.
    * config/i386/winnt.c (i386_pe_maybe_mangle_decl_assembler_name):
    Likewise.
    (gen_stdcall_or_fastcall_suffix): Adjust ident and use DECL_ORIGIN
    for declaration.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386-protos.h
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.h
    trunk/gcc/config/i386/netware.c
    trunk/gcc/config/i386/winnt.c


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

* [Bug target/11772] Incorrect code generated with -mrtd and long long (most builtins)
  2003-08-02 17:11 [Bug c/11772] New: Incorrect code generated with -mrtd and long long mikulas at artax dot karlin dot mff dot cuni dot cz
@ 2003-11-23  7:14 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-23  7:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-23 07:14 -------
Most likely the same bug as PR 12769.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-08-05 14:43:14         |2003-11-23 07:14:41
               date|                            |
            Summary|Incorrect code generated    |Incorrect code generated
                   |with -mrtd and long long    |with -mrtd and long long
                   |                            |(most builtins)


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


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

end of thread, other threads:[~2011-04-11 17:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11772-1600@http.gcc.gnu.org/bugzilla/>
2006-02-16 15:50 ` [Bug target/11772] Incorrect code generated with -mrtd and long long (most builtins) rguenth at gcc dot gnu dot org
2006-02-16 15:51 ` rguenth at gcc dot gnu dot org
     [not found] <bug-11772-4@http.gcc.gnu.org/bugzilla/>
2011-04-11 17:44 ` ktietz at gcc dot gnu.org
2011-04-11 17:49 ` ktietz at gcc dot gnu.org
2003-08-02 17:11 [Bug c/11772] New: Incorrect code generated with -mrtd and long long mikulas at artax dot karlin dot mff dot cuni dot cz
2003-11-23  7:14 ` [Bug target/11772] Incorrect code generated with -mrtd and long long (most builtins) 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).