This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

middle-end/6481: ICE when passing structs as inline asm arguments to registers



>Number:         6481
>Category:       middle-end
>Synopsis:       ICE when passing structs as inline asm arguments to registers
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 26 12:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     gtsouk@cslab.ece.ntua.gr
>Release:        gcc version 3.0.4
>Organization:
>Environment:
linux 2.4.17 on an amd 900 thunderbird

Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix

target/host/build: i386-pc-linux-gnu
>Description:
Passing a 3 byte (or other sizes) structs as arguments to
inline asm registers, causes a:

bug.c: In function `foofunc':
bug.c:5: Internal compiler error in instantiate_virtual_regs_1, at function.c:3904
>How-To-Repeat:
gcc bug.c
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-csrc; name="bug.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.c"

dHlwZWRlZiBzdHJ1Y3QgeyBjaGFyIGFycmF5WzNdOyB9IGZvb190Owp2b2lkIGZvb2Z1bmMgKCkK
eyBmb29fdCBmb287CiAgX19hc21fXyBfX3ZvbGF0aWxlX18gKCIiOiI9ciIgKGZvbykgKTsKfQoK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]