This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2008 21:33:47 -0000
- Subject: [Bug rtl-optimization/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
- References: <bug-36929-9876@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from schwab at suse dot de 2008-07-25 21:33 -------
The bug is in dse.c:replace_inc_dec:
add_insn_before (data->insn,
gen_rtx_SET (Pmode, r1,
gen_rtx_PLUS (Pmode, r1, c)),
NULL);
This does not make any sense: the rtx to be added must satisfy INSN_P, LABEL_P,
BARRIER_P or NOTE_P, and the first two arguments are swapped.
--
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zadeck at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|target |rtl-optimization
Ever Confirmed|0 |1
GCC target triplet|m68k-unknown-linux-gnu |m68k-*-*
Last reconfirmed|0000-00-00 00:00:00 |2008-07-25 21:33:41
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36929