public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/59260] New: fold-const.c:14871:5: error: 'hash_table' has not been declared
@ 2013-11-23  8:09 dimhen at gmail dot com
  2013-11-23  8:21 ` [Bug bootstrap/59260] " dimhen at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dimhen at gmail dot com @ 2013-11-23  8:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59260

            Bug ID: 59260
           Summary: fold-const.c:14871:5: error: 'hash_table' has not been
                    declared
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com

trunk r205300 Fedora19/x86_64 configured as

~/src/gcc_current/configure --prefix=/usr/local/gcc_current
--with-multilib-list=m64 --enable-checking=fold --enable-languages=c,c++,lto
--enable-plugin --with-tune=native --with-arch=native
--enable-version-specific-runtime-libs

err triggered by --enable-checking=fold and looks as

make[3]: Entering directory `/home/dimhen/build/gcc_current_fold/gcc'
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I/home/dimhen/src/gcc_current/gcc -I/home/dimhen/src/gcc_current/gcc/.
-I/home/dimhen/src/gcc_current/gcc/../include
-I/home/dimhen/src/gcc_current/gcc/../libcpp/include
-I/home/dimhen/build/gcc_current_fold/./gmp -I/home/dimhen/src/gcc_current/gmp
-I/home/dimhen/build/gcc_current_fold/./mpfr
-I/home/dimhen/src/gcc_current/mpfr -I/home/dimhen/src/gcc_current/mpc/src 
-I/home/dimhen/src/gcc_current/gcc/../libdecnumber
-I/home/dimhen/src/gcc_current/gcc/../libdecnumber/bid -I../libdecnumber
-I/home/dimhen/src/gcc_current/gcc/../libbacktrace -DCLOOG_INT_GMP
-I/home/dimhen/build/gcc_current_fold/./cloog/include
-I/home/dimhen/src/gcc_current/cloog/include
-I/home/dimhen/src/gcc_current/cloog/include 
-I/home/dimhen/build/gcc_current_fold/./isl/include
-I/home/dimhen/src/gcc_current/isl/include  -o fold-const.o -MT fold-const.o
-MMD -MP -MF ./.deps/fold-const.TPo
/home/dimhen/src/gcc_current/gcc/fold-const.c
/home/dimhen/src/gcc_current/gcc/fold-const.c:14871:5: error: 'hash_table' has
not been declared
     hash_table <pointer_hash <tree_node> >);
     ^
[...]

For me help the following

$ svn diff
Index: fold-const.c
===================================================================
--- fold-const.c    (revision 205300)
+++ fold-const.c    (working copy)
@@ -68,6 +68,10 @@
 #include "gimplify.h"
 #include "tree-dfa.h"

+#ifdef ENABLE_FOLD_CHECKING
+#include "hash-table.h"
+#endif
+
 /* Nonzero if we are folding constants inside an initializer; zero
    otherwise.  */
 int folding_initializer = 0;


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/59260] fold-const.c:14871:5: error: 'hash_table' has not been declared
  2013-11-23  8:09 [Bug bootstrap/59260] New: fold-const.c:14871:5: error: 'hash_table' has not been declared dimhen at gmail dot com
@ 2013-11-23  8:21 ` dimhen at gmail dot com
  2013-11-23 11:22 ` dimhen at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dimhen at gmail dot com @ 2013-11-23  8:21 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59260

--- Comment #1 from Dmitry G. Dyachenko <dimhen at gmail dot com> ---
Created attachment 31277
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31277&action=edit
proposed patch


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/59260] fold-const.c:14871:5: error: 'hash_table' has not been declared
  2013-11-23  8:09 [Bug bootstrap/59260] New: fold-const.c:14871:5: error: 'hash_table' has not been declared dimhen at gmail dot com
  2013-11-23  8:21 ` [Bug bootstrap/59260] " dimhen at gmail dot com
@ 2013-11-23 11:22 ` dimhen at gmail dot com
  2013-11-25  9:24 ` [Bug bootstrap/59260] [4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dimhen at gmail dot com @ 2013-11-23 11:22 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59260

Dmitry G. Dyachenko <dimhen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amacleod at redhat dot com,
                   |                            |dimhen at gmail dot com

--- Comment #2 from Dmitry G. Dyachenko <dimhen at gmail dot com> ---
caused by r205272


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/59260] [4.9 Regression] fold-const.c:14871:5: error: 'hash_table' has not been declared
  2013-11-23  8:09 [Bug bootstrap/59260] New: fold-const.c:14871:5: error: 'hash_table' has not been declared dimhen at gmail dot com
  2013-11-23  8:21 ` [Bug bootstrap/59260] " dimhen at gmail dot com
  2013-11-23 11:22 ` dimhen at gmail dot com
@ 2013-11-25  9:24 ` rguenth at gcc dot gnu.org
  2013-11-25 13:23 ` amacleod at redhat dot com
  2013-11-25 17:37 ` dimhen at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-25  9:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59260

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0
            Summary|fold-const.c:14871:5:       |[4.9 Regression]
                   |error: 'hash_table' has not |fold-const.c:14871:5:
                   |been declared               |error: 'hash_table' has not
                   |                            |been declared


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/59260] [4.9 Regression] fold-const.c:14871:5: error: 'hash_table' has not been declared
  2013-11-23  8:09 [Bug bootstrap/59260] New: fold-const.c:14871:5: error: 'hash_table' has not been declared dimhen at gmail dot com
                   ` (2 preceding siblings ...)
  2013-11-25  9:24 ` [Bug bootstrap/59260] [4.9 Regression] " rguenth at gcc dot gnu.org
@ 2013-11-25 13:23 ` amacleod at redhat dot com
  2013-11-25 17:37 ` dimhen at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: amacleod at redhat dot com @ 2013-11-25 13:23 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59260

--- Comment #3 from Andrew Macleod <amacleod at redhat dot com> ---
Author: amacleod
Date: Mon Nov 25 13:23:09 2013
New Revision: 205352

URL: http://gcc.gnu.org/viewcvs?rev=205352&root=gcc&view=rev
Log:
    PR bootstrap/59260
    * fold-const.c: Include hash-table.h.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/59260] [4.9 Regression] fold-const.c:14871:5: error: 'hash_table' has not been declared
  2013-11-23  8:09 [Bug bootstrap/59260] New: fold-const.c:14871:5: error: 'hash_table' has not been declared dimhen at gmail dot com
                   ` (3 preceding siblings ...)
  2013-11-25 13:23 ` amacleod at redhat dot com
@ 2013-11-25 17:37 ` dimhen at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: dimhen at gmail dot com @ 2013-11-25 17:37 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59260

Dmitry G. Dyachenko <dimhen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dmitry G. Dyachenko <dimhen at gmail dot com> ---
fixed in r205352


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-11-25 17:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-23  8:09 [Bug bootstrap/59260] New: fold-const.c:14871:5: error: 'hash_table' has not been declared dimhen at gmail dot com
2013-11-23  8:21 ` [Bug bootstrap/59260] " dimhen at gmail dot com
2013-11-23 11:22 ` dimhen at gmail dot com
2013-11-25  9:24 ` [Bug bootstrap/59260] [4.9 Regression] " rguenth at gcc dot gnu.org
2013-11-25 13:23 ` amacleod at redhat dot com
2013-11-25 17:37 ` dimhen at gmail dot com

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).