aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2010-05-05 15:46:41 -0400
committerJason Merrill <jason@gcc.gnu.org>2010-05-05 15:46:41 -0400
commit0f559c16ead64e7e85f21a6e99a50d8785b7f63b (patch)
tree3e008fc52371de3acf84489f91bb02abe802cc4d /gcc/testsuite
parent147a19a945773dcb0532d4d925b7b8b98e94a1fd (diff)
downloadgcc-0f559c16ead64e7e85f21a6e99a50d8785b7f63b.zip
gcc-0f559c16ead64e7e85f21a6e99a50d8785b7f63b.tar.gz
gcc-0f559c16ead64e7e85f21a6e99a50d8785b7f63b.tar.bz2
re PR debug/43370 (ICE gen_type_die_with_usage, at dwarf2out.c:14745)
PR debug/43370 * c-common.c (handle_aligned_attribute): Respect ATTR_FLAG_TYPE_IN_PLACE. From-SVN: r159081
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.dg/ext/attrib39.C9
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3ff3220..0bd0219 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-05 Jason Merrill <jason@redhat.com>
+
+ PR debug/43370
+ * g++.dg/ext/attrib39.C: New.
+
2010-05-05 Daniel Franke <franke.daniel@gmail.com>
PR fortran/24978
diff --git a/gcc/testsuite/g++.dg/ext/attrib39.C b/gcc/testsuite/g++.dg/ext/attrib39.C
new file mode 100644
index 0000000..22a7429
--- /dev/null
+++ b/gcc/testsuite/g++.dg/ext/attrib39.C
@@ -0,0 +1,9 @@
+// PR debug/43370
+// { dg-options "-g" }
+
+int fragile_block(void) {
+ typedef __attribute__ ((aligned (16))) struct {
+ int i;
+ } XmmUint16;
+ return 0;
+}