libstdc++.exp patch

François Dumont francois.cppdevs@free.fr
Thu Apr 21 19:37:00 GMT 2011


Hi

     Here is the patch I submitted some months ago before 4.6.0 release.

2011-04-21  François Dumont <francois.cppdevs@free.fr>

         * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
         unused compilation result thanks to /dev/null.
         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode
         check_v3_target_profile_mode check_v3_target_normal_mode
         check_v3_target_cstdint check_v3_target_cmath
         check_v3_target_atomic_builtins check_v3_target_gthreads
         check_v3_target_nanosleep check_v3_target_sched_yield
         check_v3_target_string_conversions check_v3_target_swprintf
         check_v3_target_binary_io): Use simple preprocessing rather than
         compilation. Discard unused preprocessing result thanks to 
/dev/null.

     My only concern regarding this patch is on the portability of 
/dev/null. I also wonder if check_v3_target_time could not simply use 
the object or even assembly target rather than executable, what do you 
think ?

Regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libstdc++.exp.patch
Type: text/x-patch
Size: 13674 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110421/adb6b1c0/attachment.bin>


More information about the Libstdc++ mailing list