On 1/6/15 04:07, Jeff Law wrote: > On 12/28/14 21:04, Chen Gang S wrote: >> When failure occurs, random_seed may not be 0, so need reset it to 0 >> manually, or will let the next call init_random_seed() incorrect. The >> related warning: >> >> g++ -c -DTARGET_NAME=\"parisc-gchen-linux\" -g -O2 -DIN_GCC >> -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti >> -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual >> -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long >> -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H >> -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include >> -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber >> -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber >> -I../../gcc/gcc/../libbacktrace -o toplev.o -MT toplev.o -MMD -MP -MF >> ./.deps/toplev.TPo ../../gcc/gcc/toplev.c >> ../../gcc/gcc/toplev.c: In function 'void init_local_tick()': >> ../../gcc/gcc/toplev.c:276:56: warning: ignoring return value of 'ssize_t >> read(int, void*, size_t)', declared with attribute warn_unused_result >> [-Wunused-result] >> >> It passes testsuite under x86_64-apple-darwin14.0.0 >> >> /gcc >> 2014-12-27 Chen Gang <gang.chen.5...@gmail.com> >> >> * toplev.c (init_local_tick): Process the failure when read >> fails for random_seed. > This is fine for the trunk. Please install. >
Excuse me, I am not familiar with the related working flow, who should install this patch? At present, I can not find the related patch in gcc master branch. If I should install the patch by myself, sorry, at present, I have no write priority. I am performing the assignment working flow for gcc, I guess, after finish the working flow, I may have write priority. If what I said above is incorrect, or the time is too long to bear (I guess, may need 1 month to finish the assignment working flow), welcome any members to help install the patch. Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed