From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2952 invoked by alias); 2 Nov 2005 08:09:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 2936 invoked by uid 48); 2 Nov 2005 08:09:29 -0000 Date: Wed, 02 Nov 2005 08:09:00 -0000 Message-ID: <20051102080929.2935.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/7061] Access of bytes in struct parameters In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rth at gcc dot gnu dot org" X-SW-Source: 2005-11/txt/msg00228.txt.bz2 List-Id: ------- Comment #5 from rth at gcc dot gnu dot org 2005-11-02 08:09 ------- And there is nothing Alpha specific about this. Any target which passes structures in registers can show it. For instance, ia64: f1: .prologue .body .mmi st2 [r12] = r32 nop 0 mov r14 = r12 ;; .mmi ld1 r15 = [r14], 1 ;; ld1 r8 = [r14] nop 0 ;; .mib nop 0 add r8 = r8, r15 br.ret.sptk.many b0 .endp f1# .align 16 .global f2# .proc f2# f2: .prologue .body .mii nop 0 extr.u r8 = r32, 8, 8 zxt1 r32 = r32 ;; .mib nop 0 add r8 = r8, r32 br.ret.sptk.many b0 -- rth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- GCC host triplet|alphapca56-*-linux-gnu | GCC target triplet|alphapca56-*-linux-gnu | Summary|Alpha: Access of bytes in |Access of bytes in struct |struct parameters |parameters http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7061