public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60302] New: ICE with c_f_pointer and android cross compiler
@ 2014-02-21 14:58 valeryweber at hotmail dot com
2014-02-21 15:13 ` [Bug fortran/60302] [4.9 Regression] " dominiq at lps dot ens.fr
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: valeryweber at hotmail dot com @ 2014-02-21 14:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60302
Bug ID: 60302
Summary: ICE with c_f_pointer and android cross compiler
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: valeryweber at hotmail dot com
Dear All
I get an ICE while cross (android, ndk-toolchains 4.9c) compiling (gcc-trunk)
the following code.
The problem seems to arises in c_f_pointer.
Please let me know if more info is needed.
Thanks
v
cat gcc_reshaper.f90
module reshaper
implicit none
contains
subroutine reshape_inplace_c2_c2(tgt_x, new_shape, ptr_x)
use, intrinsic :: iso_c_binding
implicit none
complex(8), target, intent(in) :: tgt_x(1,*)
integer, intent(in) :: new_shape(:)
complex(8), pointer, intent(out) :: ptr_x(:,:)
type(c_ptr) :: loc_x
loc_x = c_loc(tgt_x)
call c_f_pointer(loc_x, ptr_x, new_shape)
end subroutine reshape_inplace_c2_c2
end module reshaper
+++++++++
/home/vwe/libs/gcc/test/tmp2/prefix/bin/arm-linux-androideabi-gfortran -c
gcc_reshaper.f90
*** glibc detected ***
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951:
double free or corruption (fasttop): 0x00000000036c5b60 ***
======= Backtrace: =========
/lib64/libc.so.6[0x308147cb3e]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951(_Z21gfc_check_c_f_pointerP8gfc_exprS0_S0_+0x191)[0x577c61]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951(_Z27gfc_intrinsic_sub_interfaceP8gfc_codei+0xee)[0x5b1dee]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951[0x5eef29]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951[0x5f3d7d]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951[0x5f58df]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951[0x5f57e8]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951(_Z11gfc_resolveP13gfc_namespace+0x66)[0x5e66b6]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951(_Z14gfc_parse_filev+0x29b)[0x5dbd9b]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951[0x6199f6]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951[0xa21cbc]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951(_Z11toplev_mainiPPc+0xa18)[0xa23978]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x3081421a05]
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951[0x56aa99]
======= Memory map: ========
00400000-01638000 r-xp 00000000 fd:03 7609006
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951
01838000-0183e000 r--p 01238000 fd:03 7609006
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951
0183e000-0184c000 rw-p 0123e000 fd:03 7609006
/home/vwe/libs/gcc/test/tmp2/prefix/libexec/gcc/arm-linux-androideabi/4.9.0/f951
0184c000-0192d000 rw-p 00000000 00:00 0
03646000-036e6000 rw-p 00000000 00:00 0 [heap]
3080c00000-3080c20000 r-xp 00000000 fd:02 1458068
/usr/lib64/ld-2.16.so
3080e20000-3080e21000 r--p 00020000 fd:02 1458068
/usr/lib64/ld-2.16.so
3080e21000-3080e22000 rw-p 00021000 fd:02 1458068
/usr/lib64/ld-2.16.so
3080e22000-3080e23000 rw-p 00000000 00:00 0
3081400000-30815ad000 r-xp 00000000 fd:02 1458069
/usr/lib64/libc-2.16.so
30815ad000-30817ad000 ---p 001ad000 fd:02 1458069
/usr/lib64/libc-2.16.so
30817ad000-30817b1000 r--p 001ad000 fd:02 1458069
/usr/lib64/libc-2.16.so
30817b1000-30817b3000 rw-p 001b1000 fd:02 1458069
/usr/lib64/libc-2.16.so
30817b3000-30817b8000 rw-p 00000000 00:00 0
3081c00000-3081c03000 r-xp 00000000 fd:02 1458072
/usr/lib64/libdl-2.16.so
3081c03000-3081e02000 ---p 00003000 fd:02 1458072
/usr/lib64/libdl-2.16.so
3081e02000-3081e03000 r--p 00002000 fd:02 1458072
/usr/lib64/libdl-2.16.so
3081e03000-3081e04000 rw-p 00003000 fd:02 1458072
/usr/lib64/libdl-2.16.so
3082000000-3082100000 r-xp 00000000 fd:02 1458079
/usr/lib64/libm-2.16.so
3082100000-30822ff000 ---p 00100000 fd:02 1458079
/usr/lib64/libm-2.16.so
30822ff000-3082300000 r--p 000ff000 fd:02 1458079
/usr/lib64/libm-2.16.so
3082300000-3082301000 rw-p 00100000 fd:02 1458079
/usr/lib64/libm-2.16.so
3082c00000-3082c15000 r-xp 00000000 fd:02 1458080
/usr/lib64/libgcc_s-4.7.2-20121109.so.1
3082c15000-3082e14000 ---p 00015000 fd:02 1458080
/usr/lib64/libgcc_s-4.7.2-20121109.so.1
3082e14000-3082e15000 r--p 00014000 fd:02 1458080
/usr/lib64/libgcc_s-4.7.2-20121109.so.1
3082e15000-3082e16000 rw-p 00015000 fd:02 1458080
/usr/lib64/libgcc_s-4.7.2-20121109.so.1
7fde6cc1d000-7fde6d04d000 rw-p 00000000 00:00 0
7fde6d04d000-7fde6d074000 rw-p 00000000 00:00 0
7fff3e292000-7fff3e2b3000 rw-p 00000000 00:00 0
[stack]
7fff3e329000-7fff3e32b000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
f951: internal compiler error: Aborted
0xa217af crash_signal
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/toplev.c:337
0x577c60 gfc_check_c_f_pointer(gfc_expr*, gfc_expr*, gfc_expr*)
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/check.c:3956
0x5b1ded gfc_intrinsic_sub_interface(gfc_code*, int)
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/intrinsic.c:4377
0x5eef28 resolve_unknown_s
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/resolve.c:3252
0x5eef28 resolve_call
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/resolve.c:3370
0x5f3d7c resolve_code
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/resolve.c:9931
0x5f58de resolve_codes
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/resolve.c:14577
0x5f57e7 resolve_codes
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/resolve.c:14563
0x5e66b5 gfc_resolve
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/resolve.c:14605
0x5e66b5 gfc_resolve(gfc_namespace*)
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/resolve.c:14591
0x5dbd9a gfc_parse_file()
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/parse.c:4672
0x6199f5 gfc_be_parse_file
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/fortran/f95-lang.c:188
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://source.android.com/source/report-bugs.html> for instructions.
+++++++
The cross compiler was build with
./build/tools/build-gcc.sh --build-out=/home/vwe/libs/gcc/test/tmp2
--binutils-version=2.22.90 --mpfr-version=3.1.2 --mpc-version=1.0
--gmp-version=5.1.3 --gdb-version=7.7 --cloog-version=0.18.1 --ppl-version=1.1
--isl-version=0.12 --try-64 /home/vwe/libs/gcc/test/android-ndk-r9c/src
/home/vwe/libs/gcc/test/android-ndk-r9c arm-linux-androideabi-4.8
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/60302] [4.9 Regression] ICE with c_f_pointer and android cross compiler
2014-02-21 14:58 [Bug fortran/60302] New: ICE with c_f_pointer and android cross compiler valeryweber at hotmail dot com
@ 2014-02-21 15:13 ` dominiq at lps dot ens.fr
2014-02-21 19:25 ` janus at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-02-21 15:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60302
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-02-21
Summary|ICE with c_f_pointer and |[4.9 Regression] ICE with
|android cross compiler |c_f_pointer and android
| |cross compiler
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on x86_64-apple-darwin13 r202590 and after. The test compiles with
4.8 and 4.7.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/60302] [4.9 Regression] ICE with c_f_pointer and android cross compiler
2014-02-21 14:58 [Bug fortran/60302] New: ICE with c_f_pointer and android cross compiler valeryweber at hotmail dot com
2014-02-21 15:13 ` [Bug fortran/60302] [4.9 Regression] " dominiq at lps dot ens.fr
@ 2014-02-21 19:25 ` janus at gcc dot gnu.org
2014-02-21 19:47 ` janus at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: janus at gcc dot gnu.org @ 2014-02-21 19:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60302
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
CC| |janus at gcc dot gnu.org
--- Comment #2 from janus at gcc dot gnu.org ---
Slightly reduced test case:
subroutine reshape_inplace_c2_c2 (new_shape)
use, intrinsic :: iso_c_binding
implicit none
integer :: new_shape(:)
complex, pointer :: ptr_x(:)
type(c_ptr) :: loc_x
call c_f_pointer (loc_x, ptr_x, new_shape)
end subroutine
Same double-free ICE.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/60302] [4.9 Regression] ICE with c_f_pointer and android cross compiler
2014-02-21 14:58 [Bug fortran/60302] New: ICE with c_f_pointer and android cross compiler valeryweber at hotmail dot com
2014-02-21 15:13 ` [Bug fortran/60302] [4.9 Regression] " dominiq at lps dot ens.fr
2014-02-21 19:25 ` janus at gcc dot gnu.org
@ 2014-02-21 19:47 ` janus at gcc dot gnu.org
2014-02-21 20:19 ` pault at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: janus at gcc dot gnu.org @ 2014-02-21 19:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60302
--- Comment #3 from janus at gcc dot gnu.org ---
(In reply to Valery Weber from comment #0)
> f951: internal compiler error: Aborted
> 0xa217af crash_signal
> /home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/toplev.
> c:337
> 0x577c60 gfc_check_c_f_pointer(gfc_expr*, gfc_expr*, gfc_expr*)
> /home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/gcc/
> fortran/check.c:3956
The function 'gfc_check_c_f_pointer' was added in r197053 and slightly modified
in r197682.
Then there is another minor change later at 200794, which seems to be unrelated
to this PR, though.
>From gcc-bugs-return-444532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 21 20:09:19 2014
Return-Path: <gcc-bugs-return-444532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3954 invoked by alias); 21 Feb 2014 20:09:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 3903 invoked by uid 48); 21 Feb 2014 20:09:15 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/60302] [4.9 Regression] ICE with c_f_pointer and android cross compiler
Date: Fri, 21 Feb 2014 20:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: janus at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: janus at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-60302-4-6eCTCaqbv3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60302-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60302-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-02/txt/msg02289.txt.bz2
Content-length: 1661
http://gcc.gnu.org/bugzilla/show_bug.cgi?id`302
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |burnus at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |janus at gcc dot gnu.org
--- Comment #4 from janus at gcc dot gnu.org ---
(In reply to janus from comment #3)
> The function 'gfc_check_c_f_pointer' was added in r197053
... and I think that's indeed the culprit. This patch fixes it:
Index: gcc/fortran/check.c
==================================================================--- gcc/fortran/check.c (revision 207988)
+++ gcc/fortran/check.c (working copy)
@@ -3944,16 +3944,17 @@ gfc_check_c_f_pointer (gfc_expr *cptr, gfc_expr *f
if (shape)
{
mpz_t size;
-
- if (gfc_array_size (shape, &size)
- && mpz_cmp_ui (size, fptr->rank) != 0)
+ if (gfc_array_size (shape, &size))
{
+ if (mpz_cmp_ui (size, fptr->rank) != 0)
+ {
+ mpz_clear (size);
+ gfc_error ("SHAPE argument at %L to C_F_POINTER must have the same "
+ "size as the RANK of FPTR", &shape->where);
+ return false;
+ }
mpz_clear (size);
- gfc_error ("SHAPE argument at %L to C_F_POINTER must have the same "
- "size as the RANK of FPTR", &shape->where);
- return false;
}
- mpz_clear (size);
}
if (fptr->ts.type == BT_CLASS)
We should not free 'size' unless gfc_array_size is successful!
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/60302] [4.9 Regression] ICE with c_f_pointer and android cross compiler
2014-02-21 14:58 [Bug fortran/60302] New: ICE with c_f_pointer and android cross compiler valeryweber at hotmail dot com
` (2 preceding siblings ...)
2014-02-21 19:47 ` janus at gcc dot gnu.org
@ 2014-02-21 20:19 ` pault at gcc dot gnu.org
2014-02-21 22:29 ` burnus at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu.org @ 2014-02-21 20:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60302
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to janus from comment #4)
> (In reply to janus from comment #3)
> > The function 'gfc_check_c_f_pointer' was added in r197053
>
> ... and I think that's indeed the culprit. This patch fixes it:
>
>
> Index: gcc/fortran/check.c
> ===================================================================
> --- gcc/fortran/check.c (revision 207988)
> +++ gcc/fortran/check.c (working copy)
> @@ -3944,16 +3944,17 @@ gfc_check_c_f_pointer (gfc_expr *cptr, gfc_expr *f
> if (shape)
> {
> mpz_t size;
> -
> - if (gfc_array_size (shape, &size)
> - && mpz_cmp_ui (size, fptr->rank) != 0)
> + if (gfc_array_size (shape, &size))
> {
> + if (mpz_cmp_ui (size, fptr->rank) != 0)
> + {
> + mpz_clear (size);
> + gfc_error ("SHAPE argument at %L to C_F_POINTER must have the same "
> + "size as the RANK of FPTR", &shape->where);
> + return false;
> + }
> mpz_clear (size);
> - gfc_error ("SHAPE argument at %L to C_F_POINTER must have the same "
> - "size as the RANK of FPTR", &shape->where);
> - return false;
> }
> - mpz_clear (size);
> }
>
> if (fptr->ts.type == BT_CLASS)
>
>
>
> We should not free 'size' unless gfc_array_size is successful!
Hi Janus,
Perhaps you had better commit this asap.
Cheers
Paul
>From gcc-bugs-return-444536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 21 20:39:00 2014
Return-Path: <gcc-bugs-return-444536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24299 invoked by alias); 21 Feb 2014 20:39:00 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 24251 invoked by uid 48); 21 Feb 2014 20:38:56 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60108] [4.7/4.8/4.9 Regression] [C++11] ICE in use_thunk, at cp/method.c:340
Date: Fri, 21 Feb 2014 20:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-60108-4-tiHBNujz9b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60108-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60108-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-02/txt/msg02293.txt.bz2
Content-length: 448
http://gcc.gnu.org/bugzilla/show_bug.cgi?id`108
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jason at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/60302] [4.9 Regression] ICE with c_f_pointer and android cross compiler
2014-02-21 14:58 [Bug fortran/60302] New: ICE with c_f_pointer and android cross compiler valeryweber at hotmail dot com
` (3 preceding siblings ...)
2014-02-21 20:19 ` pault at gcc dot gnu.org
@ 2014-02-21 22:29 ` burnus at gcc dot gnu.org
2014-02-21 22:55 ` janus at gcc dot gnu.org
2014-02-21 22:59 ` janus at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-02-21 22:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60302
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to janus from comment #4)
> (In reply to janus from comment #3)
> > The function 'gfc_check_c_f_pointer' was added in r197053
> ... and I think that's indeed the culprit. This patch fixes it:
The patch looks good to me - and is okay for the trunk together with a test
case.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/60302] [4.9 Regression] ICE with c_f_pointer and android cross compiler
2014-02-21 14:58 [Bug fortran/60302] New: ICE with c_f_pointer and android cross compiler valeryweber at hotmail dot com
` (4 preceding siblings ...)
2014-02-21 22:29 ` burnus at gcc dot gnu.org
@ 2014-02-21 22:55 ` janus at gcc dot gnu.org
2014-02-21 22:59 ` janus at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: janus at gcc dot gnu.org @ 2014-02-21 22:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60302
--- Comment #7 from janus at gcc dot gnu.org ---
Author: janus
Date: Fri Feb 21 22:54:50 2014
New Revision: 208033
URL: http://gcc.gnu.org/viewcvs?rev=208033&root=gcc&view=rev
Log:
2014-02-21 Janus Weil <janus@gcc.gnu.org>
PR fortran/60302
* check.c (gfc_check_c_f_pointer): Only clear 'size' if 'gfc_array_size'
is successful.
2014-02-21 Janus Weil <janus@gcc.gnu.org>
PR fortran/60302
* gfortran.dg/c_f_pointer_shape_tests_6.f90: New.
Added:
trunk/gcc/testsuite/gfortran.dg/c_f_pointer_shape_tests_6.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/check.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/60302] [4.9 Regression] ICE with c_f_pointer and android cross compiler
2014-02-21 14:58 [Bug fortran/60302] New: ICE with c_f_pointer and android cross compiler valeryweber at hotmail dot com
` (5 preceding siblings ...)
2014-02-21 22:55 ` janus at gcc dot gnu.org
@ 2014-02-21 22:59 ` janus at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: janus at gcc dot gnu.org @ 2014-02-21 22:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60302
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from janus at gcc dot gnu.org ---
Fixed with r208033. Closing.
Thanks for the report!
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-02-21 22:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-21 14:58 [Bug fortran/60302] New: ICE with c_f_pointer and android cross compiler valeryweber at hotmail dot com
2014-02-21 15:13 ` [Bug fortran/60302] [4.9 Regression] " dominiq at lps dot ens.fr
2014-02-21 19:25 ` janus at gcc dot gnu.org
2014-02-21 19:47 ` janus at gcc dot gnu.org
2014-02-21 20:19 ` pault at gcc dot gnu.org
2014-02-21 22:29 ` burnus at gcc dot gnu.org
2014-02-21 22:55 ` janus at gcc dot gnu.org
2014-02-21 22:59 ` janus 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).