public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/50784] New: [4.6 regression] internal compiler error: segmentation fault in cgraph.c:327
@ 2011-10-19  0:35 jojelino at gmail dot com
  2011-10-19  8:15 ` [Bug tree-optimization/50784] [4.7 " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jojelino at gmail dot com @ 2011-10-19  0:35 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50784
           Summary: [4.6 regression] internal compiler error: segmentation
                    fault in cgraph.c:327
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jojelino@gmail.com


Created attachment 25551
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25551
preprocessed source

gdb --args /usr/libexec/gcc/i686-pc-cygwin/4.7.0/cc1plus.exe -fpreprocessed
./pseudo-reloc.ii -quiet -dumpbase pseudo-reloc.ii -mstackrealign -march=core2
-auxbase pseudo-reloc -version -fdump-passes -fverbose-asm
-finline-small-functions -ftree-vectorize -finline-functions -fdump-rtl-expand
-fenable-tree-early_optimizations -fenable-tree-copyrename1 -fenable-tree-ccp1
-fenable-tree-esra -fenable-tree-fre1 -fenable-tree-copyprop1
-fenable-tree-cddce1 -fenable-tree-local-pure-const1
-fenable-tree-profile_estimate -fenable-tree-copyrename2 -fenable-tree-ccp2
-fenable-tree-fre2 -fenable-tree-copyprop2 -fenable-tree-dce1 -fenable-tree-ch
-fenable-tree-sra -fenable-tree-copyrename3 -fenable-tree-dom1
-fenable-tree-phicprop1 -fenable-tree-dse1 -fenable-tree-dce2
-fenable-tree-ccp3 -fenable-tree-copyprop3 -fenable-tree-sincos
-fenable-tree-sink -fenable-tree-copyprop4 -fenable-tree-dceloop1
-fenable-tree-copyprop5 -fenable-tree-copyprop6 -fenable-tree-dceloop2
-fenable-tree-dceloop3 -fenable-tree-dom2 -fenable-tree-phicprop2
-fenable-tree-cddce2 -fenable-tree-dse2 -fenable-tree-copyrename4
-fenable-tree-uncprop -fenable-tree-local-pure-const2 -fenable-tree-nrv
-fenable-ipa-inline -fenable-ipa-pure-const -fenable-ipa-static-var
-fdisable-tree-veclower -o pseudo-reloc.s
GNU gdb (GDB) 7.3.50.20110903-cvs
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...

warning: the current range check setting does not match the language.


warning: the current type check setting does not match the language.

Whether backtraces should continue past the entry point of a program is off.
Reading symbols from /usr/libexec/gcc/i686-pc-cygwin/4.7.0/cc1plus.exe...done.
(gdb) r
Starting program: /usr/libexec/gcc/i686-pc-cygwin/4.7.0/cc1plus.exe
-fpreprocessed ./pseudo-reloc.ii -quiet -dumpbase pseudo-reloc.ii
-mstackrealign -march=core2 -auxbase pseudo-reloc -version -fdump-passes
-fverbose-asm -finline-small-functions -ftree-vectorize -finline-functions
-fdump-rtl-expand -fenable-tree-early_optimizations -fenable-tree-copyrename1
-fenable-tree-ccp1 -fenable-tree-esra -fenable-tree-fre1
-fenable-tree-copyprop1 -fenable-tree-cddce1 -fenable-tree-local-pure-const1
-fenable-tree-profile_estimate -fenable-tree-copyrename2 -fenable-tree-ccp2
-fenable-tree-fre2 -fenable-tree-copyprop2 -fenable-tree-dce1 -fenable-tree-ch
-fenable-tree-sra -fenable-tree-copyrename3 -fenable-tree-dom1
-fenable-tree-phicprop1 -fenable-tree-dse1 -fenable-tree-dce2
-fenable-tree-ccp3 -fenable-tree-copyprop3 -fenable-tree-sincos
-fenable-tree-sink -fenable-tree-copyprop4 -fenable-tree-dceloop1
-fenable-tree-copyprop5 -fenable-tree-copyprop6 -fenable-tree-dceloop2
-fenable-tree-dceloop3 -fenable-tree-dom2 -fenable-tree-phicprop2
-fenable-tree-cddce2 -fenable-tree-dse2 -fenable-tree-copyrename4
-fenable-tree-uncprop -fenable-tree-local-pure-const2 -fenable-tree-nrv
-fenable-ipa-inline -fenable-ipa-pure-const -fenable-ipa-static-var
-fdisable-tree-veclower -o pseudo-reloc.s
[New Thread 2996.0x1130]
warning: section .gnu_debuglink not found in /cygdrive/d/cygwin/bin/cygwin1.dbg
[New Thread 2996.0x6f4]
cc1plus: note: enable pass tree-early_optimizations for functions in the range
of [0, 4294967295]
cc1plus: note: enable pass tree-copyrename1 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-ccp1 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-esra for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-fre1 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-copyprop1 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-cddce1 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-local-pure-const1 for functions in the range of
[0, 4294967295]
cc1plus: note: enable pass tree-profile_estimate for functions in the range of
[0, 4294967295]
cc1plus: note: enable pass tree-copyrename2 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-ccp2 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-fre2 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-copyprop2 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-dce1 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-ch for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-sra for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-copyrename3 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-dom1 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-phicprop1 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-dse1 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-dce2 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-ccp3 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-copyprop3 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-sincos for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-sink for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-copyprop4 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-dceloop1 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-copyprop5 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-copyprop6 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-dceloop2 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-dceloop3 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-dom2 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-phicprop2 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-cddce2 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-dse2 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-copyrename4 for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-uncprop for functions in the range of [0,
4294967295]
cc1plus: note: enable pass tree-local-pure-const2 for functions in the range of
[0, 4294967295]
cc1plus: note: enable pass tree-nrv for functions in the range of [0,
4294967295]
cc1plus: note: enable pass ipa-inline for functions in the range of [0,
4294967295]
cc1plus: note: enable pass ipa-pure-const for functions in the range of [0,
4294967295]
cc1plus: note: enable pass ipa-static-var for functions in the range of [0,
4294967295]
cc1plus: note: disable pass tree-veclower for functions in the range of [0,
4294967295]
GNU C++ (GCC) version 4.7.0 20111018 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.7.0 20111014 (experimental), GMP version
5.0.2, MPFR version 3.2.0-dev, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (GCC) version 4.7.0 20111018 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.7.0 20111014 (experimental), GMP version
5.0.2, MPFR version 3.2.0-dev, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 9031e7e1543d5dd12f2a89d74bd8443d
   *warn_unused_result                                 :  ON
   *diagnose_omp_blocks                                :  OFF
   tree-mudflap1                                       :  OFF
   tree-omplower                                       :  ON
   tree-lower                                          :  ON
   tree-ehopt                                          :  ON
   tree-eh                                             :  ON
   tree-cfg                                            :  ON
   *warn_function_return                               :  ON
   *build_cgraph_edges                                 :  ON
   *free_lang_data                                     :  ON
   ipa-visibility                                      :  ON
   ipa-early_local_cleanups                            :  ON
      *free_cfg_annotations                            :  ON
      *init_datastructures                             :  ON
      tree-ompexp                                      :  OFF
      *referenced_vars                                 :  ON
      tree-ssa                                         :  ON
      tree-veclower                                    :  ON (FORCED_OFF)
      *early_warn_uninitialized                        :  OFF
      *rebuild_cgraph_edges                            :  ON
      tree-inline_param1                               :  ON
      tree-einline                                     :  ON
      tree-early_optimizations                         :  OFF (FORCED_ON)
         *remove_cgraph_callee_edges                   :  ON
         tree-copyrename1                              :  OFF (FORCED_ON)
         tree-ccp1                                     :  OFF (FORCED_ON)
         tree-forwprop1                                :  ON
         tree-ealias                                   :  ON
         tree-esra                                     :  OFF (FORCED_ON)
         tree-fre1                                     :  OFF (FORCED_ON)
         tree-copyprop1                                :  OFF (FORCED_ON)
         tree-mergephi1                                :  ON
         tree-cddce1                                   :  OFF (FORCED_ON)
         tree-eipa_sra                                 :  OFF
         tree-tailr1                                   :  OFF
         tree-switchconv                               :  OFF
         tree-ehcleanup1                               :  OFF
         tree-profile_estimate                         :  OFF (FORCED_ON)
         tree-local-pure-const1                        :  OFF (FORCED_ON)
         tree-fnsplit                                  :  OFF
      tree-release_ssa                                 :  ON
      *rebuild_cgraph_edges                            :  ON
      tree-inline_param2                               :  ON
   ipa-profile                                         :  OFF
      tree-feedback_fnsplit                            :  OFF
   ipa-increase_alignment                              :  OFF
   ipa-matrix-reorg                                    :  OFF
   ipa-emutls                                          :  ON
   ipa-whole-program                                   :  ON
   ipa-profile_estimate                                :  OFF
   ipa-cp                                              :  OFF
   ipa-cdtor                                           :  OFF
   ipa-inline                                          :  OFF (FORCED_ON)
   ipa-pure-const                                      :  OFF (FORCED_ON)
   ipa-static-var                                      :  OFF (FORCED_ON)
   ipa-lto_gimple_out                                  :  OFF
   ipa-lto_decls_out                                   :  OFF
   ipa-pta                                             :  OFF
   *free_cfg_annotations                               :  ON
   tree-ehdisp                                         :  OFF
   *all_optimizations                                  :  OFF
      *remove_cgraph_callee_edges                      :  ON
      *strip_predict_hints                             :  ON
      tree-copyrename2                                 :  OFF (FORCED_ON)
      tree-cunrolli                                    :  OFF
      tree-ccp2                                        :  OFF (FORCED_ON)
      tree-forwprop2                                   :  ON
      tree-cdce                                        :  OFF
      tree-alias                                       :  ON
      tree-retslot                                     :  ON
      tree-phiprop                                     :  ON
      tree-fre2                                        :  OFF (FORCED_ON)
      tree-copyprop2                                   :  OFF (FORCED_ON)
      tree-mergephi2                                   :  ON
      tree-vrp1                                        :  OFF
      tree-dce1                                        :  OFF (FORCED_ON)
      tree-cselim                                      :  ON
      tree-ifcombine                                   :  ON
      tree-phiopt1                                     :  ON
      tree-tailr2                                      :  OFF
      tree-ch                                          :  OFF (FORCED_ON)
      tree-stdarg                                      :  OFF
      tree-cplxlower                                   :  ON
      tree-sra                                         :  OFF (FORCED_ON)
      tree-copyrename3                                 :  OFF (FORCED_ON)
      tree-dom1                                        :  OFF (FORCED_ON)
      tree-phicprop1                                   :  OFF (FORCED_ON)
      tree-dse1                                        :  OFF (FORCED_ON)
      tree-reassoc1                                    :  ON
      tree-dce2                                        :  OFF (FORCED_ON)
      tree-forwprop3                                   :  ON
      tree-phiopt2                                     :  ON
      tree-objsz                                       :  ON
      tree-strlen                                      :  OFF
      tree-ccp3                                        :  OFF (FORCED_ON)
      tree-copyprop3                                   :  OFF (FORCED_ON)
      tree-sincos                                      :  OFF (FORCED_ON)
      tree-bswap                                       :  OFF
      tree-crited                                      :  ON
      tree-pre                                         :  OFF
      tree-sink                                        :  OFF (FORCED_ON)
      tree-loop                                        :  ON
         tree-loopinit                                 :  ON
         tree-lim1                                     :  ON
         tree-copyprop4                                :  OFF (FORCED_ON)
         tree-dceloop1                                 :  OFF (FORCED_ON)
         tree-unswitch                                 :  OFF
         tree-sccp                                     :  ON
         *record_bounds                                :  ON
         tree-ckdd                                     :  OFF
         tree-ldist                                    :  OFF
         tree-copyprop5                                :  OFF (FORCED_ON)
         tree-graphite0                                :  OFF
            tree-graphite                              :  OFF
            tree-lim2                                  :  ON
            tree-copyprop6                             :  OFF (FORCED_ON)
            tree-dceloop2                              :  OFF (FORCED_ON)
         tree-ivcanon                                  :  ON
         tree-ifcvt                                    :  ON
         tree-vect                                     :  ON
            tree-dceloop3                              :  OFF (FORCED_ON)
         tree-pcom                                     :  OFF
         tree-cunroll                                  :  ON
         tree-slp                                      :  ON
         tree-parloops                                 :  OFF
         tree-aprefetch                                :  OFF
         tree-ivopts                                   :  ON
         tree-lim3                                     :  ON
         tree-loopdone                                 :  ON
      tree-veclower2                                   :  ON
      tree-recip                                       :  OFF
      tree-reassoc2                                    :  ON
      tree-vrp2                                        :  OFF
      tree-dom2                                        :  OFF (FORCED_ON)
      tree-phicprop2                                   :  OFF (FORCED_ON)
      tree-cddce2                                      :  OFF (FORCED_ON)
      tree-tracer                                      :  OFF
      tree-uninit                                      :  OFF
      tree-dse2                                        :  OFF (FORCED_ON)
      tree-forwprop4                                   :  ON
      tree-phiopt3                                     :  ON
      tree-fab                                         :  ON
      tree-widening_mul                                :  OFF
      tree-tailc                                       :  OFF
      tree-copyrename4                                 :  OFF (FORCED_ON)
      tree-uncprop                                     :  OFF (FORCED_ON)
      tree-local-pure-const2                           :  OFF (FORCED_ON)
   tree-cplxlower0                                     :  ON
   tree-ehcleanup2                                     :  OFF
   tree-resx                                           :  ON
   tree-nrv                                            :  OFF (FORCED_ON)
   tree-mudflap2                                       :  OFF
   tree-optimized                                      :  ON
   *warn_function_noreturn                             :  OFF
   rtl-expand                                          :  ON
   *rest_of_compilation                                :  ON
      *init_function                                   :  ON
      rtl-sibling                                      :  ON
      rtl-rtl_eh                                       :  OFF
      rtl-initvals                                     :  ON
      rtl-unshare                                      :  ON
      rtl-vregs                                        :  ON
      rtl-into_cfglayout                               :  ON
      rtl-jump                                         :  ON
      rtl-subreg1                                      :  OFF
      rtl-dfinit                                       :  OFF
      rtl-cse1                                         :  OFF
      rtl-fwprop1                                      :  OFF
      rtl-cprop1                                       :  OFF
      rtl-rtl pre                                      :  OFF
      rtl-hoist                                        :  OFF
      rtl-cprop2                                       :  OFF
      rtl-store_motion                                 :  OFF
      rtl-cse_local                                    :  OFF
      rtl-ce1                                          :  OFF
      rtl-reginfo                                      :  ON
      rtl-loop2                                        :  OFF
         rtl-loop2_init                                :  ON
         rtl-loop2_invariant                           :  ON
         rtl-loop2_unswitch                            :  OFF
         rtl-loop2_unroll                              :  OFF
         rtl-loop2_doloop                              :  OFF
         rtl-loop2_done                                :  ON
      rtl-web                                          :  OFF
      rtl-cprop3                                       :  OFF
      rtl-cse2                                         :  OFF
      rtl-dse1                                         :  OFF
      rtl-fwprop2                                      :  OFF
      rtl-auto_inc_dec                                 :  OFF
      rtl-init-regs                                    :  OFF
      rtl-ud_dce                                       :  OFF
      rtl-combine                                      :  OFF
      rtl-ce2                                          :  OFF
      rtl-bbpart                                       :  OFF
      rtl-regmove                                      :  OFF
      rtl-outof_cfglayout                              :  ON
      rtl-split1                                       :  ON
      rtl-subreg2                                      :  OFF
      rtl-no-opt dfinit                                :  ON
      *stack_ptr_mod                                   :  ON
      rtl-mode_sw                                      :  ON
      rtl-asmcons                                      :  ON
      rtl-sms                                          :  OFF
      rtl-sched1                                       :  OFF
      rtl-ira                                          :  ON
      *all-postreload                                  :  OFF
         rtl-postreload                                :  OFF
         rtl-gcse2                                     :  OFF
         rtl-split2                                    :  ON
         rtl-zee                                       :  OFF
         rtl-cmpelim                                   :  OFF
         rtl-btl1                                      :  OFF
         rtl-pro_and_epilogue                          :  ON
         rtl-dse2                                      :  OFF
         rtl-csa                                       :  OFF
         rtl-peephole2                                 :  OFF
         rtl-ce3                                       :  OFF
         rtl-rnreg                                     :  OFF
         rtl-cprop_hardreg                             :  OFF
         rtl-rtl_dce                                   :  OFF
         rtl-bbro                                      :  OFF
         rtl-btl2                                      :  OFF
         *leaf_regs                                    :  ON
         rtl-split4                                    :  OFF
         rtl-sched2                                    :  OFF
         *stack_regs                                   :  ON
            rtl-split3                                 :  OFF
            rtl-stack                                  :  ON
         rtl-alignments                                :  ON
         rtl-compgotos                                 :  OFF
         rtl-vartrack                                  :  OFF
         *free_cfg                                     :  ON
         rtl-mach                                      :  ON
         rtl-barriers                                  :  ON
         rtl-dbr                                       :  OFF
         rtl-split5                                    :  OFF
         rtl-eh_ranges                                 :  OFF
         rtl-shorten                                   :  ON
         rtl-nothrow                                   :  ON
         rtl-dwarf2                                    :  ON
         rtl-final                                     :  ON
      rtl-dfinish                                      :  ON
   *clean_state                                        :  ON

Program received signal SIGSEGV, Segmentation fault.
cgraph_remove_function_insertion_hook (entry=0x0) at ../.././gcc/cgraph.c:327
b327      *ptr = entry->next;
(gdb) bt
#0  cgraph_remove_function_insertion_hook (entry=0x0)
    at ../.././gcc/cgraph.c:327
#1  0x00cd9744 in propagate () at ../.././gcc/ipa-pure-const.c:1467
#2  0x0082f16d in execute_one_pass (pass=0xf414a0) at ../.././gcc/passes.c:2064
#3  0x0082f8b4 in execute_ipa_pass_list (pass=0xf414a0)
    at ../.././gcc/passes.c:2431
#4  0x00835f84 in ipa_passes () at ../.././gcc/cgraphunit.c:2061
#5  cgraph_optimize () at ../.././gcc/cgraphunit.c:2096
#6  0x008364cf in cgraph_finalize_compilation_unit ()
    at ../.././gcc/cgraphunit.c:1312
#7  0x004f2188 in cp_write_global_declarations ()
    at ../.././gcc/cp/decl2.c:4008
#8  0x0083da3c in compile_file () at ../.././gcc/toplev.c:581
#9  do_compile () at ../.././gcc/toplev.c:1930
#10 toplev_main (argc=0x3e, argv=0x2003a350) at ../.././gcc/toplev.c:2006
#11 0x00f0b6e0 in main (argc=0x3e, argv=0x2003a350) at ../.././gcc/main.c:36
#12 0x610069a8 in _cygwin_exit_return ()
    at /tmp/winsup/winsup/cygwin/dcrt0.cc:897
#13 0x61004e56 in _cygtls::call2 (this=0x6c2ce64,
    func=0x61005cd0 <dll_crt0_1(void*)>, arg=0x0, buf=0x6c2cdc4)
    at /tmp/winsup/winsup/cygwin/cygtls.cc:69
Backtrace stopped: Not enough registers or memory available to unwind further
(gdb)


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

* [Bug tree-optimization/50784] [4.7 regression] internal compiler error: segmentation fault in cgraph.c:327
  2011-10-19  0:35 [Bug tree-optimization/50784] New: [4.6 regression] internal compiler error: segmentation fault in cgraph.c:327 jojelino at gmail dot com
@ 2011-10-19  8:15 ` rguenth at gcc dot gnu.org
  2011-10-27 11:18 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-19  8:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org
   Target Milestone|---                         |4.7.0


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

