This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

FD_ZERO broken on egcs-19981101, i686-pc-linux-gnulibc1



% cat test.cc
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>

int main()
{
  fd_set s;
  FD_ZERO(&s);
  return 0;
}


/* show that it works on older snapshot */

% /afs/cs/usr/kosak/various-gcc/egcs-19981019/i386_linux2/bin/g++ -v
Reading specs from /afs/cs.cmu.edu/project/cmcl-kosak/various-gcc/egcs-19981019/i386_linux2/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.92.16/specs
gcc version egcs-2.92.16 19981019 (gcc2 ss-980609 experimental)
% /afs/cs/usr/kosak/various-gcc/egcs-19981019/i386_linux2/bin/g++ test.cc
%


/* show that it doesn't work on latest snapshot */

% /afs/cs/usr/kosak/various-gcc/egcs-19981101/i386_linux2/bin/g++ -v
Reading specs from /afs/cs.cmu.edu/project/cmcl-kosak/various-gcc/egcs-19981101/i386_linux2/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.92.18/specs
gcc version egcs-2.92.18 19981101 (gcc2 ss-980609 experimental)
% /afs/cs/usr/kosak/various-gcc/egcs-19981101/i386_linux2/bin/g++ test.cc
test.cc: In function `int main()':
test.cc:8: Invalid `asm' statement:
test.cc:8: fixed or forbidden register 2 (cx) was spilled for class CREG.
%



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]