This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/43690] New: Internal compiler error detected by avr-gcc.
- From: "philippe dot hoogvorst at neuf dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Apr 2010 15:01:38 -0000
- Subject: [Bug c/43690] New: Internal compiler error detected by avr-gcc.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
========================================================================================
> avr-gcc -v
Using built-in specs.
Target: avr
Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr/lib
--infodi--mandir=/usr/share/man --bindir=/usr/bin --libexecdir=/usr/lib
--libdir=/usr/lib --enabystem-zlib --enable-long-long --enable-nls
--without-included-gettext --disable-checking--build=i486-linux-gnu
--host=i486-linux-gnu --target=avr
Thread model: single
gcc version 4.3.4 (GCC)
========================================================================================
Minimal source code causing the bug, removing any token makes the compiler work
OK. No header is to be included into this code to see the bug.
-----------
void doit( )
{
char *pk=0 ;
for(;;)
{
asm ( "nop" : :"m"(pk++) );
asm ( "nop" : :"m"(pk++) );
}
}
========================================================================================
> avr-gcc -Wall -mmcu=atmega128 -O3 -c -o /dev/null /tmp/present-wddl-both-encrypt.c
/tmp/present-wddl-both-encrypt.c: In function ?doit?:
/tmp/present-wddl-both-encrypt.c:2: internal compiler error: in
copy_reference_ops_from_ref, at tree-ssa-sccvn.c:577
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
========================================================================================
Note that removing "-Wall" does not remove the bug but that removing "-O3"
makes the compiler work OK.
Best regards.
--
Summary: Internal compiler error detected by avr-gcc.
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: philippe dot hoogvorst at neuf dot fr
GCC build triplet: i486-linux-gnu
GCC host triplet: i486-linux-gnu
GCC target triplet: avr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43690