c/1083: Internal compiler error (fixup_memory_subreg) gcc 2.95.2/Solaris7

matze@camline.com matze@camline.com
Mon Dec 18 02:56:00 GMT 2000

>Number:         1083
>Category:       c
>Synopsis:       Internal compiler error (fixup_memory_subreg) gcc 2.95.2/Solaris7
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 18 02:56:01 PST 2000
>Originator:     Matthias Hanisch
>Release:        gcc version 2.95.2 19991024 (release)
Internal error with the following two-liner program,
compiled with optimization. Compiler output follows:

bug.c: In function `bar':
bug.c:6: Internal compiler error in `fixup_memory_subreg', at function.c:2630
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
gcc -c -O bug.i

bug.i follows again because it's small:

# 1 "bug.c"
void bar(void)
short   r = 1, *s;

r = r * r;
s = &r;


None :) (remove optimization flags)
Content-Type: application/octet-stream; name="bug.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.i"


More information about the Gcc-bugs mailing list