GNU Development Chain for 68HC11/68HC12 - Bugs: bug #18808, internal compiler error in...
You are not allowed to post comments on this tracker with your current authentication level.
bug #18808: internal compiler error in instantiate_virtual_regs_lossage
Submitter: | Sean D Epagnier <sdepagnier> | ||
Submitted: | Tue 16 Jan 2007 09:43:52 PM UTC | ||
Category: | gcc | Severity: | 3 - Normal |
Item Group: | sw-bug | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
Mon 22 Jan 2007 05:24:05 PM UTC, comment #2: |
Sean D Epagnier <sdepagnier> |
Tue 16 Jan 2007 09:50:01 PM UTC, comment #1: I hit enter on accident, and there is no way to edit the discussion.
the function is:
void func()
the internal compiler error occurs when compiling as:
if 'int' is used instead of 'short' the error goes away.
|
Sean D Epagnier <sdepagnier> |
Tue 16 Jan 2007 09:43:52 PM UTC, original submission:
place the following code in a file called test.c:
void func()
|
Sean D Epagnier <sdepagnier> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
I think I have fixed the problem by changing the andhi3
instruction to match a splitable_operand instead of a
general operand.
--- gcc-3.3.5/gcc/config/m68hc11/m68hc11.md 2006-11-02 15:24:29.000000000 -0
700
+++ gcc/gcc-3.3.5/gcc/config/m68hc11/m68hc11.md 2007-01-21 10:25:15.000000000 -0
700
@@ -3125,7 +3125,7 @@
(define_expand "andhi3"
[(set (match_operand:HI 0 "register_operand" "")
(and:HI (match_operand:HI 1 "register_operand" "")
- (match_operand:HI 2 "general_operand" "")))]
+ (match_operand:HI 2 "splitable_operand" "")))]
""
"")