summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-29 16:00:56 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-29 16:00:56 +0000
commitcd62e7b6e18cb6fceedbfbefab44151a5e94b483 (patch)
tree204a3a282cd168aaaa72bbe70d19eb6ecd07c85b /gcc/toplev.c
parent54a22b3a994d9f4dee453d351b9bdc7211bc86b9 (diff)
downloadgcc-cd62e7b6e18cb6fceedbfbefab44151a5e94b483.tar.gz
* toplev.c: Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110374 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 62c9b4ff937..f6cfe7c8176 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -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,
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.
If X is 0, return -1. */
@@ -572,7 +572,7 @@ exact_log2 (unsigned HOST_WIDE_INT x)
#endif
}
-#endif /* !defined (__cplusplus) */
+#endif /* GCC_VERSION < 3004 || !defined (__cplusplus) */
/* Handler for fatal signals, such as SIGSEGV. These are transformed
into ICE messages, which is much more user friendly. In case the