* [Bug tree-optimization/50784] [4.7 regression] internal compiler error: segmentation fault in cgraph.c:327
  2011-10-19  0:35 [Bug tree-optimization/50784] New: [4.6 regression] internal compiler error: segmentation fault in cgraph.c:327 jojelino at gmail dot com
  2011-10-19  8:15 ` [Bug tree-optimization/50784] [4.7 " rguenth at gcc dot gnu.org
@ 2011-10-27 11:18 ` rguenth at gcc dot gnu.org
  2011-10-27 11:26 ` [Bug tree-optimization/50784] [4.7 regression] -fenable-ipa-pure-const causes " jojelino at gmail dot com
  2011-10-27 14:49 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-27 11:18 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011-10-27
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-27 11:17:43 UTC ---
Ugh.  I suppose you have a less "reduced" set of options?  (it's not really
useful to reduce the set of options this way)

Works for me on x86_64-linux with -m32 -O[123s]

Can you re-confirm with a simpler set of options please?


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

* [Bug tree-optimization/50784] [4.7 regression] -fenable-ipa-pure-const causes segmentation fault in cgraph.c:327
  2011-10-19  0:35 [Bug tree-optimization/50784] New: [4.6 regression] internal compiler error: segmentation fault in cgraph.c:327 jojelino at gmail dot com
  2011-10-19  8:15 ` [Bug tree-optimization/50784] [4.7 " rguenth at gcc dot gnu.org
  2011-10-27 11:18 ` rguenth at gcc dot gnu.org
@ 2011-10-27 11:26 ` jojelino at gmail dot com
  2011-10-27 14:49 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jojelino at gmail dot com @ 2011-10-27 11:26 UTC (permalink / raw)
  To: gcc-bugs

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

gee <jojelino at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.7 regression] internal   |[4.7 regression]
                   |compiler error:             |-fenable-ipa-pure-const
                   |segmentation fault in       |causes segmentation fault
                   |cgraph.c:327                |in cgraph.c:327

