Bug 33006 - internal compiler error: in simplify_subreg, at simplify-rtx.c:4676
Summary: internal compiler error: in simplify_subreg, at simplify-rtx.c:4676
Status: RESOLVED DUPLICATE of bug 32933
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-06 17:32 UTC by Michael Richmond
Modified: 2007-08-06 17:35 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Richmond 2007-08-06 17:32:26 UTC
When I attempt to compile the program listed below I get the following message:

a.f90: In function 'MAIN__':
a.f90:2: internal compiler error: in simplify_subreg, at simplify-rtx.c:4676
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

The conditions were:

1. The August 3 version of gcc and gfortran were used. The problem does not occur with the July 27 version.
2. It was run on an SGI box under Debian Linux. I have not tested it on other processors.
3. The program was compiled with the flag "-fdefault-integer-8". It does not produce the error without this flag.
4. If I replace z = MAX(x,y) with i = MAX(j, k) the problem disappears.

PROGRAM test
z = MAX(x,y)
END PROGRAM test
Comment 1 Andrew Pinski 2007-08-06 17:35:34 UTC
>3. The program was compiled with the flag "-fdefault-integer-8". It does not
> produce the error without this flag.

Yes we know, we are trying to resolve more and more of these -fdefault-integer-8 bugs.

*** This bug has been marked as a duplicate of 32933 ***