public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "bommar33 at msu dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/17036] New: ICE: (A >> N) & 1 ? (1 << N) : 0 where A of type unsigned int Date: Sun, 15 Aug 2004 16:55:00 -0000 [thread overview] Message-ID: <20040815165530.17036.bommar33@msu.edu> (raw) 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
next reply other threads:[~2004-08-15 16:55 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-08-15 16:55 bommar33 at msu dot edu [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040815165530.17036.bommar33@msu.edu \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).