fix g++.dg/init/new4.C

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Wed Jun 30 22:38:00 GMT 2004


    I had tested only C and Ada, 

How did you test Ada?  Is anything working well enough for you to do a
reasonable test?  *I* can bootstrap Ada, but apparently it's still not
there yet on other targets.  Does it bootstrap for you?

    My initial reaction was to ignore the "VLA headaches" comment and
    generate one anyway.  This runs afoul of the middle-end data layout
    routines that think they know better and generate an error for building
    a VLA type outside of a function context.

Ada does that all the time.  What problems were you running into?



More information about the Gcc-patches mailing list