Convert lvalue reference type check to general reference type check
[deliverable/binutils-gdb.git] / gdb / compile / compile-c-symbols.c
index 9282cfc02515447f8c4ea67848c8d06b4512bbbd..15e1d6de8c484bf51df3901a8de21a9dcd45728f 100644 (file)
@@ -593,7 +593,7 @@ generate_vla_size (struct compile_c_instance *compiler,
 {
   type = check_typedef (type);
 
-  if (TYPE_CODE (type) == TYPE_CODE_REF)
+  if (TYPE_IS_REFERENCE (type))
     type = check_typedef (TYPE_TARGET_TYPE (type));
 
   switch (TYPE_CODE (type))
This page took 0.02554 seconds and 4 git commands to generate.