This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cc1 chokes on x86


"Kevin P. Neal" <kpneal@pobox.com> writes:

[snip]
> With this code:
> 
> void test_func(unsigned char val)
> {
>    printf("%x\n", val);
> 
>    return;
> }
> 
> int main(int argc, char **argv)
> {
>    test_func("000"[0] - '0' + 0xf0);
> 
>    return(0);
> }
> 
> I get the exact same error on Linux.
> 
[snip]

gcc 2.96 20000626 (experimental) compiles your code without errors, and
  the executable prints
  f0
  when run, so I think the bug is fixed.


Thank you for your bug report.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]