Contents of Wei Dai's Crypto23.Zip - Segmentation fault with verification process
Roberto Bagnara
bagnara@di.unipi.it
Fri May 29 14:40:00 GMT 1998
Jeffrey A Law wrote:
> In message <000401bd8a73$f5d82fe0$e901a8c0@pentium233>you write:
> > I know I've posted this before, but I didn't give any helpful information.
> > Hope this helps...
> Please read the "reporting bugs" section in the gcc manual; if you
> follow the instructions you're much more likely to get a useful
> response to your problem :-)
>
> Seriously -- we can't do anything without testcases.
>
> Also, bugs should be sent to egcs-bugs, not egcs.
And even all this may not help.
You can study the standard, provide a testcase, show
a regression with respect to releases, keep track of any
new snapshot, and still not get any response (let alone
useful ones).
I know, the developers are all volunteer, and I am really
grateful for all the good work they do. However, I did not
get any response for a couple of bug reports I sent one month
ago. Seeing so many vague bug reports being given detailed
answers, I felt like making a scene of jealousy ;)
[Almost crying]
I take any possible care to provide good reports,
why you guys seem not to care?
Seriously, the following report (updated to the latest
snapshot) shows a problem that doesn't allow me to
fully test any snapshot on my application since release 1.0.2.
Please, at least tell me whether I have misread the standard.
Roberto
/*
Reading 12.4 I understand that the fragment
void foo(I* p)
{
p->I::~I();
}
should be ok whatever type I is.
(Point 15 in 12.4 specifies that it works also for scalar types,
e.g., typedef int I.)
However, if I define
typedef C I;
for C anything
(e.g.
class C {
public:
int i;
};
see below) any snapshots since April 18 gives
/u/local/bin/g++ -c -Wall bugrep1.cc
bugrep1.cc: In function `void foo(class I *)':
bugrep1.cc:53: qualified type `C' does not match destructor name `~I'
Note that all the egcs releases do not have this problem.
Other info;
$ /u/local/bin/g++ -v
Reading specs from /u/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.33/specs
gcc version egcs-2.91.33 19980525 (gcc2 ss-980502 experimental)
$ uname -a
Linux kasper 2.0.32 #6 Sun Mar 22 22:05:21 CET 1998 i586 unknown
*/
class C {
public:
int i;
};
typedef C I;
void foo(I* p)
{
p->I::~I();
}
--
Roberto Bagnara
Department of Mathematics, University of Parma, Italy
http://www.di.unipi.it/~bagnara/bagnara.html
mailto:bagnara@di.unipi.it
More information about the Gcc-bugs
mailing list