Re: 2.4.0-test8-pre1 is quite bad / how about integrating Rik's VM

From: Jamie Lokier (
Date: Wed Sep 06 2000 - 04:48:15 EST

Chris Wedgwood wrote:
[Gcc not eliminating trivial dead code...
 did you compile without optimisation?]

Gcc 2.96 does remove the unreached code in your example,
but it still emits string constants.

int func()
  if (1)
    a = "foo";
    a = "bar";

        .string "foo"
        .string "bar"
        .align 4
.globl func
        .type func,@function
        pushl %ebp
        movl %esp, %ebp
        movl $.LC0, a
        popl %ebp

-- Jamie
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:25 EST