public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI
@ 2014-12-26  3:01 steven at uplinklabs dot net
  2014-12-26  5:23 ` [Bug middle-end/64409] " steven at uplinklabs dot net
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: steven at uplinklabs dot net @ 2014-12-26  3:01 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 7644 bytes --]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409

            Bug ID: 64409
           Summary: ICE building Mesa 10.4.0 for x32 ABI
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: steven at uplinklabs dot net

Created attachment 34335
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34335&action=edit
Preprocessed source

Trying to build Mesa 10.4.0 for the X32 ABI on an x86_64 host, encountered an
ICE in the process. Preprocessed source attached.

Invocation was:

$ gcc -mx32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"10.4.0\" "-DPACKAGE_STRING=\"Mesa 10.4.0\""
"-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\""
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.4.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1
-DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1
-DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1
-DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1
-DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1
-DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_DLADDR=1
-DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -I. -DNINE_TARGET
-DGALLIUM_STATIC_TARGETS=1 -DGALLIUM_NOUVEAU -DGALLIUM_R300 -DGALLIUM_R600
-DGALLIUM_RADEONSI -DGALLIUM_SOFTPIPE -DGALLIUM_LLVMPIPE
-I../../../../include/D3D9 -I../../../../src/loader -I../../../../src/mapi/
-I../../../../src/mesa/ -I../../../../src/mesa/drivers/dri/common/
-I../../../../src/mesa/drivers/dri/common/ -I../../../../src/gallium/winsys
-I../../../../src/gallium/state_trackers/nine -I../../../../include
-I../../../../src/loader -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers
-I../../../../src/gallium/winsys -DUSE_EXTERNAL_DXTN_LIB=1 -D_GNU_SOURCE
-DUSE_SSE41 -DTEXTURE_FLOAT_ENABLED -DHAVE_XLOCALE_H -DHAVE_STRTOF
-DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DHAVE_LIBUDEV
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS
-DHAVE_DRI3 -DHAVE_MINCORE -DHAVE_LLVM=0x0305 -DLLVM_VERSION_PATCH=0 -pthread
-I/usr/include/libdrm -fvisibility=hidden -fvisibility=hidden -g -O2 -Wall
-std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp -MT d3dadapter9_la-getproc.lo -MD -MP
-MF .deps/d3dadapter9_la-getproc.Tpo -c getproc.c  -fPIC -DPIC -o
.libs/d3dadapter9_la-getproc.o
getproc.c: In function ‘D3DAdapter9GetProc’:
getproc.c:38:1: internal compiler error: in emit_move_insn, at expr.c:3609
 D3DAdapter9GetProc( const char *name )
 ^
0x7014c2 emit_move_insn(rtx_def*, rtx_def*)
    /build/gcc-multilib/src/gcc-4.9-20141210/gcc/expr.c:3608
0x647d64 expand_value_return
    /build/gcc-multilib/src/gcc-4.9-20141210/gcc/cfgexpand.c:3055
0x64e3b6 expand_return
    /build/gcc-multilib/src/gcc-4.9-20141210/gcc/cfgexpand.c:3127
0x64e3b6 expand_gimple_stmt_1
    /build/gcc-multilib/src/gcc-4.9-20141210/gcc/cfgexpand.c:3200
0x64e3b6 expand_gimple_stmt
    /build/gcc-multilib/src/gcc-4.9-20141210/gcc/cfgexpand.c:3322
0x64eefb expand_gimple_basic_block
    /build/gcc-multilib/src/gcc-4.9-20141210/gcc/cfgexpand.c:5162
0x6511b6 gimple_expand_cfg
    /build/gcc-multilib/src/gcc-4.9-20141210/gcc/cfgexpand.c:5741
0x6511b6 execute
    /build/gcc-multilib/src/gcc-4.9-20141210/gcc/cfgexpand.c:5961
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.


Using 20141210 snapshot version of GCC:

gcc version 4.9.2 20141210 (prerelease) (GCC)
>From gcc-bugs-return-471736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 26 05:17:56 2014
Return-Path: <gcc-bugs-return-471736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26713 invoked by alias); 26 Dec 2014 05:17:55 -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 26698 invoked by uid 48); 26 Dec 2014 05:17:50 -0000
From: "conradsand.arma at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64410] New: gcc 25% slower than clang 3.5 for adding complex numbers
Date: Fri, 26 Dec 2014 05:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: conradsand.arma at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created
Message-ID: <bug-64410-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-12/txt/msg02743.txt.bz2
Content-length: 1638

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd410

            Bug ID: 64410
           Summary: gcc 25% slower than clang 3.5 for adding complex
                    numbers
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: conradsand.arma at gmail dot com

Created attachment 34336
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id4336&actioníit
cxaddspeed.cpp

gcc 4.9.2 has worse performance than clang 3.5 when dealing with complex
numbers.

Attached is a simple program which adds two vectors with complex numbers.
Compiled with -O3 on x86-64 (i7), Fedora 21, gcc 4.9.2 and clang 3.5.0.

$ time ./cxaddspeed_gcc 5000 1000000
5.364u 0.002s 0:05.36 100.0%

$ time ./cxaddspeed_clang 5000 1000000
4.417u 0.001s 0:04.41 100.0%

ie. gcc is about 25% slower.


inner loop produced by gcc:
.L52:
    movsd    (%r15,%rax), %xmm1
    movsd    8(%r15,%rax), %xmm0
    addsd    0(%rbp,%rax), %xmm1
    addsd    8(%rbp,%rax), %xmm0
    movsd    %xmm1, (%rbx,%rax)
    movsd    %xmm0, 8(%rbx,%rax)
    addq    $16, %rax
    cmpq    %rsi, %rax
    jne    .L52

inner loop produced by clang:
.LBB0_145:
    movupd    -16(%rbx), %xmm0
    movupd    -16(%rax), %xmm1
    addpd    %xmm0, %xmm1
    movupd    %xmm1, -16(%rdi)
    movupd    (%rbx), %xmm0
    movupd    (%rax), %xmm1
    addpd    %xmm0, %xmm1
    movupd    %xmm1, (%rdi)
    addq    $2, %rbp
    addq    $32, %rbx
    addq    $32, %rax
    addq    $32, %rdi
    addl    $-2, %ecx
    jne    .LBB0_145


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/64409] ICE building Mesa 10.4.0 for x32 ABI
  2014-12-26  3:01 [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI steven at uplinklabs dot net
@ 2014-12-26  5:23 ` steven at uplinklabs dot net
  2014-12-26  9:43 ` [Bug target/64409] " trippels at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: steven at uplinklabs dot net @ 2014-12-26  5:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409

--- Comment #1 from Steven Noonan <steven at uplinklabs dot net> ---
Just built and tried using the 20141224 snapshot. Same issue:

getproc.c: In function ‘D3DAdapter9GetProc’:
getproc.c:38:1: internal compiler error: in emit_move_insn, at expr.c:3609
 D3DAdapter9GetProc( const char *name )
 ^
0x7014e2 emit_move_insn(rtx_def*, rtx_def*)
    /build/gcc-multilib/src/gcc-4.9-20141224/gcc/expr.c:3608
0x647d84 expand_value_return
    /build/gcc-multilib/src/gcc-4.9-20141224/gcc/cfgexpand.c:3055
0x64e3d6 expand_return
    /build/gcc-multilib/src/gcc-4.9-20141224/gcc/cfgexpand.c:3127
0x64e3d6 expand_gimple_stmt_1
    /build/gcc-multilib/src/gcc-4.9-20141224/gcc/cfgexpand.c:3200
0x64e3d6 expand_gimple_stmt
    /build/gcc-multilib/src/gcc-4.9-20141224/gcc/cfgexpand.c:3322
0x64ef1b expand_gimple_basic_block
    /build/gcc-multilib/src/gcc-4.9-20141224/gcc/cfgexpand.c:5162
0x6511d6 gimple_expand_cfg
    /build/gcc-multilib/src/gcc-4.9-20141224/gcc/cfgexpand.c:5741
0x6511d6 execute
    /build/gcc-multilib/src/gcc-4.9-20141224/gcc/cfgexpand.c:5961
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.
>From gcc-bugs-return-471738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 26 09:29:10 2014
Return-Path: <gcc-bugs-return-471738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1078 invoked by alias); 26 Dec 2014 09:29:09 -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 1057 invoked by uid 48); 26 Dec 2014 09:29:03 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/64406] [5 Regression] ICE: SIGSEGV in estimate_numbers_of_iterations_loop (tree-ssa-loop-niter.c:3453) with custom flags
Date: Fri, 26 Dec 2014 09:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-64406-4-sRyhwj7B3G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64406-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-12/txt/msg02745.txt.bz2
Content-length: 555

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd406

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-12-26
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Revision r211698 (2014-06-16) is OK, r212119 (2014-06-29) gives the ICE.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/64409] ICE building Mesa 10.4.0 for x32 ABI
  2014-12-26  3:01 [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI steven at uplinklabs dot net
  2014-12-26  5:23 ` [Bug middle-end/64409] " steven at uplinklabs dot net
