This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79986] [6/7 Regression][CHKP] ICE in fold_convert_loc with a flexible array
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Mar 2017 14:59:28 +0000
- Subject: [Bug c++/79986] [6/7 Regression][CHKP] ICE in fold_convert_loc with a flexible array
- Auto-submitted: auto-generated
- References: <bug-79986-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79986
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Since the testcase is ill-formed, I think the solution is to reject it earlier,
in the front end, rather than wait until RTL expansion; that should avoid the
need to touch chkp.