+2007-12-26 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (read_base_type): Fix obvious &&/|| confusion.
+
2007-12-26 Luis Machado <luisgpm@br.ibm.com>
* dwarf2-frame.c (execute_cfa_program): Call dwarf2_restore_rule
type_flags |= TYPE_FLAG_UNSIGNED;
break;
case DW_ATE_signed_char:
- if (cu->language == language_ada && cu->language == language_m2)
+ if (cu->language == language_ada || cu->language == language_m2)
code = TYPE_CODE_CHAR;
break;
case DW_ATE_unsigned_char:
- if (cu->language == language_ada && cu->language == language_m2)
+ if (cu->language == language_ada || cu->language == language_m2)
code = TYPE_CODE_CHAR;
type_flags |= TYPE_FLAG_UNSIGNED;
break;