* gas/mmix/group-1.d, gas/mmix/group-1.s: New test.
+2012-09-01  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       PR gas/14521
+       * gas/mmix/group-1.d, gas/mmix/group-1.s: New test.
+
 2012-08-24  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gas/elf/group0c.d: Skip Solaris.
 
--- /dev/null
+#readelf: -Wa
+
+# Sanity check; the .section line caused a gas SEGV.
+# See PR gas/14521.
+
+#...
+ +\[ .\] \.text +PROGBITS +0+ +0+48 +0+ +0+ +AXG +.*
+#...
+COMDAT group section \[    1\] `\.group' \[\.foo\] contains 1 sections:
+ +\[Index\] +Name
+ +\[ +.\] +\.text
+#pass
 
--- /dev/null
+ .section .text,"axG",@progbits,.foo,comdat