Re: [PATCH] Avoid using constructor attribute in libcpp (PR bootstrap/50237)

2011-12-07 Thread Richard Henderson
On 12/07/2011 12:20 PM, Jakub Jelinek wrote: > PR bootstrap/50237 > * internal.h (_cpp_init_lexer): New prototype. > * init.c (init_library): Call it. > * lex.c (init_vectorized_lexer): Remove constructor attribute, > add inline keyword. > (HAVE_init_vectorized_l

[PATCH] Avoid using constructor attribute in libcpp (PR bootstrap/50237)

2011-12-07 Thread Jakub Jelinek
Hi! While this isn't real fix for this PR, which should be fixed in configury, I think avoiding ctors in host code is useful for portability and Eric agreed with that in the PR. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2011-12-07 Jakub Jelinek PR bootstrap