public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43690]  New: Internal compiler error detected by avr-gcc.
@ 2010-04-08 15:01 philippe dot hoogvorst at neuf dot fr
  2010-04-08 15:11 ` [Bug middle-end/43690] [4.3/4.4/4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: philippe dot hoogvorst at neuf dot fr @ 2010-04-08 15:01 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2047 bytes --]

========================================================================================
> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-43690-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2010-11-11 20:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-08 15:01 [Bug c/43690] New: Internal compiler error detected by avr-gcc philippe dot hoogvorst at neuf dot fr
2010-04-08 15:11 ` [Bug middle-end/43690] [4.3/4.4/4.5 Regression] " rguenth at gcc dot gnu dot org
2010-04-09 13:04 ` rguenth at gcc dot gnu dot org
2010-04-12  9:44 ` jakub at gcc dot gnu dot org
2010-05-22 18:36 ` rguenth at gcc dot gnu dot org
     [not found] <bug-43690-4@http.gcc.gnu.org/bugzilla/>
2010-11-05 11:31 ` jakub at gcc dot gnu.org
2010-11-11 20:37 ` jakub at gcc dot gnu.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).