public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17036] New: ICE: (A >> N) & 1 ? (1 << N) : 0 where A of type unsigned int
@ 2004-08-15 16:55 bommar33 at msu dot edu
  2004-08-15 16:57 ` [Bug c/17036] " bommar33 at msu dot edu
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: bommar33 at msu dot edu @ 2004-08-15 16:55 UTC (permalink / raw)
  To: gcc-bugs

The error is easily reproducible outside of the conditions of the kernel code,
and, as I'm sure you'd appreciate, I have written an example that successfully
duplicates the exact ICE as below.  Attached is the significantly smaller
preprocessed example, compressed at 3k, in lieu of the 46k compressed kernel
driver :)  

System: i686-pc-linux-gnu (Fedora 2 release, kernel 2.6.7-1.494.2.2, athlon-xp
1800+)

GCC Version: 3.5.0 20040801 (experimental)

GCC ./configure Options: --enable-threads --with-cpu=athlon-xp
--with-arch=athlon-xp --enable-languages=c,c++

Command: 
[root@epithumadze linux-2.6.8]# make modules V=1
...
make -f scripts/Makefile.build obj=sound/synth/emux

gcc -Wp,-MD,sound/synth/emux/.emux_oss.o.d -nostdinc -iwithprefix include
-D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2
-fno-unit-at-a-time -march=athlon -mregparm=3 -Iinclude/asm-i386/mach-default
-O2 -fomit-frame-pointer -Wdeclaration-after-statement   -DMODULE
-DKBUILD_BASENAME=emux_oss -DKBUILD_MODNAME=snd_emux_synth -c -o
sound/synth/emux/emux_oss.o sound/synth/emux/emux_oss.c

Compiler Output:
sound/synth/emux/emux_oss.c: In function `emuspec_control':
sound/synth/emux/emux_oss.c:400: internal compiler error: tree check: expected
integer_cst, have var_decl in fold, at fold-const.c:8855

-- 
           Summary: ICE: (A >> N) & 1 ? (1 << N) : 0 where A of type
                    unsigned int
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bommar33 at msu dot edu
                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: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-08-17  8:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-15 16:55 [Bug c/17036] New: ICE: (A >> N) & 1 ? (1 << N) : 0 where A of type unsigned int bommar33 at msu dot edu
2004-08-15 16:57 ` [Bug c/17036] " bommar33 at msu dot edu
2004-08-15 17:05 ` [Bug middle-end/17036] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-08-15 18:05   ` Graham Stott
2004-08-15 18:05 ` graham dot stott at btinternet dot com
2004-08-15 18:57 ` bommar33 at msu dot edu
2004-08-16  7:19 ` paolo dot bonzini at polimi dot it
2004-08-17  7:40 ` cvs-commit at gcc dot gnu dot org
2004-08-17  8:19 ` pinskia at gcc dot gnu dot 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).