This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



>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
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Hanisch
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
sparc-sun-solaris2.7
>Description:
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.
>How-To-Repeat:
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;

}

>Fix:
None :) (remove optimization flags)
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.i"

IyAxICJidWcuYyIKdm9pZCBiYXIodm9pZCkKewpzaG9ydAlyID0gMSwgKnM7CgpyID0gciAqIHI7
CnMgPSAmcjsKCn0K

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]