This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/77941] ICE in expand_expr_addr_expr_1, at expr.c:7805
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Mar 2018 22:49:13 +0000
- Subject: [Bug fortran/77941] ICE in expand_expr_addr_expr_1, at expr.c:7805
- Auto-submitted: auto-generated
- References: <bug-77941-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77941
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot gnu.org
--- Comment #11 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
For what it is worth, on my machine, -m32 compiles fine. At runtime in gdb:
Program received signal SIGSEGV, Segmentation fault.
0x08048662 in f (__result=..., .__result=1,
n=<error reading variable: Cannot access memory at address 0x1>)
at pr77941.f90:8
Which is no surprise, we are trying to stuff a large integer into 32 bits and
it looks like its truncating and effectively wrapped around. So it gets down
to what kind of diagnostic do we want under -m32, if any?