This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71723] [5/6/7 Regression] [F08] ICE on invalid pointer initialization
- From: "w6ws at earthlink dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 Nov 2016 23:42:42 +0000
- Subject: [Bug fortran/71723] [5/6/7 Regression] [F08] ICE on invalid pointer initialization
- Auto-submitted: auto-generated
- References: <bug-71723-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71723
--- Comment #4 from Walter Spector <w6ws at earthlink dot net> ---
As you are surmising, there are actually two problems in the example. First,
'data' needs the 'target' attribute in order to be pointed to. Second, 'data'
must either have the 'target' or a 'pointer' attribute, but not both.
Walter