Adding a new gcc dir

Paulo J. Matos pocm@soton.ac.uk
Wed Mar 7 16:16:00 GMT 2007


On 3/7/07, Paul Brook <paul@codesourcery.com> wrote:
> On Wednesday 07 March 2007 14:30, gcc-gpu@adrenalin-junkie.net wrote:
> > Is it time to offer "second-strap" level of compilation? Ie allow C99 to
> > bootstrap the creation of a basic GCC compiler, then allow a second compile
> > using the basic GCC compiler to get the full compiler.
>
> Maybe, but I consider rejecting mixed code/declarations to be a feature :-)

Well, I'm curious to hear more about that... Why do you think that...
int i;
...
...
for(i = 0; i < n; i++) ..

is better than
for(int i = 0; i < ..) ... ???

I find the second much more compact and readable than the first.

> C++ comments are handy for quick debugging hacks, but I'm not sure they add
> any real value to production code.
>

Their value lies (at least for me) in things line
if (foo) // now I'll do...
{

}

and for example
struct foo {
 int myint ; // this int is ...
 double mydouble ; // this double is...
};

in a one line comments, using /* */ is just horrid! :)

> Paul
>


-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK



More information about the Gcc mailing list