public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/46440] New: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre
@ 2010-11-11 19:41 zsojka at seznam dot cz
  2010-11-12 12:25 ` [Bug rtl-optimization/46440] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2010-11-11 19:41 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at
                    cfgrtl.c:2165 with -fstack-protector-all
                    -fno-tree-dominator-opts -fno-tree-fre
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 22375
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22375
reduced testcase (from gcc.dg/tree-ssa/pr17141-2.c)

Compiler output:
$ gcc -O -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre pr46440.c 
pr46440.c: In function 'foo':
pr46440.c:16:1: error: verify_flow_info: Incorrect fallthru 2->3
pr46440.c:16:1: error: wrong insn in the fallthru edge
(barrier 15 24 33)
pr46440.c:16:1: internal compiler error: in rtl_verify_flow_info, at
cfgrtl.c:2165
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r166509 - crash
r153685 - crash
4.5 r166509 - crash
4.4 r166509 - OK


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

* [Bug rtl-optimization/46440] [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre
  2010-11-11 19:41 [Bug rtl-optimization/46440] New: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre zsojka at seznam dot cz
@ 2010-11-12 12:25 ` rguenth at gcc dot gnu.org
  2010-11-15 12:01 ` jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-12 12:25 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.2


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

* [Bug rtl-optimization/46440] [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre
  2010-11-11 19:41 [Bug rtl-optimization/46440] New: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre zsojka at seznam dot cz
  2010-11-12 12:25 ` [Bug rtl-optimization/46440] " rguenth at gcc dot gnu.org
@ 2010-11-15 12:01 ` jakub at gcc dot gnu.org
  2010-11-15 14:01 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-15 12:01 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-15 11:49:40 UTC ---
Caused by r145283.


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

* [Bug rtl-optimization/46440] [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre
  2010-11-11 19:41 [Bug rtl-optimization/46440] New: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre zsojka at seznam dot cz
  2010-11-12 12:25 ` [Bug rtl-optimization/46440] " rguenth at gcc dot gnu.org
  2010-11-15 12:01 ` jakub at gcc dot gnu.org
@ 2010-11-15 14:01 ` jakub at gcc dot gnu.org
  2010-11-17 13:03 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-15 14:01 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.11.15 13:52:07
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-15 13:52:07 UTC ---
Created attachment 22398
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22398
gcc46-pr46440.patch

Untested fix.


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

* [Bug rtl-optimization/46440] [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre
  2010-11-11 19:41 [Bug rtl-optimization/46440] New: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-11-15 14:01 ` jakub at gcc dot gnu.org
@ 2010-11-17 13:03 ` jakub at gcc dot gnu.org
  2010-11-17 13:14 ` [Bug rtl-optimization/46440] [4.5 " jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-17 13:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-17 13:02:34 UTC ---
Author: jakub
Date: Wed Nov 17 13:02:31 2010
New Revision: 166867

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166867
Log:
    PR rtl-optimization/46440
    * combine.c (update_cfg_for_uncondjump): When changing
    an indirect jump into unconditional jump, remove BARRIERs
    from bb's footer.

    * gcc.dg/pr46440.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr46440.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug rtl-optimization/46440] [4.5 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre
  2010-11-11 19:41 [Bug rtl-optimization/46440] New: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-11-17 13:03 ` jakub at gcc dot gnu.org
@ 2010-11-17 13:14 ` jakub at gcc dot gnu.org
  2010-11-25 16:06 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-17 13:14 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.6.0
            Summary|[4.5/4.6 Regression] ICE:   |[4.5 Regression] ICE: in
                   |in rtl_verify_flow_info, at |rtl_verify_flow_info, at
                   |cfgrtl.c:2165 with          |cfgrtl.c:2165 with
                   |-fstack-protector-all       |-fstack-protector-all
                   |-fno-tree-dominator-opts    |-fno-tree-dominator-opts
                   |-fno-tree-fre               |-fno-tree-fre
      Known to fail|4.6.0                       |

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-17 13:03:42 UTC ---
Fixed for 4.6 so far.


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

* [Bug rtl-optimization/46440] [4.5 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre
  2010-11-11 19:41 [Bug rtl-optimization/46440] New: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-11-17 13:14 ` [Bug rtl-optimization/46440] [4.5 " jakub at gcc dot gnu.org
@ 2010-11-25 16:06 ` rguenth at gcc dot gnu.org
  2010-12-07 15:09 ` jakub at gcc dot gnu.org
  2010-12-07 15:41 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-25 16:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
      Known to work|                            |4.5.0
      Known to fail|                            |4.5.1


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

* [Bug rtl-optimization/46440] [4.5 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre
  2010-11-11 19:41 [Bug rtl-optimization/46440] New: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2010-11-25 16:06 ` rguenth at gcc dot gnu.org
@ 2010-12-07 15:09 ` jakub at gcc dot gnu.org
  2010-12-07 15:41 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-07 15:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 15:08:57 UTC ---
Author: jakub
Date: Tue Dec  7 15:08:54 2010
New Revision: 167539

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167539
Log:
    Backport from mainline
    2010-11-17  Jakub Jelinek  <jakub@redhat.com>

    PR rtl-optimization/46440
    * combine.c (update_cfg_for_uncondjump): When changing
    an indirect jump into unconditional jump, remove BARRIERs
    from bb's footer.

    * gcc.dg/pr46440.c: New test.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr46440.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/combine.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


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

* [Bug rtl-optimization/46440] [4.5 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre
  2010-11-11 19:41 [Bug rtl-optimization/46440] New: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre zsojka at seznam dot cz
                   ` (6 preceding siblings ...)
  2010-12-07 15:09 ` jakub at gcc dot gnu.org
@ 2010-12-07 15:41 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-07 15:41 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 15:41:23 UTC ---
Fixed.


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

end of thread, other threads:[~2010-12-07 15:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11 19:41 [Bug rtl-optimization/46440] New: [4.5/4.6 Regression] ICE: in rtl_verify_flow_info, at cfgrtl.c:2165 with -fstack-protector-all -fno-tree-dominator-opts -fno-tree-fre zsojka at seznam dot cz
2010-11-12 12:25 ` [Bug rtl-optimization/46440] " rguenth at gcc dot gnu.org
2010-11-15 12:01 ` jakub at gcc dot gnu.org
2010-11-15 14:01 ` jakub at gcc dot gnu.org
2010-11-17 13:03 ` jakub at gcc dot gnu.org
2010-11-17 13:14 ` [Bug rtl-optimization/46440] [4.5 " jakub at gcc dot gnu.org
2010-11-25 16:06 ` rguenth at gcc dot gnu.org
2010-12-07 15:09 ` jakub at gcc dot gnu.org
2010-12-07 15:41 ` jakub 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).