middle-end/10669: gcc 3.2 ICE on shift right > 127

emh@hvidevold.cjb.net emh@hvidevold.cjb.net
Wed May 7 19:37:00 GMT 2003


>Number:         10669
>Category:       middle-end
>Synopsis:       gcc 3.2 ICE on shift right > 127
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Wed May 07 19:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     emh@hvidevold.cjb.net
>Release:        gcc version 3.2
>Organization:
>Environment:
Linux 2.4, LFS 4.0, i686
>Description:
cc     test.c   -o test
test.c: In function `main':
test.c:3: warning: left shift count >= width of type
test.c:4: unrecognizable insn:
(insn 18 13 31 (set (reg:QI 61)
        (const_int 128 [0x80])) -1 (nil)
    (nil))
test.c:4: Internal compiler error in extract_insn, at recog.c:2148
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [test] Error 1
>How-To-Repeat:
# 1 "test.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test.c"
int main () {
        unsigned long num;
        num <<= 128;
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list