public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45076] New: gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-use
@ 2010-07-26 12:50 zsojka at seznam dot cz
2010-07-26 13:57 ` [Bug fortran/45076] " rguenth at gcc dot gnu dot org
2010-07-29 21:20 ` [Bug fortran/45076] [OOP] " janus at gcc dot gnu dot org
0 siblings, 2 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2010-07-26 12:50 UTC (permalink / raw)
To: gcc-bugs
Command line:
$ gfortran -O[0123] -fprofile-generate dynamic_dispatch_6.f03
$ rm dynamic_dispatch_6.gcda
$ ./a.out
$ gfortran -O[0123] -fprofile-use dynamic_dispatch_6.f03
Compiler output:
$ gfortran -fprofile-generate dynamic_dispatch_6.f03
$ rm dynamic_dispatch_6.gcda
$ ./a.out
$ gfortran -fprofile-use dynamic_dispatch_6.f03
dynamic_dispatch_6.f03: In function 'MAIN__':
dynamic_dispatch_6.f03:59:0: error: invalid conversion in gimple call
struct class$field_p
struct class$field_p
D.1711 = new_periodic_5th_order (&field_creator);
dynamic_dispatch_6.f03:59:0: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r162456 - crash
r158095 - crash
4.5 r160526 - crash
--
Summary: gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-
use
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45076
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/45076] gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-use
2010-07-26 12:50 [Bug tree-optimization/45076] New: gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-use zsojka at seznam dot cz
@ 2010-07-26 13:57 ` rguenth at gcc dot gnu dot org
2010-07-29 21:20 ` [Bug fortran/45076] [OOP] " janus at gcc dot gnu dot org
1 sibling, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-26 13:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-07-26 13:56 -------
struct class$field_p
struct class$field_p
looks more like a frontend issue.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|tree-optimization |fortran
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45076
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/45076] [OOP] gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-use
2010-07-26 12:50 [Bug tree-optimization/45076] New: gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-use zsojka at seznam dot cz
2010-07-26 13:57 ` [Bug fortran/45076] " rguenth at gcc dot gnu dot org
@ 2010-07-29 21:20 ` janus at gcc dot gnu dot org
1 sibling, 0 replies; 6+ messages in thread
From: janus at gcc dot gnu dot org @ 2010-07-29 21:20 UTC (permalink / raw)
To: gcc-bugs
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janus at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-07-29 21:19:52
date| |
Summary|gfortran.dg/dynamic_dispatch|[OOP]
|_6.f03 ICEs with -fprofile- |gfortran.dg/dynamic_dispatch
|use |_6.f03 ICEs with -fprofile-
| |use
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45076
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/45076] [OOP] gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-use
[not found] <bug-45076-4@http.gcc.gnu.org/bugzilla/>
2011-08-23 14:28 ` burnus at gcc dot gnu.org
2013-01-10 8:43 ` janus at gcc dot gnu.org
@ 2013-08-20 19:52 ` janus at gcc dot gnu.org
2 siblings, 0 replies; 6+ messages in thread
From: janus at gcc dot gnu.org @ 2013-08-20 19:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45076
--- Comment #4 from janus at gcc dot gnu.org ---
(In reply to janus from comment #3)
> > With 4.7 I get instead of an ICE just the warning:
>
> Same with curent 4.8 trunk:
>
> dynamic_dispatch_6.f03:66:0: note: Skipping target new_periodic_5th_order
> with mismatching types for icall
> u => field_creator%create()
With 4.8.2 and 4.9 trunk this only happens with -O0.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/45076] [OOP] gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-use
[not found] <bug-45076-4@http.gcc.gnu.org/bugzilla/>
2011-08-23 14:28 ` burnus at gcc dot gnu.org
@ 2013-01-10 8:43 ` janus at gcc dot gnu.org
2013-08-20 19:52 ` janus at gcc dot gnu.org
2 siblings, 0 replies; 6+ messages in thread
From: janus at gcc dot gnu.org @ 2013-01-10 8:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45076
--- Comment #3 from janus at gcc dot gnu.org 2013-01-10 08:43:09 UTC ---
(In reply to comment #2)
> With 4.7 I get instead of an ICE just the warning:
Same with curent 4.8 trunk:
dynamic_dispatch_6.f03:66:0: note: Skipping target new_periodic_5th_order with
mismatching types for icall
u => field_creator%create()
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/45076] [OOP] gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-use
[not found] <bug-45076-4@http.gcc.gnu.org/bugzilla/>
@ 2011-08-23 14:28 ` burnus at gcc dot gnu.org
2013-01-10 8:43 ` janus at gcc dot gnu.org
2013-08-20 19:52 ` janus at gcc dot gnu.org
2 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-08-23 14:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45076
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-08-23 14:14:26 UTC ---
With 4.7 I get instead of an ICE just the warning:
dynamic_dispatch_6.f03: In function ‘MAIN__’:
dynamic_dispatch_6.f03:66:0: note: Skipping target new_periodic_5th_order with
mismatching types for icall
Cf. check_ic_target in value-prof.c. The sanity check makes sure that there is
no ICE with indirect call targets. The note is printed after the following
check:
if (gimple_check_call_matching_types (call_stmt, target->decl))
return true;
I have not checked whether that check should be true, though I somehow expect
that it should be for this example.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-08-20 19:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-26 12:50 [Bug tree-optimization/45076] New: gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-use zsojka at seznam dot cz
2010-07-26 13:57 ` [Bug fortran/45076] " rguenth at gcc dot gnu dot org
2010-07-29 21:20 ` [Bug fortran/45076] [OOP] " janus at gcc dot gnu dot org
[not found] <bug-45076-4@http.gcc.gnu.org/bugzilla/>
2011-08-23 14:28 ` burnus at gcc dot gnu.org
2013-01-10 8:43 ` janus at gcc dot gnu.org
2013-08-20 19:52 ` janus 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).