public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/53859] New: ICE when calculate insn latency for armv7e-m arch in O2 level @ 2012-07-05 7:03 zhuolin.liu at arm dot com 2012-07-06 16:22 ` [Bug target/53859] " Greta.Yorsh at arm dot com ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: zhuolin.liu at arm dot com @ 2012-07-05 7:03 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53859 Bug #: 53859 Summary: ICE when calculate insn latency for armv7e-m arch in O2 level Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: zhuolin.liu@arm.com I cross built a compiler from recent trunk code for arm-none-eabi target. When use this compiler to compile following code for armv7e-m arch, I got an internal compiler error. My code is simple as: void bar (int,int,char* ,int); void foo (char c) { bar (1,2,&c,3 ); } ICE is triggered by command: build@sha-pdsh-build:$ arm-none-eabi-gcc -mthumb -march=armv7e-m -O2 -c test.c test.c: In function 'foo': test.c:13:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. After I change my code to: void bar (int,int,char* ,int); static void foo (char c) { bar (1,2,&c,3 ); } This ICE is gone. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/53859] ICE when calculate insn latency for armv7e-m arch in O2 level 2012-07-05 7:03 [Bug c/53859] New: ICE when calculate insn latency for armv7e-m arch in O2 level zhuolin.liu at arm dot com @ 2012-07-06 16:22 ` Greta.Yorsh at arm dot com 2012-07-10 12:26 ` gretay at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: Greta.Yorsh at arm dot com @ 2012-07-06 16:22 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53859 Greta Yorsh <Greta.Yorsh at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Greta.Yorsh at arm dot com, | |joey.ye at arm dot com --- Comment #1 from Greta Yorsh <Greta.Yorsh at arm dot com> 2012-07-06 16:21:43 UTC --- Caused by my patch for generating epilogue in RTL (r188742). Looking into it... Thanks, Greta ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/53859] ICE when calculate insn latency for armv7e-m arch in O2 level 2012-07-05 7:03 [Bug c/53859] New: ICE when calculate insn latency for armv7e-m arch in O2 level zhuolin.liu at arm dot com 2012-07-06 16:22 ` [Bug target/53859] " Greta.Yorsh at arm dot com @ 2012-07-10 12:26 ` gretay at gcc dot gnu.org 2012-07-11 1:04 ` zhuolin.liu at arm dot com ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: gretay at gcc dot gnu.org @ 2012-07-10 12:26 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53859 gretay at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-07-10 CC| |gretay at gcc dot gnu.org AssignedTo|unassigned at gcc dot |gretay at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #2 from gretay at gcc dot gnu.org 2012-07-10 12:25:36 UTC --- Here is a patch that should fix it: http://gcc.gnu.org/ml/gcc-patches/2012-07/msg00380.html It would be great if you could try this patch in your setting and let me know if it solves the problem. Thank you, Greta ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/53859] ICE when calculate insn latency for armv7e-m arch in O2 level 2012-07-05 7:03 [Bug c/53859] New: ICE when calculate insn latency for armv7e-m arch in O2 level zhuolin.liu at arm dot com 2012-07-06 16:22 ` [Bug target/53859] " Greta.Yorsh at arm dot com 2012-07-10 12:26 ` gretay at gcc dot gnu.org @ 2012-07-11 1:04 ` zhuolin.liu at arm dot com 2012-07-11 8:42 ` gretay at gcc dot gnu.org 2012-07-12 9:45 ` ramana at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: zhuolin.liu at arm dot com @ 2012-07-11 1:04 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53859 zhuolin liu <zhuolin.liu at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from zhuolin liu <zhuolin.liu at arm dot com> 2012-07-11 01:03:38 UTC --- Thanks.The patch worked. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/53859] ICE when calculate insn latency for armv7e-m arch in O2 level 2012-07-05 7:03 [Bug c/53859] New: ICE when calculate insn latency for armv7e-m arch in O2 level zhuolin.liu at arm dot com ` (2 preceding siblings ...) 2012-07-11 1:04 ` zhuolin.liu at arm dot com @ 2012-07-11 8:42 ` gretay at gcc dot gnu.org 2012-07-12 9:45 ` ramana at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: gretay at gcc dot gnu.org @ 2012-07-11 8:42 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53859 --- Comment #4 from gretay at gcc dot gnu.org 2012-07-11 08:41:43 UTC --- Author: gretay Date: Wed Jul 11 08:41:37 2012 New Revision: 189423 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189423 Log: 2012-07-10 Greta Yorsh <Greta.Yorsh@arm.com> gcc/ PR target/53859 * config/arm/arm.c (arm_early_load_addr_dep): Handle new epilogue patterns. gcc/testsuite PR target/53859 * gcc.target/arm/pr53859.c: New test. Added: trunk/gcc/testsuite/gcc.target/arm/pr53859.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/arm/arm.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/53859] ICE when calculate insn latency for armv7e-m arch in O2 level 2012-07-05 7:03 [Bug c/53859] New: ICE when calculate insn latency for armv7e-m arch in O2 level zhuolin.liu at arm dot com ` (3 preceding siblings ...) 2012-07-11 8:42 ` gretay at gcc dot gnu.org @ 2012-07-12 9:45 ` ramana at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: ramana at gcc dot gnu.org @ 2012-07-12 9:45 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53859 Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ramana at gcc dot gnu.org Target Milestone|--- |4.8.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-07-12 9:45 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-07-05 7:03 [Bug c/53859] New: ICE when calculate insn latency for armv7e-m arch in O2 level zhuolin.liu at arm dot com 2012-07-06 16:22 ` [Bug target/53859] " Greta.Yorsh at arm dot com 2012-07-10 12:26 ` gretay at gcc dot gnu.org 2012-07-11 1:04 ` zhuolin.liu at arm dot com 2012-07-11 8:42 ` gretay at gcc dot gnu.org 2012-07-12 9:45 ` ramana 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).