aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2019-01-31 20:21:11 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2019-01-31 20:21:11 +0000
commitb27f74e77740a0982621af083a5743383a4de9d3 (patch)
tree61a150f1a13f1a04a1e07e7f0a4d5b6806b740c8 /gcc/fortran/resolve.c
parent1d4b4f4979171ef0dacc452439e3a317795441db (diff)
downloadgcc-b27f74e77740a0982621af083a5743383a4de9d3.zip
gcc-b27f74e77740a0982621af083a5743383a4de9d3.tar.gz
gcc-b27f74e77740a0982621af083a5743383a4de9d3.tar.bz2
PR c++/89083, c++/80864 - ICE with list initialization in template.
* constexpr.c (adjust_temp_type): Use copy_node and change the type instead of using build_constructor. * decl.c (reshape_init_r): Don't reshape a digested initializer. Return the initializer for COMPOUND_LITERAL_P. * g++.dg/cpp0x/initlist107.C: New test. * g++.dg/cpp0x/initlist108.C: New test. * g++.dg/cpp0x/initlist109.C: New test. * g++.dg/cpp0x/initlist110.C: New test. * g++.dg/cpp0x/initlist111.C: New test. * g++.dg/cpp0x/initlist112.C: New test. * g++.dg/init/ptrfn4.C: New test. From-SVN: r268428
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions