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]
Other format: [Raw text]

[Bug preprocessor/59782] libcpp does not avoid bug #48326 when compiled by older GCC


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59782

--- Comment #4 from Michael Deutschmann <michael at talosis dot ca> ---
> According to [1], 4.7.1 is already OK, so > 4007 should be enough.

But 4.7.0 isn't OK, so >= 4007 isn't enough.  (> 4007 is functionally
equivalent to >= 4008.)

Note that this does make fixing 4.7.4 (which I suggest should be done otherwise
a person starting with 4.7.0, no C++, and a cmov-less processor will face a
circuitous route up to the current version.) a little more complicated. 
GCC_VERSION >= 4007 isn't good enough, but GCC_VERSION >= 4008 would mean that
4.7.4 would never include the MMX code when compiled with itself.  Some would
call that a regression.

It's a simple matter of preprocessor programming to check the patchlevel too,
but it will be an ugly #if statement....

If only there was a NOT_STAGE_1 macro... (is there?).


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