public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "aj at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/39222]  New: out of memory bootstrapping
Date: Tue, 17 Feb 2009 21:09:00 -0000	[thread overview]
Message-ID: <bug-39222-260@http.gcc.gnu.org/bugzilla/> (raw)

On my Linux/x86-64 system using --enable-checking=yes,rtl, I get a bootstrap
failure since revision 144100 - revision was good 144099.

Difference between the two revisions is:
+2009-02-11  Uros Bizjak  <ubizjak@gmail.com>                      
+           Jakub Jelinek  <jakub@redhat.com>                      
+                                                                  
+       PR target/39118                                            
+       * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
+       (memory_blockage): New expander.                             
+       (*memory_blockage): New insn pattern.                        
+       * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
+       instead of general blockage at the end of function prologue when
+       frame pointer is used to access red zone area.  Do not emit blockage
+       when profiling, it is emitted in generic code.                      
+       (ix86_expand_epilogue): Emit memory_blockage at the beginning of    
+       function epilogue when frame pointer is used to access red zone area.


ulimit -m 1000000 -v 1000000;/build/gcc/./prev-gcc/cc1 -fpreprocessed
insn-recog.i -quiet -dumpbase insn-recog.c -mtune=generic -auxbase-strip
insn-recog.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -version -fno-common -o insn-recog.s
GNU C (GCC) version 4.4.0 20090217 (experimental) [trunk revision 144226]
(x86_64-suse-linux-gnu)
        compiled by GNU C version 4.3.2 [gcc-4_3-branch revision 141291], GMP
version 4.2.3, MPFR version 2.3.2.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 622901275906e2c608cc2c353b39e0fe

this ends with:
cc1: out of memory allocating 4064 bytes after a total of 660041728 bytes
make[3]: *** [insn-recog.o] Error 1

running cc1 in gdb, I get the following backtrace:
#0  0x00007f08a835a250 in exit () from /lib64/libc.so.6
#1  0x0000000000ecb134 in xexit ()
#2  0x0000000000ecaf7e in xmalloc_failed ()
#3  0x0000000000ecb031 in xmalloc ()
#4  0x00007f08a83a02ae in _obstack_newchunk () from /lib64/libc.so.6
#5  0x0000000000496c64 in bitmap_elt_insert_after ()
#6  0x0000000000497cba in bitmap_ior_into ()
#7  0x0000000000516af2 in df_rd_confluence_n ()
#8  0x000000000050ebf5 in df_worklist_dataflow ()
#9  0x000000000050e181 in df_analyze_problem ()
#10 0x000000000050e43f in df_analyze ()
#11 0x0000000000e32cb0 in fwprop_init ()
#12 0x0000000000e35ede in fwprop ()
#13 0x00000000006bedf2 in execute_one_pass ()
#14 0x00000000006bef45 in execute_pass_list ()
#15 0x00000000006bef5d in execute_pass_list ()
#16 0x0000000000808d7f in tree_rest_of_compilation ()
#17 0x00000000009a210b in cgraph_expand_function ()
#18 0x00000000009a3e2f in cgraph_optimize ()
#19 0x00000000004164d5 in c_write_global_declarations ()
#20 0x00000000007b6958 in toplev_main ()
#21 0x0000000000486b15 in main ()

I'm appending insn-recog.i.

Compiler was bootstrapped with:
/cvs/gcc-svn/trunk/configure --prefix=/opt/gcc/4.4-devel
--enable-checking=yes,rtl --enable-decimal-float --enable-threads=posix
--enable-clocale=gnu --enable-ssp --disable-libssp
--enable-libstdcxx-allocator=new --enable-__cxa_atexit --enable-shared
--enable-languages=c,c++ --disable-multilib --with-system-zlib
x86_64-suse-linux-gnu

Note: If you use --disable-checking, the bootstrap is successfull


-- 
           Summary: out of memory bootstrapping
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aj at gcc dot gnu dot org
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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


             reply	other threads:[~2009-02-17 21:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17 21:09 aj at gcc dot gnu dot org [this message]
2009-02-17 21:10 ` [Bug target/39222] " aj at gcc dot gnu dot org
2009-02-18  7:15 ` ubizjak at gmail dot com
2009-02-18  8:55 ` jakub at gcc dot gnu dot org
2009-02-18 10:18 ` aj at gcc dot gnu dot org
2009-02-18 10:46 ` jakub at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-39222-260@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).