projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert lvalue reference type check to general reference type check
[deliverable/binutils-gdb.git]
/
gdb
/
compile
/
compile-c-symbols.c
diff --git
a/gdb/compile/compile-c-symbols.c
b/gdb/compile/compile-c-symbols.c
index 9282cfc02515447f8c4ea67848c8d06b4512bbbd..15e1d6de8c484bf51df3901a8de21a9dcd45728f 100644
(file)
--- a/
gdb/compile/compile-c-symbols.c
+++ b/
gdb/compile/compile-c-symbols.c
@@
-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.