public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report
[not found] <20040323221847.14699.belyshev@lubercy.com>
@ 2004-05-04 16:56 ` belyshev at lubercy dot com
2004-06-26 15:12 ` belyshev at lubercy dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: belyshev at lubercy dot com @ 2004-05-04 16:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-05-04 16:56 -------
An updated patch here: http://gcc.gnu.org/ml/gcc-patches/2004-03/msg02049.html
2004-05-04 Serge Belyshev <belyshev@lubercy.com>
PR 14699
* hashtable.c (ht_dump_statistics): Change type of sum_of_squares
from size_t to double.
diff -u hashtable.c.~1.16.~ hashtable.c
--- hashtable.c.~1.16.~ 2003-08-23 02:29:17.000000000 +0400
+++ hashtable.c 2004-03-25 01:37:01.998704560 +0300
@@ -228,8 +228,8 @@
ht_dump_statistics (hash_table *table)
{
size_t nelts, nids, overhead, headers;
- size_t total_bytes, longest, sum_of_squares;
- double exp_len, exp_len2, exp2_len;
+ size_t total_bytes, longest;
+ double exp_len, exp_len2, exp2_len, sum_of_squares;
hashnode *p, *limit;
#define SCALE(x) ((unsigned long) ((x) < 1024*10 \
@@ -248,7 +248,7 @@
size_t n = HT_LEN (*p);
total_bytes += n;
- sum_of_squares += n * n;
+ sum_of_squares += (double) n * n;
if (n > longest)
longest = n;
nids++;
Can anyone apply it as it was approved by Zack in
http://gcc.gnu.org/ml/gcc-patches/2004-03/msg02117.html ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14699
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report
[not found] <20040323221847.14699.belyshev@lubercy.com>
2004-05-04 16:56 ` [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report belyshev at lubercy dot com
@ 2004-06-26 15:12 ` belyshev at lubercy dot com
2004-09-06 13:23 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: belyshev at lubercy dot com @ 2004-06-26 15:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-06-26 14:08 -------
updated patch: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg02184.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14699
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report
[not found] <20040323221847.14699.belyshev@lubercy.com>
2004-05-04 16:56 ` [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report belyshev at lubercy dot com
2004-06-26 15:12 ` belyshev at lubercy dot com
@ 2004-09-06 13:23 ` cvs-commit at gcc dot gnu dot org
2004-09-06 14:44 ` giovannibajo at libero dot it
2004-09-07 8:08 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-06 13:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-06 13:22 -------
Subject: Bug 14699
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bonzini@gcc.gnu.org 2004-09-06 13:22:49
Modified files:
libcpp : ChangeLog symtab.c
Log message:
2004-09-06 Serge Belyshev <belyshev@lubercy.com>
PR preprocessor/14699
* symtab.c (ht_dump_statistics): Change type of sum_of_squares
from size_t to double.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gcc&r1=1.24&r2=1.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/symtab.c.diff?cvsroot=gcc&r1=1.3&r2=1.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14699
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report
[not found] <20040323221847.14699.belyshev@lubercy.com>
` (2 preceding siblings ...)
2004-09-06 13:23 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-06 14:44 ` giovannibajo at libero dot it
2004-09-07 8:08 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 9+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-06 14:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-09-06 14:44 -------
Fixed now, thakns Serge for the patch and Paolo for committing it.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14699
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report
[not found] <20040323221847.14699.belyshev@lubercy.com>
` (3 preceding siblings ...)
2004-09-06 14:44 ` giovannibajo at libero dot it
@ 2004-09-07 8:08 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-07 8:08 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14699
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report
2004-03-23 22:19 [Bug preprocessor/14699] New: " 1319 at bot dot ru
` (2 preceding siblings ...)
2004-03-23 22:59 ` pinskia at gcc dot gnu dot org
@ 2004-03-24 4:26 ` 1319 at bot dot ru
3 siblings, 0 replies; 9+ messages in thread
From: 1319 at bot dot ru @ 2004-03-24 4:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From 1319 at bot dot ru 2004-03-24 04:26 -------
patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-03/msg01961.html>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14699
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report
2004-03-23 22:19 [Bug preprocessor/14699] New: " 1319 at bot dot ru
2004-03-23 22:23 ` [Bug preprocessor/14699] " 1319 at bot dot ru
2004-03-23 22:23 ` 1319 at bot dot ru
@ 2004-03-23 22:59 ` pinskia at gcc dot gnu dot org
2004-03-24 4:26 ` 1319 at bot dot ru
3 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-23 22:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-23 22:59 -------
Confirmed. Could you send your patch gcc-patches@gcc.gnu.org ___after___ reading http://
gcc.gnu.org/contribute.html. Thanks.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail|3.3.4 3.4.0 3.5.0 tree-ssa |3.3.4 3.4.0 3.5.0 tree-ssa
|lno |lno 3.3.1 3.2.3 3.0.4
Last reconfirmed|0000-00-00 00:00:00 |2004-03-23 22:59:04
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14699
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report
2004-03-23 22:19 [Bug preprocessor/14699] New: " 1319 at bot dot ru
@ 2004-03-23 22:23 ` 1319 at bot dot ru
2004-03-23 22:23 ` 1319 at bot dot ru
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: 1319 at bot dot ru @ 2004-03-23 22:23 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.3.4 3.4.0 3.5.0 tree-ssa
| |lno
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14699
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report
2004-03-23 22:19 [Bug preprocessor/14699] New: " 1319 at bot dot ru
2004-03-23 22:23 ` [Bug preprocessor/14699] " 1319 at bot dot ru
@ 2004-03-23 22:23 ` 1319 at bot dot ru
2004-03-23 22:59 ` pinskia at gcc dot gnu dot org
2004-03-24 4:26 ` 1319 at bot dot ru
3 siblings, 0 replies; 9+ messages in thread
From: 1319 at bot dot ru @ 2004-03-23 22:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From 1319 at bot dot ru 2004-03-23 22:23 -------
Created an attachment (id=5984)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5984&action=view)
same patch generated by cvs diff
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14699
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-09-07 8:08 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20040323221847.14699.belyshev@lubercy.com>
2004-05-04 16:56 ` [Bug preprocessor/14699] abort() in hashtable.c in approx_sqrt() with -fmem-report belyshev at lubercy dot com
2004-06-26 15:12 ` belyshev at lubercy dot com
2004-09-06 13:23 ` cvs-commit at gcc dot gnu dot org
2004-09-06 14:44 ` giovannibajo at libero dot it
2004-09-07 8:08 ` pinskia at gcc dot gnu dot org
2004-03-23 22:19 [Bug preprocessor/14699] New: " 1319 at bot dot ru
2004-03-23 22:23 ` [Bug preprocessor/14699] " 1319 at bot dot ru
2004-03-23 22:23 ` 1319 at bot dot ru
2004-03-23 22:59 ` pinskia at gcc dot gnu dot org
2004-03-24 4:26 ` 1319 at bot dot ru
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).