[Bug fortran/17917] gfortran ICE on "equivalence"

tobi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Oct 10 16:54:00 GMT 2004


------- Additional Comments From tobi at gcc dot gnu dot org  2004-10-10 16:54 -------
This works with:
[tobi@marktplatz tests]$ /home/tobi/tmp/gcc/build/gcc/f951 pr17917.f90

Execution times (seconds)
 parser                :   0.00 ( 0%) usr   0.01 (100%) sys   0.06 (15%) wall
 varconst              :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 2%) wall
 TOTAL                 :   0.02             0.01             0.41
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --disable-checking to disable checks.
[tobi@marktplatz tests]$ /home/tobi/tmp/gcc/build/gcc/f951 --version
GNU F95 version 3.5.0 20040630 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5.0 20040623 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
[tobi@marktplatz tests]$

And is broken with:
[tobi@marktplatz tests]$ /home/tobi/usr/libexec/gcc/i686-pc-linux-gnu/3.5.0/f951
pr17917.f90
pr17917.f90:0: internal compiler error: backend decl for module variable a
already exists
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[tobi@marktplatz tests]$ /home/tobi/usr/libexec/gcc/i686-pc-linux-gnu/3.5.0/f951
--version
GNU F95 version 3.5.0 20040829 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5.0 20040822 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

So a change somewhere in between 2004-06-23 and 2004-08-22 must have caused this.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17917



More information about the Gcc-bugs mailing list