Summary: | [4.5/4.6 Regression] lm32-rtems* ICE | ||
---|---|---|---|
Product: | gcc | Reporter: | Ralf Corsepius <corsepiu> |
Component: | target | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs, joel.sherrill, lekernel, philpem |
Priority: | P4 | Keywords: | ice-on-valid-code |
Version: | 4.5.0 | ||
Target Milestone: | 4.5.3 | ||
Host: | Target: | lm32-rtems* | |
Build: | Known to work: | 4.4.3 | |
Known to fail: | 4.5.0 | Last reconfirmed: | |
Attachments: |
*.i of the source file triggering the ICE
Possible fix for bug |
Description
Ralf Corsepius
2010-04-12 11:48:15 UTC
Created attachment 20363 [details]
*.i of the source file triggering the ICE
Did you have patches to get past http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43527 or has it just gone away? (In reply to comment #2) > Did you have patches to get past > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43527 or has it just gone away? Neither. This breakdown is with the rtems-4.11-lm32-rtems4.11-gcc rpm, i.e. it is built from the gcc-4.5.0-RC-20100406 candidate tarball. Also, unlike what you write in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43527#c1 (compiles at -O0, doesn't compile at -O1), this breakdown is with -O0. For the record: Bug is also present in gcc-4.5.0 (final). This is the same as 43805. Looks like it can be fixed by removing GO_IF_MODE_DEPENDENT_ADDRESS from lm32.h. I'll submit a patch shotly. Created attachment 20747 [details]
Possible fix for bug
Subject: Bug 43726 Author: jbeniston Date: Thu May 27 15:05:48 2010 New Revision: 159922 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159922 Log: PR 43726 * config/lm32/lm32.h: Remove definition of GO_IF_MODE_DEPENDENT_ADDRESS. Modified: trunk/gcc/ChangeLog trunk/gcc/config/lm32/lm32.h FWIW: I added your patch to the RTEMS lm32-gcc-4.5.0 toolchains. With this patch applied, the ICE during building RTEMS, I had experienced does not occur anymore. Compiling RTEMS at -O2 also seems to work. Subject: Bug 43726 Author: jbeniston Date: Thu May 27 15:45:11 2010 New Revision: 159926 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159926 Log: 2010-05-27 Jon Beniston <jon@beniston.com> PR 43726 * config/lm32/lm32.h: Remove definition of GO_IF_MODE_DEPENDENT_ADDRESS. Update copyright year. Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/config/lm32/lm32.h GCC 4.5.1 is being released, adjusting target milestone. GCC 4.5.2 is being released, adjusting target milestone. *** Bug 43805 has been marked as a duplicate of this bug. *** Works with 4.5.2 |