This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4395: This problem appear when I try to use sa_sigaction field in struc sigaction. All fields was filled propertly.
- To: Volodymyr at sourceware dot cygnus dot com, Tarasenko at sourceware dot cygnus dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, tvntsr at yahoo dot com
- Subject: Re: c++/4395: This problem appear when I try to use sa_sigaction field in struc sigaction. All fields was filled propertly.
- From: rodrigc at gcc dot gnu dot org
- Date: 28 Sep 2001 03:34:17 -0000
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