c++/4395: This problem appear when I try to use sa_sigaction field in struc sigaction. All fields was filled propertly.
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Thu Sep 27 20:34:00 GMT 2001
Synopsis: This problem appear when I try to use sa_sigaction field in struc sigaction. All fields was filled propertly.
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Thu Sep 27 20:34:16 2001
State-Changed-Why:
I did not get an internal compiler error when compiling
this testcase with gcc 3.0.1.
I got some compilation errors, complaining
about missing member variables in structs.
I could compile your testcase by changing:
my_act[sig]. __sigaction_handler.sa_handler = doit;
to
my_act[sig].sa_handler = doit;
and
my_act[sig]. __sigaction_handler.sa_handler = doit;
to:
my_act[sig].sa_handler = doit;
I have attached the fixed test case to this problem report.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4395&database=gcc
More information about the Gcc-bugs
mailing list