diff options
author | Richard Guenther <rguenther@suse.de> | 2007-08-31 10:23:25 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-08-31 10:23:25 +0000 |
commit | 05af427c1fbfd2d6a902a4aa98140ee9a1f8221e (patch) | |
tree | 37a29ba8d8dd1371ff4ef0c24b5ab7ae25901252 /gcc/tree.c | |
parent | 671231d26ed16d187281ff215d4c9e5377cc2d43 (diff) | |
download | gcc-05af427c1fbfd2d6a902a4aa98140ee9a1f8221e.zip gcc-05af427c1fbfd2d6a902a4aa98140ee9a1f8221e.tar.gz gcc-05af427c1fbfd2d6a902a4aa98140ee9a1f8221e.tar.bz2 |
tree.c (build_complex_type): Always set TYPE_NAME for comples types.
2007-08-31 Richard Guenther <rguenther@suse.de>
* tree.c (build_complex_type): Always set TYPE_NAME for
comples types.
From-SVN: r127975
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -5992,10 +5992,8 @@ build_complex_type (tree component_type) = build_complex_type (TYPE_CANONICAL (component_type)); } - /* If we are writing Dwarf2 output we need to create a name, - since complex is a fundamental type. */ - if ((write_symbols == DWARF2_DEBUG || write_symbols == VMS_AND_DWARF2_DEBUG) - && ! TYPE_NAME (t)) + /* We need to create a name, since complex is a fundamental type. */ + if (! TYPE_NAME (t)) { const char *name; if (component_type == char_type_node) |