This is the mail archive of the gcc-bugs@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]

[Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: cc1plus gets ICE on valid C code accepted by cc1
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fnf at ninemoons dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-unknown-eabialtivec

	Compiling valid altivec code with the C++ compiler gives an ICE in reshape_init()

Environment:
System: Linux fred.ninemoons.com 2.4.20-19.9 #1 Tue Jul 15 17:03:30 EDT 2003 i686 athlon i386 GNU/Linux
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: powerpc-unknown-eabialtivec
configured with: /src/sourceware/gcc/gcc/configure -v --prefix=/usr/local/sourceware --target=powerpc-unknown-eabialtivec --enable-gdbtk --disable-multilib --with-gnu-as --with-gnu-ld --with-newlib --enable-languages=c,c++

How-To-Repeat:

    Script started on Tue 12 Aug 2003 08:33:29 AM MST
    $ cat b.i
    __attribute__((vector_size(16))) int a1 = { 100, 200, 300, 400 };
    $ ./cc1 b.i
    
    Execution times (seconds)
     TOTAL                 :   0.01             0.00             0.01
    $ cat b.s
    	.file	"b.i"
    	.globl a1
    	.section	".data"
    	.align 4
    	.type	a1, @object
    	.size	a1, 16
    a1:
    	.long	100
    	.long	200
    	.long	300
    	.long	400
    	.ident	"GCC: (GNU) 3.4 20030812 (experimental)"
    $ ./cc1plus b.i
    b.i:1: internal compiler error: in reshape_init, at cp/decl.c:7613
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    $ exit
    
    Script done on Tue 12 Aug 2003 08:34:24 AM MST


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