X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flibpspp%2Fhmap-test.c;h=f9d963d83bca459067d6fbcaea96a3355089f665;hb=33debc8286f19a10149e1f0c0fbfe4ed027d172d;hp=64511b7bbf1d1c7dafb79857fc811b014d6e9af2;hpb=7acb13b811a5c727ef7421e6f44cb5ddcad0df23;p=pspp-builds.git diff --git a/tests/libpspp/hmap-test.c b/tests/libpspp/hmap-test.c index 64511b7b..f9d963d8 100644 --- a/tests/libpspp/hmap-test.c +++ b/tests/libpspp/hmap-test.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -666,6 +666,10 @@ test_insert_ordered (int max_elems, hash_function *hash) struct hmap hmap; int i; +#if __GNUC__ == 4 && __GNUC_MINOR__ == 3 + return; +#endif /* GCC 4.3 */ + hmap_init (&hmap); elements = xnmalloc (max_elems, sizeof *elements); values = xnmalloc (max_elems, sizeof *values);