Commit aa994333 by Gabriel Dos Reis Committed by Gabriel Dos Reis

* toplev.c: Fix thinko.

From-SVN: r110374
parent 98fb1d29
2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net> 2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
* toplev.c: Fix thinko.
2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
Marcin Dalecki <martin@dalecki.de> Marcin Dalecki <martin@dalecki.de>
* toplev.c (floor_log2, exact_log2): Don't define if __cplusplus. * toplev.c (floor_log2, exact_log2): Don't define if __cplusplus.
......
...@@ -520,7 +520,7 @@ read_integral_parameter (const char *p, const char *pname, const int defval) ...@@ -520,7 +520,7 @@ read_integral_parameter (const char *p, const char *pname, const int defval)
for floor_log2 and exact_log2; see toplev.h. That construct, however, for floor_log2 and exact_log2; see toplev.h. That construct, however,
conflicts with the ISO C++ One Definition Rule. */ conflicts with the ISO C++ One Definition Rule. */
#if !defined (__cplusplus) #if GCC_VERSION < 3004 || !defined (__cplusplus)
/* Given X, an unsigned number, return the largest int Y such that 2**Y <= X. /* Given X, an unsigned number, return the largest int Y such that 2**Y <= X.
If X is 0, return -1. */ If X is 0, return -1. */
...@@ -572,7 +572,7 @@ exact_log2 (unsigned HOST_WIDE_INT x) ...@@ -572,7 +572,7 @@ exact_log2 (unsigned HOST_WIDE_INT x)
#endif #endif
} }
#endif /* !defined (__cplusplus) */ #endif /* GCC_VERSION < 3004 || !defined (__cplusplus) */
/* Handler for fatal signals, such as SIGSEGV. These are transformed /* Handler for fatal signals, such as SIGSEGV. These are transformed
into ICE messages, which is much more user friendly. In case the into ICE messages, which is much more user friendly. In case the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment