public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/56054] New: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337
@ 2013-01-20 16:52 Joost.VandeVondele at mat dot ethz.ch
2013-01-20 17:04 ` [Bug fortran/56054] " dominiq at lps dot ens.fr
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2013-01-20 16:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054
Bug #: 56054
Summary: f951: internal compiler error: in gfc_free_namespace,
at fortran/symbol.c:3337
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: Joost.VandeVondele@mat.ethz.ch
gcc (4.8, 4.7, 4.6) ICEs on this invalid piece of code
> cat small.f90
module kernels
select type (args)
end module kernels
f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337
0x5ccc61 gfc_free_namespace(gfc_namespace*)
../../gcc/gcc/fortran/symbol.c:3337
0x5cd1df gfc_symbol_done_2()
../../gcc/gcc/fortran/symbol.c:3384
0x5899e8 gfc_done_2()
../../gcc/gcc/fortran/misc.c:267
0x596a0a clean_up_modules
../../gcc/gcc/fortran/parse.c:4416
0x59cec3 translate_all_program_units
../../gcc/gcc/fortran/parse.c:4486
0x59cec3 gfc_parse_file()
../../gcc/gcc/fortran/parse.c:4677
0x5da115 gfc_be_parse_file
../../gcc/gcc/fortran/f95-lang.c:189
Please submit a full bug report,
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/56054] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337
2013-01-20 16:52 [Bug fortran/56054] New: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 Joost.VandeVondele at mat dot ethz.ch
@ 2013-01-20 17:04 ` dominiq at lps dot ens.fr
2013-01-20 17:12 ` [Bug fortran/56054] [4.6/4.7/4.8 Regression] " dominiq at lps dot ens.fr
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-01-20 17:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-01-20
Ever Confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2013-01-20 17:03:47 UTC ---
Gfortran 4.5.3 gives
pr56054.f90:2.24:
select type (args)
1
Error: Selector shall be polymorphic in SELECT TYPE statement at (1)
Revision 158253 (2010-04-13) gives the error; revision 162456 (2010-07-23)
gives the ICE after error:
pr56054.f90:2.24:
select type (args)
1
Error: Unexpected SELECT TYPE statement in MODULE at (1)
f951: internal compiler error: Segmentation fault
Revision 163529 gives
pr56054.f90:2.24:
select type (args)
1
Error: Unexpected SELECT TYPE statement in MODULE at (1)
f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3271
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/56054] [4.6/4.7/4.8 Regression] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337
2013-01-20 16:52 [Bug fortran/56054] New: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 Joost.VandeVondele at mat dot ethz.ch
2013-01-20 17:04 ` [Bug fortran/56054] " dominiq at lps dot ens.fr
@ 2013-01-20 17:12 ` dominiq at lps dot ens.fr
2013-01-20 17:22 ` mikael at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-01-20 17:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|f951: internal compiler |[4.6/4.7/4.8 Regression]
|error: in |f951: internal compiler
|gfc_free_namespace, at |error: in
|fortran/symbol.c:3337 |gfc_free_namespace, at
| |fortran/symbol.c:3337
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2013-01-20 17:12:05 UTC ---
Mark as a regression.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/56054] [4.6/4.7/4.8 Regression] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337
2013-01-20 16:52 [Bug fortran/56054] New: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 Joost.VandeVondele at mat dot ethz.ch
2013-01-20 17:04 ` [Bug fortran/56054] " dominiq at lps dot ens.fr
2013-01-20 17:12 ` [Bug fortran/56054] [4.6/4.7/4.8 Regression] " dominiq at lps dot ens.fr
@ 2013-01-20 17:22 ` mikael at gcc dot gnu.org
2013-01-20 18:08 ` Joost.VandeVondele at mat dot ethz.ch
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mikael at gcc dot gnu.org @ 2013-01-20 17:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikael at gcc dot gnu.org
--- Comment #3 from Mikael Morin <mikael at gcc dot gnu.org> 2013-01-20 17:22:12 UTC ---
Probable duplicate: PR50627
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/56054] [4.6/4.7/4.8 Regression] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337
2013-01-20 16:52 [Bug fortran/56054] New: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 Joost.VandeVondele at mat dot ethz.ch
` (2 preceding siblings ...)
2013-01-20 17:22 ` mikael at gcc dot gnu.org
@ 2013-01-20 18:08 ` Joost.VandeVondele at mat dot ethz.ch
2013-02-02 9:51 ` tkoenig at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2013-01-20 18:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054
Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |Joost.VandeVondele at mat
| |dot ethz.ch
Depends on| |50627
Resolution| |DUPLICATE
--- Comment #4 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2013-01-20 18:08:20 UTC ---
almost certainly a dup
*** This bug has been marked as a duplicate of bug 50627 ***
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/56054] [4.6/4.7/4.8 Regression] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337
2013-01-20 16:52 [Bug fortran/56054] New: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 Joost.VandeVondele at mat dot ethz.ch
` (3 preceding siblings ...)
2013-01-20 18:08 ` Joost.VandeVondele at mat dot ethz.ch
@ 2013-02-02 9:51 ` tkoenig at gcc dot gnu.org
2013-02-02 22:38 ` tkoenig at gcc dot gnu.org
2013-02-03 13:15 ` tkoenig at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2013-02-02 9:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054
--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-02-02 09:51:03 UTC ---
Author: tkoenig
Date: Sat Feb 2 09:50:58 2013
New Revision: 195684
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195684
Log:
2013-02-02 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/50627
PR fortran/56054
* decl.c (gfc_match_end): Remove half-ready namespace
from parent if the end of a block is missing.
* parse.c (parse_module): Do not put namespace into
gsymbol on error.
2013-02-02 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/50627
PR fortran/56054
* gfortran.dg/block_12.f90: New test.
* gfortran.dg/module_error_1.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/block_12.f90
trunk/gcc/testsuite/gfortran.dg/module_error_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/fortran/parse.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/56054] [4.6/4.7/4.8 Regression] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337
2013-01-20 16:52 [Bug fortran/56054] New: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 Joost.VandeVondele at mat dot ethz.ch
` (4 preceding siblings ...)
2013-02-02 9:51 ` tkoenig at gcc dot gnu.org
@ 2013-02-02 22:38 ` tkoenig at gcc dot gnu.org
2013-02-03 13:15 ` tkoenig at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2013-02-02 22:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054
--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-02-02 22:38:22 UTC ---
Author: tkoenig
Date: Sat Feb 2 22:38:14 2013
New Revision: 195687
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195687
Log:
2013-02-02 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/50627
PR fortran/56054
* decl.c (gfc_match_end): Remove half-ready namespace
from parent if the end of a block is missing.
* parse.c (parse_module): Do not put namespace into
gsymbol on error.
2013-02-02 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/50627
PR fortran/56054
* gfortran.dg/block_12.f90: New test.
* gfortran.dg/module_error_1.f90: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/block_12.f90
branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/module_error_1.f90
Modified:
branches/gcc-4_7-branch/gcc/fortran/ChangeLog
branches/gcc-4_7-branch/gcc/fortran/decl.c
branches/gcc-4_7-branch/gcc/fortran/parse.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/56054] [4.6/4.7/4.8 Regression] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337
2013-01-20 16:52 [Bug fortran/56054] New: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 Joost.VandeVondele at mat dot ethz.ch
` (5 preceding siblings ...)
2013-02-02 22:38 ` tkoenig at gcc dot gnu.org
@ 2013-02-03 13:15 ` tkoenig at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2013-02-03 13:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054
--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-02-03 13:15:24 UTC ---
Author: tkoenig
Date: Sun Feb 3 13:15:18 2013
New Revision: 195695
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195695
Log:
2013-02-03 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/50627
PR fortran/56054
* decl.c (gfc_match_end): Remove half-ready namespace
from parent if the end of a block is missing.
* parse.c (parse_module): Do not put namespace into
gsymbol on error.
2013-02-03 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/50627
PR fortran/56054
* gfortran.dg/block_12.f90: New test.
* gfortran.dg/module_error_1.f90: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/block_12.f90
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/module_error_1.f90
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/decl.c
branches/gcc-4_6-branch/gcc/fortran/parse.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-02-03 13:15 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-20 16:52 [Bug fortran/56054] New: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 Joost.VandeVondele at mat dot ethz.ch
2013-01-20 17:04 ` [Bug fortran/56054] " dominiq at lps dot ens.fr
2013-01-20 17:12 ` [Bug fortran/56054] [4.6/4.7/4.8 Regression] " dominiq at lps dot ens.fr
2013-01-20 17:22 ` mikael at gcc dot gnu.org
2013-01-20 18:08 ` Joost.VandeVondele at mat dot ethz.ch
2013-02-02 9:51 ` tkoenig at gcc dot gnu.org
2013-02-02 22:38 ` tkoenig at gcc dot gnu.org
2013-02-03 13:15 ` tkoenig at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).