public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/13849] New: backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops
@ 2004-01-24 22:15 laurent at guerby dot net
  2004-01-24 22:17 ` [Bug ada/13849] " laurent at guerby dot net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: laurent at guerby dot net @ 2004-01-24 22:15 UTC (permalink / raw)
  To: gcc-bugs

The problem does not occur 

$ gcc -c -O3  -funroll-all-loops cxa5011.adb 
cxa5011.adb: In function `CXA5011':
cxa5011.adb:3: error: verify_flow_info: REG_BR_PROB does not match cfg 29 0
cxa5011.adb:3: error: verify_flow_info: REG_BR_PROB does not match cfg 29 0
cxa5011.adb:3: error: verify_flow_info: REG_BR_PROB does not match cfg 29 0
cxa5011.adb:3: error: verify_flow_info: REG_BR_PROB does not match cfg 29 0
+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040123 (experimental) (i686-pc-linux-gnu) verify_flow_info failed|
| Error detected at cxa5011.adb:25:5                                       |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases, 
so please double check that the problem can still 
be reproduced with the set of files listed.

cxa5011.adb

compilation abandoned
$ gcc -v
Reading specs from
/home/guerby/work/gcc/install/install-20040123T214648/lib/gcc/i686-pc-linux-gnu/3.5.0/specs
Configured with: /home/guerby/work/gcc/gcc/configure
--prefix=/home/guerby/work/gcc/install/install-20040123T214648
--enable-languages=ada,c --enable-threads --disable-nls
Thread model: posix
gcc version 3.5.0 20040123 (experimental)

The source is reduced from the ACATS test:

$ cat cxa5011.adb
with Ada.Numerics.Discrete_Random;

procedure CXA5011 is
      type    Discrete_Range   is mod 2**(Integer'Size-1);
      package Discrete_Package is new Ada.Numerics.Discrete_Random(Discrete_Range);
      TC_Max_Loop_Count        : constant Natural := 1000;

      procedure Toto (X : String) is
      begin
         null;
      end Toto;

      Gen_1, Gen_2    : Discrete_Package.Generator;
      Check_Failed    : Boolean := False;
begin
   for i in 1..TC_Max_Loop_Count loop
      if Discrete_Package.Random(Gen_1) /=
        Discrete_Package.Random(Gen_2)
      then
         Check_Failed := True;
         exit;
      end if;
   end loop;
   Toto (Integer'Image (0));
end CXA5011;

-- 
           Summary: backend ICE (verify_flow_info) on ACATS test cxa5011
                    when using -O3 -funroll-all-loops
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
                CC: gcc-bugs at gcc dot gnu dot org,laurent at guerby dot
                    net
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug ada/13849] backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops
  2004-01-24 22:15 [Bug ada/13849] New: backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops laurent at guerby dot net
@ 2004-01-24 22:17 ` laurent at guerby dot net
  2004-01-24 22:22 ` [Bug optimization/13849] " charlet at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: laurent at guerby dot net @ 2004-01-24 22:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2004-01-24 22:17 -------
The following ACATS tests also have the same ICE with -O3 -funroll-all-loops:
cxg2003 cxg2011 cxg2014


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-24 22:17:39
               date|                            |


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


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

* [Bug optimization/13849] backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops
  2004-01-24 22:15 [Bug ada/13849] New: backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops laurent at guerby dot net
  2004-01-24 22:17 ` [Bug ada/13849] " laurent at guerby dot net
@ 2004-01-24 22:22 ` charlet at gcc dot gnu dot org
  2004-01-24 22:39 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-01-24 22:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2004-01-24 22:22 -------
If it's a back-end ICE, it's unlikely to be an Ada bug.
More likely to be an optimization bug, although this is just a
guess of course.

Arno

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ada                         |optimization


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


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

* [Bug optimization/13849] backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops
  2004-01-24 22:15 [Bug ada/13849] New: backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops laurent at guerby dot net
  2004-01-24 22:17 ` [Bug ada/13849] " laurent at guerby dot net
  2004-01-24 22:22 ` [Bug optimization/13849] " charlet at gcc dot gnu dot org
@ 2004-01-24 22:39 ` pinskia at gcc dot gnu dot org
  2004-11-06 18:15 ` [Bug rtl-optimization/13849] " pinskia at gcc dot gnu dot org
  2005-06-20 19:05 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-24 22:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-24 22:39 -------
Please do not confirm your own bug.

-- 


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


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

* [Bug rtl-optimization/13849] backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops
  2004-01-24 22:15 [Bug ada/13849] New: backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops laurent at guerby dot net
                   ` (2 preceding siblings ...)
  2004-01-24 22:39 ` pinskia at gcc dot gnu dot org
@ 2004-11-06 18:15 ` pinskia at gcc dot gnu dot org
  2005-06-20 19:05 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-06 18:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-06 18:15 -------
Does this still happen?

-- 


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


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

* [Bug rtl-optimization/13849] backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops
  2004-01-24 22:15 [Bug ada/13849] New: backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops laurent at guerby dot net
                   ` (3 preceding siblings ...)
  2004-11-06 18:15 ` [Bug rtl-optimization/13849] " pinskia at gcc dot gnu dot org
@ 2005-06-20 19:05 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-20 19:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-20 19:05 -------
This works for me on powerpc-darwin.

-- 


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


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

end of thread, other threads:[~2005-06-20 19:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-24 22:15 [Bug ada/13849] New: backend ICE (verify_flow_info) on ACATS test cxa5011 when using -O3 -funroll-all-loops laurent at guerby dot net
2004-01-24 22:17 ` [Bug ada/13849] " laurent at guerby dot net
2004-01-24 22:22 ` [Bug optimization/13849] " charlet at gcc dot gnu dot org
2004-01-24 22:39 ` pinskia at gcc dot gnu dot org
2004-11-06 18:15 ` [Bug rtl-optimization/13849] " pinskia at gcc dot gnu dot org
2005-06-20 19:05 ` 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).