]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2003-06-27 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 27 Jun 2003 13:32:36 +0000 (13:32 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 27 Jun 2003 13:32:36 +0000 (13:32 +0000)
        * dwarfread.c (decode_modified_type): Gag new compiler warning.

gdb/ChangeLog
gdb/dwarfread.c

index 902fba40ddc246b638cb6ba46f1e2e75c96d10f3..9b3d6a9bd7918203f238a54dfa0038f61eccc3d8 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-27  Elena Zannoni  <ezannoni@redhat.com>
+
+        * dwarfread.c (decode_modified_type): Gag new compiler warning.
+
 2003-06-26  Michael Chastain  <mec@shout.net>
 
        * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc,
index ff65db047e942d2255fa1864f850acc9ad0ce1a4..4d5c93f83254c7f7e88b7f81e64c4f7dac553d3c 100644 (file)
@@ -3198,8 +3198,12 @@ decode_modified_type (char *modifiers, unsigned int modcount, int mtype)
                     DIE_ID, DIE_NAME); /* FIXME */
          break;
        default:
-         if (!(MOD_lo_user <= (unsigned char) modifier
-               && (unsigned char) modifier <= MOD_hi_user))
+         if (!(MOD_lo_user <= (unsigned char) modifier))
+#if 0
+/* This part of the test would always be true, and it triggers a compiler
+   warning.  */
+                 && (unsigned char) modifier <= MOD_hi_user))
+#endif
            {
              complaint (&symfile_complaints,
                         "DIE @ 0x%x \"%s\", unknown type modifier %u", DIE_ID,