avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] FW: c/9100: illegal binary constant causes gcc to seg fau


From: Sander Pool
Subject: [avr-gcc-list] FW: c/9100: illegal binary constant causes gcc to seg fault
Date: Sun, 29 Dec 2002 15:25:08 -0800

Folks,

I just logged a defect against gcc as it crashes when I try to use binary
constants. Contrary to my bug report my code is actually legal, I'm pretty
sure :-)

This is the preprocessed line that causes the crash:

        if (((*(volatile unsigned char *)((0x13) + 0x20)) & 0b11111000) ==
0) {

with message:

pin_test.c:40:61: invalid suffix "b11111000" on integer constant
pin_test.c: In function `__vector_16':
pin_test.c:40: internal compiler error: Segmentation fault
Please submit a full bug report,

I'll modify my code to use hex constants instead.

        Sander

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Sunday, December 29, 2002 3:16 PM
To: address@hidden
Subject: Re: c/9100: illegal binary constant causes gcc to seg fault


Thank you very much for your problem report.
It has the internal identification `c/9100'.
The individual assigned to look at your
report is: unassigned.

>Category:       c
>Responsible:    unassigned
>Synopsis:       illegal binary constant causes gcc to seg fault
>Arrival-Date:   Sun Dec 29 15:16:01 PST 2002



avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]