@ 2014-12-26  9:43 ` trippels at gcc dot gnu.org
  2014-12-26 13:28 ` hjl.tools at gmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-12-26  9:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x32
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-12-26
                 CC|                            |hjl.tools at gmail dot com,
                   |                            |trippels at gcc dot gnu.org
          Component|middle-end                  |target
     Ever confirmed|0                           |1
      Known to fail|                            |4.8.4, 4.9.2, 5.0

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
x32 doesn't handle the ms_abi attribute:

markus@x4 tmp % cat getproc.i
int a;
int* __attribute__ ((ms_abi)) fn1 () { return &a; }

markus@x4 tmp % gcc -mx32 -O2 -c getproc.i
getproc.i: In function ‘fn1’:
getproc.i:2:47: internal compiler error: in emit_move_insn, at expr.c:3583
>From gcc-bugs-return-471740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 26 09:44:48 2014
Return-Path: <gcc-bugs-return-471740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5530 invoked by alias); 26 Dec 2014 09:44:47 -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 5497 invoked by uid 48); 26 Dec 2014 09:44:44 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64409] ICE building Mesa 10.4.0 for x32 ABI
Date: Fri, 26 Dec 2014 09:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_severity
Message-ID: <bug-64409-4-RJNegdeUCT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64409-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64409-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-12/txt/msg02747.txt.bz2
Content-length: 301

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd409

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/64409] ICE building Mesa 10.4.0 for x32 ABI
  2014-12-26  3:01 [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI steven at uplinklabs dot net
  2014-12-26  5:23 ` [Bug middle-end/64409] " steven at uplinklabs dot net
  2014-12-26  9:43 ` [Bug target/64409] " trippels at gcc dot gnu.org
@ 2014-12-26 13:28 ` hjl.tools at gmail dot com
  2014-12-26 17:51 ` steven at uplinklabs dot net
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2014-12-26 13:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |hjl.tools at gmail dot com

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Markus Trippelsdorf from comment #2)
> x32 doesn't handle the ms_abi attribute:
> 
> markus@x4 tmp % cat getproc.i
> int a;
> int* __attribute__ ((ms_abi)) fn1 () { return &a; }
> 
> markus@x4 tmp % gcc -mx32 -O2 -c getproc.i
> getproc.i: In function ‘fn1’:
> getproc.i:2:47: internal compiler error: in emit_move_insn, at expr.c:3583

There is no counter part of x32 in MS ABI.  I can issue an error.  How should
the ms_abi attribute even work in x32?
>From gcc-bugs-return-471748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 26 13:35:30 2014
Return-Path: <gcc-bugs-return-471748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13607 invoked by alias); 26 Dec 2014 13:35:29 -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 13575 invoked by uid 48); 26 Dec 2014 13:35:25 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/59198] [4.8/4.9/5 Regression] ICE on cyclically dependent polymorphic types
Date: Fri, 26 Dec 2014 13:35: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: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-59198-4-aP0HY4J2aU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59198-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59198-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-12/txt/msg02755.txt.bz2
Content-length: 226