--- Comment #2 from gee <jojelino at gmail dot com> 2011-10-27 11:25:53 UTC ---
(In reply to comment #1)
> Ugh.  I suppose you have a less "reduced" set of options?  (it's not really
> useful to reduce the set of options this way)
> 
> Works for me on x86_64-linux with -m32 -O[123s]
> 
> Can you re-confirm with a simpler set of options please?

Starting program: /usr/libexec/gcc/i686-pc-cygwin/4.7.0/cc1plus.exe
./pseudo-reloc.ii -quiet -version -fenable-ipa-pure-const -o pseudo-reloc.s
[New Thread 4064.0xd34]
warning: section .gnu_debuglink not found in /cygdrive/d/cygwin/bin/cygwin1.dbg
[New Thread 4064.0x894]
cc1plus: note: enable pass ipa-pure-const for functions in the range of [0,
4294967295]
GNU C++ (GCC) version 4.7.0 20111025 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.7.0 20111020 (experimental), GMP version
5.0.2, MPFR version 3.2.0-dev, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (GCC) version 4.7.0 20111025 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.7.0 20111020 (experimental), GMP version
5.0.2, MPFR version 3.2.0-dev, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: cf86ba87ee966d84e06e2ba1fe53e4c2

Program received signal SIGSEGV, Segmentation fault.
cgraph_remove_function_insertion_hook (entry=0x0) at ../.././gcc/cgraph.c:327
327       *ptr = entry->next;
(gdb)


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

* [Bug tree-optimization/50784] [4.7 regression] -fenable-ipa-pure-const causes segmentation fault in cgraph.c:327
  2011-10-19  0:35 [Bug tree-optimization/50784] New: [4.6 regression] internal compiler error: segmentation fault in cgraph.c:327 jojelino at gmail dot com
                   ` (2 preceding siblings ...)
  2011-10-27 11:26 ` [Bug tree-optimization/50784] [4.7 regression] -fenable-ipa-pure-const causes " jojelino at gmail dot com
@ 2011-10-27 14:49 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-27 14:49 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-27 14:49:14 UTC ---
That's not a bug.  The -f[enable,disable] options are for debugging only.


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

end of thread, other threads:[~2011-10-27 14:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-19  0:35 [Bug tree-optimization/50784] New: [4.6 regression] internal compiler error: segmentation fault in cgraph.c:327 jojelino at gmail dot com
2011-10-19  8:15 ` [Bug tree-optimization/50784] [4.7 " rguenth at gcc dot gnu.org
2011-10-27 11:18 ` rguenth at gcc dot gnu.org
2011-10-27 11:26 ` [Bug tree-optimization/50784] [4.7 regression] -fenable-ipa-pure-const causes " jojelino at gmail dot com
2011-10-27 14:49 ` rguenth at gcc dot gnu.org

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