From: Marek Polacek Date: Thu, 20 Jun 2019 22:35:34 +0000 (+0000) Subject: re PR c++/79781 (ICE on valid C++ code with -std=c++14 (in assemble_integer, at varas... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bfe2b4b78f064d086e35cfb2194612a801ae6d1;p=gcc.git re PR c++/79781 (ICE on valid C++ code with -std=c++14 (in assemble_integer, at varasm.c:2733)) PR c++/79781 * g++.dg/ext/goto1.C: New test. From-SVN: r272527 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 440284de43f..5697e18024a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-06-20 Marek Polacek + + PR c++/79781 + * g++.dg/ext/goto1.C: New test. + 2019-06-20 Steven G. Kargl PR fortran/77632 diff --git a/gcc/testsuite/g++.dg/ext/goto1.C b/gcc/testsuite/g++.dg/ext/goto1.C new file mode 100644 index 00000000000..84bbfce6376 --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/goto1.C @@ -0,0 +1,9 @@ +// PR c++/79781 +// { dg-do compile { target int128 } } +// { dg-options "" } + +void c() { + static __int128_t d = (long)&&a - (long)&&b; +a: +b:; +}