public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35261]  New: GCC4.3 internal compiler error: verify_flow_info failed
@ 2008-02-20 15:38 rajiv dot adhikary at amd dot com
  2008-02-20 15:39 ` [Bug c++/35261] " rajiv dot adhikary at amd dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rajiv dot adhikary at amd dot com @ 2008-02-20 15:38 UTC (permalink / raw)
  To: gcc-bugs

Compiling using GCC4.3 with

            g++ -msse4.1 -O2 -c  repro.cpp

causes internal compiler error:

repro.cpp: In function 'int main()':
repro.cpp:122: error: BB 10 can not throw but has EH edges
repro.cpp:122: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.



In this file the error goes away if you change

            const static repro_u32 LOOP_COUNT = 100 * 1000;

to

            const static repro_s32 LOOP_COUNT = 100 * 1000;

 Alternately if I remove the creation of Timer object (comment out Timer t(
pass, expCycles ); ) the problem goes away.


-- 
           Summary: GCC4.3 internal compiler error: verify_flow_info failed
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rajiv dot adhikary at amd dot com


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


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

* [Bug c++/35261] GCC4.3 internal compiler error: verify_flow_info failed
  2008-02-20 15:38 [Bug c++/35261] New: GCC4.3 internal compiler error: verify_flow_info failed rajiv dot adhikary at amd dot com
@ 2008-02-20 15:39 ` rajiv dot adhikary at amd dot com
  2008-04-15 19:18 ` truedfx at gentoo dot org
  2008-12-28  6:54 ` [Bug tree-optimization/35261] " pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rajiv dot adhikary at amd dot com @ 2008-02-20 15:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rajiv dot adhikary at amd dot com  2008-02-20 15:39 -------
Created an attachment (id=15186)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15186&action=view)
Source File with the problem


-- 


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


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

* [Bug c++/35261] GCC4.3 internal compiler error: verify_flow_info failed
  2008-02-20 15:38 [Bug c++/35261] New: GCC4.3 internal compiler error: verify_flow_info failed rajiv dot adhikary at amd dot com
  2008-02-20 15:39 ` [Bug c++/35261] " rajiv dot adhikary at amd dot com
@ 2008-04-15 19:18 ` truedfx at gentoo dot org
  2008-12-28  6:54 ` [Bug tree-optimization/35261] " pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: truedfx at gentoo dot org @ 2008-04-15 19:18 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]



------- Comment #2 from truedfx at gentoo dot org  2008-04-15 19:17 -------
Created an attachment (id=15479)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15479&action=view)
bug.ii

I ran into this same error with different code, which I posted to
<http://gcc.gnu.org/ml/gcc-help/2008-04/msg00190.html> but reduced further to
the attached. It, like the original code, fails with GCC 4.3.0, GCC
4.3-20080410, and GCC-4.4-20080411, when GCC is configured with
--enable-checking. gcc -c -O is enough to show it with this:

$ ~/gcc/bin/gcc -c -O bug.ii
bug.ii: In function ‘void h()’:
bug.ii:7: error: BB 13 can not throw but has EH edges
bug.ii:7: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ ~/gcc/bin/gcc --version
gcc (GCC) 4.4.0 20080411 (experimental)
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


-- 


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


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

* [Bug tree-optimization/35261] GCC4.3 internal compiler error: verify_flow_info failed
  2008-02-20 15:38 [Bug c++/35261] New: GCC4.3 internal compiler error: verify_flow_info failed rajiv dot adhikary at amd dot com
  2008-02-20 15:39 ` [Bug c++/35261] " rajiv dot adhikary at amd dot com
  2008-04-15 19:18 ` truedfx at gentoo dot org
@ 2008-12-28  6:54 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-28  6:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-12-28 06:52 -------
Both of these work on the trunk on i386-darwin8.11, Do you know if it works on
the 4.3 branch?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|c++                         |tree-optimization


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


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

end of thread, other threads:[~2008-12-28  6:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-20 15:38 [Bug c++/35261] New: GCC4.3 internal compiler error: verify_flow_info failed rajiv dot adhikary at amd dot com
2008-02-20 15:39 ` [Bug c++/35261] " rajiv dot adhikary at amd dot com
2008-04-15 19:18 ` truedfx at gentoo dot org
2008-12-28  6:54 ` [Bug tree-optimization/35261] " pinskia at gcc dot gnu dot 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).