https://gcc.gnu.org/bugzilla/show_bug.cgi?idY198

--- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
For the record a patch has been submitted at
https://gcc.gnu.org/ml/fortran/2014-03/msg00165.html.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/64409] ICE building Mesa 10.4.0 for x32 ABI
  2014-12-26  3:01 [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI steven at uplinklabs dot net
                   ` (2 preceding siblings ...)
  2014-12-26 13:28 ` hjl.tools at gmail dot com
@ 2014-12-26 17:51 ` steven at uplinklabs dot net
  2014-12-26 18:39 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: steven at uplinklabs dot net @ 2014-12-26 17:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409

--- Comment #4 from Steven Noonan <steven at uplinklabs dot net> ---
Ahh, didn't even think about an x32/ms_abi compatibility problems. That totally
makes sense. It probably shouldn't work anyway, but an ICE is obviously not the
right reaction from the compiler. What I should be doing is passing
--disable-nine to the Mesa configure script and it will just skip the
ms_abi-dependent features.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/64409] ICE building Mesa 10.4.0 for x32 ABI
  2014-12-26  3:01 [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI steven at uplinklabs dot net
                   ` (3 preceding siblings ...)
  2014-12-26 17:51 ` steven at uplinklabs dot net
@ 2014-12-26 18:39 ` hjl.tools at gmail dot com
  2014-12-27 16:15 ` hjl at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2014-12-26 18:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.5

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2014-12/msg01875.html


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/64409] ICE building Mesa 10.4.0 for x32 ABI
  2014-12-26  3:01 [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI steven at uplinklabs dot net
                   ` (4 preceding siblings ...)
  2014-12-26 18:39 ` hjl.tools at gmail dot com
@ 2014-12-27 16:15 ` hjl at gcc dot gnu.org
  2014-12-27 16:27 ` hjl at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl at gcc dot gnu.org @ 2014-12-27 16:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409

--- Comment #6 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Sat Dec 27 16:14:59 2014
New Revision: 219081

URL: https://gcc.gnu.org/viewcvs?rev=219081&root=gcc&view=rev
Log:
Issue an error for ms_abi attribute with x32

There is no counter part of x32 in MS ABI.   Issue an error when ms_abi
attribute is used with x32.

gcc/

    PR target/64409
    * config/i386/i386.c (ix86_function_type_abi): Issue an error
    when ms_abi attribute is used with x32.

gcc/testsuite/

    PR target/64409
    * gcc.target/i386/pr64409.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr64409.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/64409] ICE building Mesa 10.4.0 for x32 ABI
  2014-12-26  3:01 [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI steven at uplinklabs dot net
                   ` (5 preceding siblings ...)
  2014-12-27 16:15 ` hjl at gcc dot gnu.org
@ 2014-12-27 16:27 ` hjl at gcc dot gnu.org
  2014-12-27 16:36 ` hjl at gcc dot gnu.org
  2014-12-27 16:38 ` hjl.tools at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: hjl at gcc dot gnu.org @ 2014-12-27 16:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409

--- Comment #7 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Sat Dec 27 16:26:55 2014
New Revision: 219082

URL: https://gcc.gnu.org/viewcvs?rev=219082&root=gcc&view=rev
Log:
Issue an error for ms_abi attribute with x32

There is no counter part of x32 in MS ABI.   Issue an error when ms_abi
attribute is used with x32.

gcc/

    PR target/64409
    * config/i386/i386.c (ix86_function_type_abi): Issue an error
    when ms_abi attribute is used with x32.

gcc/testsuite/

    PR target/64409
    * gcc.target/i386/pr64409.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr64409.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/i386/i386.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/64409] ICE building Mesa 10.4.0 for x32 ABI
  2014-12-26  3:01 [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI steven at uplinklabs dot net
                   ` (6 preceding siblings ...)
  2014-12-27 16:27 ` hjl at gcc dot gnu.org
@ 2014-12-27 16:36 ` hjl at gcc dot gnu.org
  2014-12-27 16:38 ` hjl.tools at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: hjl at gcc dot gnu.org @ 2014-12-27 16:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409

--- Comment #8 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Sat Dec 27 16:35:41 2014
New Revision: 219083

URL: https://gcc.gnu.org/viewcvs?rev=219083&root=gcc&view=rev
Log:
Issue an error for ms_abi attribute with x32

There is no counter part of x32 in MS ABI.   Issue an error when ms_abi
attribute is used with x32.

gcc/

    PR target/64409
    * config/i386/i386.c (ix86_function_type_abi): Issue an error
    when ms_abi attribute is used with x32.

gcc/testsuite/

    PR target/64409
    * gcc.target/i386/pr64409.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr64409.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/config/i386/i386.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/64409] ICE building Mesa 10.4.0 for x32 ABI
  2014-12-26  3:01 [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI steven at uplinklabs dot net
                   ` (7 preceding siblings ...)
  2014-12-27 16:36 ` hjl at gcc dot gnu.org
@ 2014-12-27 16:38 ` hjl.tools at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2014-12-27 16:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to work|                            |4.8.5, 4.9.3, 5.0
         Resolution|---                         |FIXED

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for 4.8.5.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-12-27 16:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-26  3:01 [Bug middle-end/64409] New: ICE building Mesa 10.4.0 for x32 ABI steven at uplinklabs dot net
2014-12-26  5:23 ` [Bug middle-end/64409] " steven at uplinklabs dot net
2014-12-26  9:43 ` [Bug target/64409] " trippels at gcc dot gnu.org
2014-12-26 13:28 ` hjl.tools at gmail dot com
2014-12-26 17:51 ` steven at uplinklabs dot net
2014-12-26 18:39 ` hjl.tools at gmail dot com
2014-12-27 16:15 ` hjl at gcc dot gnu.org
2014-12-27 16:27 ` hjl at gcc dot gnu.org
2014-12-27 16:36 ` hjl at gcc dot gnu.org
2014-12-27 16:38 ` hjl.tools at gmail dot com

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).