Re: What's wrong with alloca() in gcc????

mo@gizmo.bellcore.com (Michael O'Dell)
Tue, 31 Dec 91 11:52:03 GMT

          From comp.compilers

Related articles
What's wrong with alloca() ? preston@dawn.cs.rice.edu (1991-12-19)
Re: What's wrong with alloca() ? wws@renaissance.cray.com (1991-12-30)
Re: What's wrong with alloca() in gcc???? mo@gizmo.bellcore.com (1991-12-31)
Re: What's wrong with alloca() in gcc???? ted@nmsu.edu (1991-12-31)
Re: What's wrong with alloca() in gcc???? angular!jas@Sun.COM (1992-01-01)
Re: What's wrong with alloca() in gcc???? tarjeij@ulrik.uio.no (1992-01-02)
| List of all articles for this month |

Newsgroups: comp.compilers
From: mo@gizmo.bellcore.com (Michael O'Dell)
Keywords: storage
Organization: Center for Chaotic Repeatabilty
References: 91-12-075 91-12-089
Date: Tue, 31 Dec 91 11:52:03 GMT

At least at one time, the dynamic array stuff in gcc was very broken
in that if you have


int foo[z];


sizeof(foo) returned sizeof(int). This is so wrong as to be beyond
belief. Yes, it is hard to make it work right, but then, that's why
one should think hard about putting in such "features".


-Mike O'Dell
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.