Subject: re: gcc-3.4 optimization kills "link sets"
To: None <M.Drochner@fz-juelich.de>
From: matthew green <firstname.lastname@example.org>
Date: 06/08/2004 15:51:56
Trying to build a kernel with gcc-3.4 I've found that the
optimisation settings of the current default kernel Makefile
cause unreferenced static variables to be optimized away,
regardless of an __attribute__((unused)).
i've actually noticed this with an optimisation for the arm backend
i've written. i think it's a bug in the new -funit-at-a-time code
but i'm yet to figure out where it is, or really be sure it is a bug.