This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: coalesce SSA versions in var-tracking notes



I plugged this patch in to my build last night but it failed to bootstrap:

/proj/opensrc/nightly/src/trunk/gcc/var-tracking.c:1908: error: invalid lvalue in unary '&'
make[3]: *** [var-tracking.o] Error 1

This is the line that caused the failure:

static FILE **var_tracking_debug_out __attribute__ ((__used__)) = &stderr;

I was bootstrapping starting with a 4.0.2 GCC, perhaps that GCC doen't
understand the __used__ attribute?
Whether you can or cannot take the address of std{in,out,err} depends on the runtime library.

ISTR that Alex posted two patches, only one of which is really the fix for the bootstrapping failure.

Paolo


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