diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 1996-01-29 16:26:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 1996-01-29 16:26:41 +0000 |
commit | 687038f1f09d9ea174fb948cf668169d949bc6e5 (patch) | |
tree | d694c93eeb7db9c35945976a543071bd9b41342f /gcc | |
parent | e400d78221993ed2d0c41593c574c945ec15cf57 (diff) | |
download | gcc-687038f1f09d9ea174fb948cf668169d949bc6e5.zip gcc-687038f1f09d9ea174fb948cf668169d949bc6e5.tar.gz gcc-687038f1f09d9ea174fb948cf668169d949bc6e5.tar.bz2 |
Don't use #ifndef inside call to strchr, to avoid AIX problem
From-SVN: r11121
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/dbxout.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 3fb0717..256d1aa 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -921,17 +921,18 @@ dbxout_type_methods (type) if (flag_minimal_debug) { + char marker; + /* We can't optimize a method which uses an anonymous class, because the debugger will not be able to associate the arbitrary class name with the actual class. */ - if (strchr (debug_name, #ifndef NO_DOLLAR_IN_LABEL - '$' + marker = '$'; #else - '.' + marker = '.'; #endif - ) != NULL) + if (strchr (debug_name, marker) != NULL) show_arg_types = 1; /* Detect ordinary methods because their mangled names start with the operation name. */ |