This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12807] Failure to diagnose VLA in template
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Feb 2004 02:45:06 -0000
- Subject: [Bug c++/12807] Failure to diagnose VLA in template
- References: <20031028100505.12807.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rth at gcc dot gnu dot org 2004-02-04 02:45 -------
The bug, IMO, is that the front end did not diagnose the error. If it had
done that, we wouldn't have tried to do silly things with the garbage trees
in the optimizers.
Since this isn't diagnosed on mainline either, I'm moving the bug there.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-invalid-code |
Summary|[tree-ssa] ICE on variable |Failure to diagnose VLA in
|sized array in class |template
Target Milestone|tree-ssa |3.5.0
Version|tree-ssa |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12807