]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/18672 (Segfault with simple template code)
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 8 Dec 2004 08:47:59 +0000 (08:47 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 8 Dec 2004 08:47:59 +0000 (08:47 +0000)
commit0710ccffc3ddf8e4877fdab6cf712cd65f45d1cb
tree7de9c095103fb4a7809b6f28a30887d83788c35b
parente6aef9696474198372ccd66e8a5588b30ffbf93f
re PR c++/18672 (Segfault with simple template code)

.: PR c++/18672
* gimplify.c (canonicalize_addr_expr): Cope with array of
incomplete type.
(gimplify_conversion): Remove redundant checks.
testsuite:
PR c++/18672
* g++.dg/opt/array1.C: New.

From-SVN: r91865
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/array1.C [new file with mode: 0644]