* [PATCH] Add testcase for ICE in assemble_integer
@ 2016-02-12 14:08 Marek Polacek
2016-02-12 15:58 ` Bernd Schmidt
0 siblings, 1 reply; 2+ messages in thread
From: Marek Polacek @ 2016-02-12 14:08 UTC (permalink / raw)
To: GCC Patches
We've got a report that GCC is crashing when building a package on i686;
there was an ICE in assemble_integer. Turned out this ICE was already fixed
by r233216, so I reduced it and would like to add it to the testsuite.
Tested on x86_64-linux and i686-linux, ok for trunk?
2016-02-12 Marek Polacek <polacek@redhat.com>
* g++.dg/torture/init-list1.C: New.
diff --git gcc/testsuite/g++.dg/torture/init-list1.C gcc/testsuite/g++.dg/torture/init-list1.C
index e69de29..b8abf6a 100644
--- gcc/testsuite/g++.dg/torture/init-list1.C
+++ gcc/testsuite/g++.dg/torture/init-list1.C
@@ -0,0 +1,6 @@
+// { dg-do compile }
+// { dg-options "-std=c++11" }
+
+struct S {
+ long long l;
+} s {(long long) &s};
Marek
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Add testcase for ICE in assemble_integer
2016-02-12 14:08 [PATCH] Add testcase for ICE in assemble_integer Marek Polacek
@ 2016-02-12 15:58 ` Bernd Schmidt
0 siblings, 0 replies; 2+ messages in thread
From: Bernd Schmidt @ 2016-02-12 15:58 UTC (permalink / raw)
To: Marek Polacek, GCC Patches
On 02/12/2016 03:08 PM, Marek Polacek wrote:
> We've got a report that GCC is crashing when building a package on i686;
> there was an ICE in assemble_integer. Turned out this ICE was already fixed
> by r233216, so I reduced it and would like to add it to the testsuite.
>
> Tested on x86_64-linux and i686-linux, ok for trunk?
>
> 2016-02-12 Marek Polacek <polacek@redhat.com>
>
> * g++.dg/torture/init-list1.C: New.
Sure.
Bernd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-12 15:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-12 14:08 [PATCH] Add testcase for ICE in assemble_integer Marek Polacek
2016-02-12 15:58 ` Bernd Schmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).