This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/39931] ICE on invalid Fortran 95 code (bad pointer assignment), gimplify_expr at gimplify.c:6315



------- Comment #1 from dominiq at lps dot ens dot fr  2009-04-27 13:46 -------
Confirmed on (powerpc|i686)-apple-darwin9 gfortran 4.3.3, 4.4.0, and trunk,
gives the error on 4.2.3.
Trunk gives:

gimplification failed:
&face->bla <addr_expr 0x41598380
    type <pointer_type 0x41510e00
        type <integer_type 0x41510310 integer(kind=4) public SI
            size <integer_cst 0x413b16c0 constant 32>
            unit size <integer_cst 0x413b1330 constant 4>
            align 32 symtab 0 alias set -1 canonical type 0x41510310 precision
32 min <integer_cst 0x413b1630 -2147483648> max <integer_cst 0x413b1660
2147483647>
            pointer_to_this <pointer_type 0x41510e00>>
        unsigned type_3 SI size <integer_cst 0x413b16c0 32> unit size
<integer_cst 0x413b1330 4>
        align 32 symtab 0 alias set -1 canonical type 0x41510e00>

    arg 0 <component_ref 0x41590f60 type <integer_type 0x41510310
integer(kind=4)>

        arg 0 <indirect_ref 0x41598360 type <record_type 0x415963f0 face_t>
            arg 0 <var_decl 0x415942a0 face>>
        arg 1 <field_decl 0x41594240 bla type <integer_type 0x41510310
integer(kind=4)>
            SI file pr39931.f90 line 7 col 0 size <integer_cst 0x413b16c0 32>
unit size <integer_cst 0x413b1330 4>
            align 32 offset_align 128
            offset <integer_cst 0x413b1360 constant 0>
            bit offset <integer_cst 0x413b1ae0 constant 0> context <record_type
0x415963f0 face_t>>>>
pr39931.f90: In function 'point_of_no_return':
pr39931.f90:20: internal compiler error: gimplification failed


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39931


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]