--- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-13 04:12 ---
And then h is unitialized through out the first iteration of the for loop too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42023
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-11-13 04:11 ---
int h;
while (h > 0){
You are using h as unitialized.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #1 from chenclf at gmail dot com 2009-11-13 04:09 ---
Created an attachment (id=19008)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19008&action=view)
the error occured without he the standard output line in the "shell_sort"
function.
--
http://gcc.gnu.org/bugzill