public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/50605] New: ice in ipa_get_jf_pass_through_result with -O3 @ 2011-10-03 20:28 dcb314 at hotmail dot com 2011-11-09 16:50 ` [Bug tree-optimization/50605] " jamborm at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: dcb314 at hotmail dot com @ 2011-10-03 20:28 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50605 Bug #: 50605 Summary: ice in ipa_get_jf_pass_through_result with -O3 Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: dcb314@hotmail.com Created attachment 25406 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25406 C++ source code I just tried to compile the package armacycles-ad-0.2.8.3.1 with the latest trunk snapshot 20111001 on an AMD x86_64 box. The compiler said /home/dcb/rpmbuild/BUILD/armagetronad-0.2.8.3.1/bindist/../src/tools/tRecorderInternal.cpp:311:46: internal compiler error: in ipa_get_jf_pass_through_result, at ipa-cp.c:641 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Preprocessed source code attached. Flag -O3 required. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/50605] ice in ipa_get_jf_pass_through_result with -O3 2011-10-03 20:28 [Bug c++/50605] New: ice in ipa_get_jf_pass_through_result with -O3 dcb314 at hotmail dot com @ 2011-11-09 16:50 ` jamborm at gcc dot gnu.org 2011-11-10 10:41 ` jamborm at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: jamborm at gcc dot gnu.org @ 2011-11-09 16:50 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50605 Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2011-11-09 AssignedTo|unassigned at gcc dot |jamborm at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-11-09 16:19:35 UTC --- Confirmed, the problem is that is_gimple_ip_invariant returns false for &MEM[(struct tRecorderImp *)&recorder + 8B] where &reorder is an IP gimple invariant, which I believe is wrong. I'll try to address this. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/50605] ice in ipa_get_jf_pass_through_result with -O3 2011-10-03 20:28 [Bug c++/50605] New: ice in ipa_get_jf_pass_through_result with -O3 dcb314 at hotmail dot com 2011-11-09 16:50 ` [Bug tree-optimization/50605] " jamborm at gcc dot gnu.org @ 2011-11-10 10:41 ` jamborm at gcc dot gnu.org 2011-11-14 14:01 ` jamborm at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: jamborm at gcc dot gnu.org @ 2011-11-10 10:41 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50605 --- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-11-10 10:28:03 UTC --- Created attachment 25776 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25776 Simple testcase Simplified testcase, -O3 -fno-early-inlining required, fails for me at i686 but will most probably just fail anywhere now. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/50605] ice in ipa_get_jf_pass_through_result with -O3 2011-10-03 20:28 [Bug c++/50605] New: ice in ipa_get_jf_pass_through_result with -O3 dcb314 at hotmail dot com 2011-11-09 16:50 ` [Bug tree-optimization/50605] " jamborm at gcc dot gnu.org 2011-11-10 10:41 ` jamborm at gcc dot gnu.org @ 2011-11-14 14:01 ` jamborm at gcc dot gnu.org 2011-11-18 15:39 ` jamborm at gcc dot gnu.org 2011-11-18 16:49 ` jamborm at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jamborm at gcc dot gnu.org @ 2011-11-14 14:01 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50605 --- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-11-14 13:13:11 UTC --- I have posted a proposed fix to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01509.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/50605] ice in ipa_get_jf_pass_through_result with -O3 2011-10-03 20:28 [Bug c++/50605] New: ice in ipa_get_jf_pass_through_result with -O3 dcb314 at hotmail dot com ` (2 preceding siblings ...) 2011-11-14 14:01 ` jamborm at gcc dot gnu.org @ 2011-11-18 15:39 ` jamborm at gcc dot gnu.org 2011-11-18 16:49 ` jamborm at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jamborm at gcc dot gnu.org @ 2011-11-18 15:39 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50605 --- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-11-18 15:13:58 UTC --- Author: jamborm Date: Fri Nov 18 15:13:54 2011 New Revision: 181477 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181477 Log: 2011-11-18 Martin Jambor <mjambor@suse.cz> PR tree-optimization/50605 * gimple.c (is_gimple_ip_invariant_address): Also handle MEM_REFs of IPA invariant decls. * testsuite/g++.dg/ipa/pr50605.C: New test. Added: trunk/gcc/testsuite/g++.dg/ipa/pr50605.C Modified: trunk/gcc/ChangeLog trunk/gcc/gimple.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/50605] ice in ipa_get_jf_pass_through_result with -O3 2011-10-03 20:28 [Bug c++/50605] New: ice in ipa_get_jf_pass_through_result with -O3 dcb314 at hotmail dot com ` (3 preceding siblings ...) 2011-11-18 15:39 ` jamborm at gcc dot gnu.org @ 2011-11-18 16:49 ` jamborm at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jamborm at gcc dot gnu.org @ 2011-11-18 16:49 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50605 Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-11-18 16:32:42 UTC --- Fixed. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-11-18 16:33 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-10-03 20:28 [Bug c++/50605] New: ice in ipa_get_jf_pass_through_result with -O3 dcb314 at hotmail dot com 2011-11-09 16:50 ` [Bug tree-optimization/50605] " jamborm at gcc dot gnu.org 2011-11-10 10:41 ` jamborm at gcc dot gnu.org 2011-11-14 14:01 ` jamborm at gcc dot gnu.org 2011-11-18 15:39 ` jamborm at gcc dot gnu.org 2011-11-18 16:49 ` jamborm 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).