This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/2771: internal compiler error
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/2771: internal compiler error
- From: sps at iis dot fhg dot de
- Date: 8 May 2001 12:02:59 -0000
- Cc: lauber at iis dot fhg dot de, alm at iis dot fhg dot de, kaehleof at iis dot fhg dot de
- Reply-To: sps at iis dot fhg dot de
>Number: 2771
>Category: c
>Synopsis: internal compiler error
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 08 05:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Ralph Sperschneider
>Release: gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
> gcc -c -O1 -fstrength-reduce -g bug.c -o bug.o
bug.c: In function `buggy':
bug.c:10: Internal compiler error in `loop_iterations', at unroll.c:3689
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
>
>How-To-Repeat:
>Fix:
do not use -O1 in combination with -fstrength-reduce or -funroll-loops
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.c"
dm9pZCB0ZXN0KGludCogaik7Cgp2b2lkIGJ1Z2d5KHZvaWQpCnsKICAgaW50IGk9MCxrPTAsYVsx
XTsKCiAgIGZvciAoOyBpPDE7IGsrKykKICAgICBhW2tdPTE7CiAgIHRlc3QoJmkpOwp9Cg==