public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/30650]  New: [Regression 4.3] ICE with -fprofile-use
@ 2007-01-31 11:13 burnus at gcc dot gnu dot org
  2007-01-31 12:48 ` [Bug gcov-profile/30650] " rguenth at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-01-31 11:13 UTC (permalink / raw)
  To: gcc-bugs

This is with gcc-Version 4.3.0 20070131 on x86_64-unknown-linux-gnu.
Using the Polyhedron tests, four tests fail with the -fprofile-use option, cf.
http://www.physik.fu-berlin.de/~tburnus/gcc-trunk/benchmark/#rt

The tests are available from:
http://www.polyhedron.co.uk/pb05/polyhedron_benchmark_suite.html

I did:
gfortran -fprofile-generate -march=opteron -ffast-math -funroll-loops
-ftree-vectorize -msse3 -O3 -o aermod aermod.f90
./aermod
gfortran -fprofile-use -march=opteron -ffast-math -funroll-loops
-ftree-vectorize -msse3 -O3 aermod.f90

The latter crashes with
test.f90: In function 'setidg':
test.f90:48679: internal compiler error: Floating point exception

If the *.gc* file(s) don't exist, no error occures.

This regression occurs between 2007-01-27-r121231 and 2007-01-30-r121332.

Program received signal SIGFPE, Arithmetic exception.
0x000000000076c316 in stringop_block_profile (stmt=0x2b59f9ca67d0,
expected_align=0x7fffb3a2ed70, expected_size=0x7fffb3a2ed68)
    at /projects/tob/gcc/gcc/value-prof.c:1440
1440          size = ((histogram->hvalue.counters[0]
(gdb) bt
#0  0x000000000076c316 in stringop_block_profile (stmt=0x2b59f9ca67d0,
expected_align=0x7fffb3a2ed70, expected_size=0x7fffb3a2ed68)
    at /projects/tob/gcc/gcc/value-prof.c:1440
#1  0x00000000004c4f97 in expand_builtin_memset (arglist=<value optimized out>,
target=0x2b59f70c7400, mode=VOIDmode,
    orig_exp=0x2b59f9ca67d0) at /projects/tob/gcc/gcc/builtins.c:3739
#2  0x00000000004c86db in expand_builtin (exp=0x2b59f9ca67d0,
target=0x2b59f70c7400, subtarget=0x0, mode=VOIDmode, ignore=1)
    at /projects/tob/gcc/gcc/builtins.c:6228
#3  0x0000000000534bb8 in expand_expr_real_1 (exp=0x2b59f9ca67d0, target=0x0,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at /projects/tob/gcc/gcc/expr.c:7724
#4  0x000000000053a3e3 in expand_expr_real (exp=0x2b59f9ca67d0,
target=0x2b59f70c7400, tmode=VOIDmode, modifier=EXPAND_NORMAL,
    alt_rtl=0x0) at /projects/tob/gcc/gcc/expr.c:6746
#5  0x0000000000642049 in expand_expr_stmt (exp=0x2b59fa3e8540) at
/projects/tob/gcc/gcc/expr.h:501
#6  0x00000000008ed6b5 in expand_gimple_basic_block (bb=0x2b59fa526000) at
/projects/tob/gcc/gcc/cfgexpand.c:1540
#7  0x00000000008ee42e in tree_expand_cfg () at
/projects/tob/gcc/gcc/cfgexpand.c:1810


-- 
           Summary: [Regression 4.3] ICE with -fprofile-use
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

end of thread, other threads:[~2007-02-14  1:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31 11:13 [Bug gcov-profile/30650] New: [Regression 4.3] ICE with -fprofile-use burnus at gcc dot gnu dot org
2007-01-31 12:48 ` [Bug gcov-profile/30650] " rguenth at gcc dot gnu dot org
2007-02-03 17:32 ` [Bug gcov-profile/30650] [4.3 Regression] " jsm28 at gcc dot gnu dot org
2007-02-03 21:45 ` stefaan dot deroeck at gmail dot com
2007-02-03 21:49 ` hubicka at gcc dot gnu dot org
2007-02-03 21:49 ` hubicka at gcc dot gnu dot org
2007-02-03 21:51 ` rguenth at gcc dot gnu dot org
2007-02-03 21:55 ` hubicka at ucw dot cz
2007-02-03 23:36 ` hubicka at gcc dot gnu dot org
2007-02-05 14:45 ` burnus at gcc dot gnu dot org
2007-02-14  1:25 ` hubicka 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).