https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66244
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE on assigning a value to |[4.9/5/6 Regression] ICE on |a pointer variable |assigning a value to a | |pointer variable --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Compiling the test in comment 0 with 4.7.3 does not ICE, but the error pr66244.f90:3.35: integer, pointer :: z => a(3) 1 Error: Pointer initialization target at (1) must have the SAVE attribute Note that the ICE for 4.8.5 is pr66244.f90:6:0: internal compiler error: in varpool_node_for_decl, at varpool.c:45 end ^ The change occurred between revisions r194897 (2013-01-04, error) and r195140 (2013-01-14, ICE at varpool.c:45). Note that the code compiles with integer, save, target :: a(3)