This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/59827] [4.7/4.8 Regression] ICE on array with incomplete element type
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Jan 2014 13:00:07 +0000
- Subject: [Bug middle-end/59827] [4.7/4.8 Regression] ICE on array with incomplete element type
- Auto-submitted: auto-generated
- References: <bug-59827-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59827
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Jan 16 12:59:36 2014
New Revision: 206662
URL: http://gcc.gnu.org/viewcvs?rev=206662&root=gcc&view=rev
Log:
PR middle-end/59827
* gimple-low.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
it is error_mark_node.
testsuite/
* gcc.dg/pr59827.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr59827.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/gimple-low.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog