This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12807] Failure to diagnose VLA in template


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]