View Single Post
Old 09-10-2004, 10:40 AM   #1 (permalink)
Autochron
Upright
 
Location: ... sorry, no answer here.
[C] Anyone crash gcc?

Just on a lark, I was wondering if anyone here has "successfully" crashed gcc...

I managed to do it once a few years ago (one of the later 2.x versions) by using the following code:

--- Cut Here ---
a[i];
--- Cut Here ---

That's it -- no declarations or anything.

Is it just me, or is it a perverse sort of ego trip to have found a bug in a program (esp. a compiler) as rigorously tested as gcc is?

Just a thought.
__________________
I've been given the mushroom treatment -- kept in the dark and fed sh*t.
Autochron is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47