public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
@ 2014-06-26 18:00 roland at gnu dot org
  2014-06-26 18:03 ` [Bug target/61622] " roland at gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: roland at gnu dot org @ 2014-06-26 18:00 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: 6381 bytes --]

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

            Bug ID: 61622
           Summary: internal compiler error: in
                    simplify_const_unary_operation, at simplify-rtx.c:1508
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland at gnu dot org
            Target: arm-linux-gnueabihf

This is with gcc-4_8-branch tip (98985e7).  It also happens with 4.8.3.
It does not happen with 4.7 or 4.9.


GNU C (GCC) version 4.8.4 20140626 (prerelease) (arm-linux-gnueabihf)
    compiled by GNU C version 4.6.3, GMP version 5.0.2, MPFR version 3.1.0-p3,
MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (GCC) version 4.8.4 20140626 (prerelease) (arm-linux-gnueabihf)
    compiled by GNU C version 4.6.3, GMP version 5.0.2, MPFR version 3.1.0-p3,
MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: d86a8a8674f3db3f8fa6a19eba923eb3
ref_vld1_dup.i: In function ‘exec_vld1_dup’:
ref_vld1_dup.i:13233:1: internal compiler error: in
simplify_const_unary_operation, at simplify-rtx.c:1508
 }
 ^
0x7bdf69 simplify_const_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
    ../../../gcc/gcc/simplify-rtx.c:1508
0x7bbd14 simplify_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
    ../../../gcc/gcc/simplify-rtx.c:796
0xb1f9ca fold_rtx
    ../../../gcc/gcc/cse.c:3287
0xb21edc cse_insn
    ../../../gcc/gcc/cse.c:4573
0xb26b04 cse_extended_basic_block
    ../../../gcc/gcc/cse.c:6418
0xb26b04 cse_main
    ../../../gcc/gcc/cse.c:6596
0xb26fb6 rest_of_handle_cse
    ../../../gcc/gcc/cse.c:7446
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
[Exit 4]
>From gcc-bugs-return-455079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 26 18:01:36 2014
Return-Path: <gcc-bugs-return-455079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17088 invoked by alias); 26 Jun 2014 18:01:36 -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 17055 invoked by uid 48); 26 Jun 2014 18:01:32 -0000
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61623] New: [4.10 Regression] ICE: verify_symtab failed: Two symbols with same comdat_group are not linked by the same_comdat_group list.
Date: Thu, 26 Jun 2014 18:01: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.10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zsojka at seznam dot cz
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-61623-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-06/txt/msg02161.txt.bz2
Content-length: 2404

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

            Bug ID: 61623
           Summary: [4.10 Regression] ICE: verify_symtab failed: Two
                    symbols with same comdat_group are not linked by the
                    same_comdat_group list.
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 33012
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id3012&actioníit
reduced testcase

Compiler output:
$ gcc -Os testcase.C
testcase.C:7:8: error: Two symbols with same comdat_group are not linked by the
same_comdat_group list.
 A a (0);
        ^
_ZN1AC1Ei/8 (A::A(int)) @0x7f200bc92170
  Type: function definition analyzed
  Visibility: externally_visible public weak comdat comdat_group:_ZN1AC5Ei
one_only
  Same comdat group as: _ZN1AC2Ei/7
  References:
  Referring:
  Availability: available
  First run: 0
  Function flags: body
  Called by: _Z41__static_initialization_and_destruction_0ii/19 (0.07 per call)
  Calls: _ZN1AC4Ei.isra.0/31 (1.00 per call)
_ZN1AC1Ei/8 (A::A(int)) @0x7f200bc92170
  Type: function definition analyzed
  Visibility: externally_visible public weak comdat comdat_group:_ZN1AC5Ei
one_only
  Same comdat group as: _ZN1AC2Ei/7
  References:
  Referring:
  Availability: available
  First run: 0
  Function flags: body
  Called by: _Z41__static_initialization_and_destruction_0ii/19 (0.07 per call)
  Calls: _ZN1AC4Ei.isra.0/31 (1.00 per call)
testcase.C:7:8: internal compiler error: verify_symtab failed
0x9407e6 verify_symtab()
        /mnt/svn/gcc-trunk/gcc/symtab.c:1192
0xb45040 symtab_remove_unreachable_nodes(bool, _IO_FILE*)
        /mnt/svn/gcc-trunk/gcc/ipa.c:591
0x94e93b ipa_passes
        /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2064
0x94e93b compile()
        /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2186
0x94f3d4 finalize_compilation_unit()
        /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2341
0x72860e cp_write_global_declarations()
        /mnt/svn/gcc-trunk/gcc/cp/decl2.c:4647
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r212007 - ICE
4_9 r211338 - OK


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

* [Bug target/61622] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
@ 2014-06-26 18:03 ` roland at gnu dot org
  2014-06-27 18:41 ` pangbw at gmail dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: roland at gnu dot org @ 2014-06-26 18:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from roland at gnu dot org ---
Created attachment 33013
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33013&action=edit
test case preprocessed source

I had to gzip the file to make bugzilla accept it.


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

* [Bug target/61622] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
  2014-06-26 18:03 ` [Bug target/61622] " roland at gnu dot org
@ 2014-06-27 18:41 ` pangbw at gmail dot com
  2014-06-27 19:55 ` roland at gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pangbw at gmail dot com @ 2014-06-27 18:41 UTC (permalink / raw)
  To: gcc-bugs

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

baoshan <pangbw at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pangbw at gmail dot com

--- Comment #2 from baoshan <pangbw at gmail dot com> ---
(In reply to roland from comment #1)
> Created attachment 33013 [details]
> test case preprocessed source
> 
> I had to gzip the file to make bugzilla accept it.

What command line have you used to see this issue?


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

* [Bug target/61622] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
  2014-06-26 18:03 ` [Bug target/61622] " roland at gnu dot org
  2014-06-27 18:41 ` pangbw at gmail dot com
@ 2014-06-27 19:55 ` roland at gnu dot org
  2014-06-30 22:14 ` pangbw at gmail dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: roland at gnu dot org @ 2014-06-27 19:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from roland at gnu dot org ---
Oops!  Meant to paste that:

gcc/cc1 -fpreprocessed ref_vld1_dup.i -quiet -dumpbase ref_vld1_dup.i
-mfloat-abi=softfp -mfpu=neon -mtls-dialect=gnu -auxbase ref_vld1_dup -O1
-std=gnu99 -version -o ref_vld1_dup.s


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

* [Bug target/61622] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
                   ` (2 preceding siblings ...)
  2014-06-27 19:55 ` roland at gnu dot org
@ 2014-06-30 22:14 ` pangbw at gmail dot com
  2014-07-01 16:17 ` roland at gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pangbw at gmail dot com @ 2014-06-30 22:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from baoshan <pangbw at gmail dot com> ---
This should be a duplication to Bug 57431.


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

* [Bug target/61622] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
                   ` (3 preceding siblings ...)
  2014-06-30 22:14 ` pangbw at gmail dot com
@ 2014-07-01 16:17 ` roland at gnu dot org
  2014-07-02 20:10 ` mikpelinux at gmail dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: roland at gnu dot org @ 2014-07-01 16:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from roland at gnu dot org ---
(In reply to baoshan from comment #4)
> This should be a duplication to Bug 57431.

That report is for 4.9.x.  The bug remains on 4.8.x.


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

* [Bug target/61622] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
                   ` (4 preceding siblings ...)
  2014-07-01 16:17 ` roland at gnu dot org
@ 2014-07-02 20:10 ` mikpelinux at gmail dot com
  2014-07-24 13:00 ` [Bug target/61622] [4.8 regression] " ramana at gcc dot gnu.org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: mikpelinux at gmail dot com @ 2014-07-02 20:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Mikael Pettersson <mikpelinux at gmail dot com> ---
This _is_ a dup of PR57431 -- unfortunately PR57431 didn't fill out the "known
to work" or "known to fail" fields, so you might think it only applied to
trunk-to-be-4.9.0, but in fact its test case also ICEs current 4.8.

Both the PR57431 and the PR61622 test cases stop ICEing 4.8 when the fix for
PR57431 is backported to 4.8 (it applies cleanly).  Neither test case ICEs 4.7.


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

* [Bug target/61622] [4.8 regression] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
                   ` (5 preceding siblings ...)
  2014-07-02 20:10 ` mikpelinux at gmail dot com
@ 2014-07-24 13:00 ` ramana at gcc dot gnu.org
  2014-11-19 13:28 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-07-24 13:00 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.7.0, 4.7.1, 4.7.2, 4.7.3,
                   |                            |4.7.4, 4.9.0, 4.9.1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2014-07-24
                 CC|                            |ramana at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|internal compiler error: in |[4.8 regression] internal
                   |simplify_const_unary_operat |compiler error: in
                   |ion, at simplify-rtx.c:1508 |simplify_const_unary_operat
                   |                            |ion, at simplify-rtx.c:1508
      Known to fail|                            |4.8.0, 4.8.1, 4.8.2, 4.8.3

--- Comment #7 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Filling out some details - needs a backport of that patch to the 4.8 branch.


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

* [Bug target/61622] [4.8 regression] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
                   ` (6 preceding siblings ...)
  2014-07-24 13:00 ` [Bug target/61622] [4.8 regression] " ramana at gcc dot gnu.org
@ 2014-11-19 13:28 ` rguenth at gcc dot gnu.org
  2014-12-01 12:27 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-19 13:28 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.4


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

* [Bug target/61622] [4.8 regression] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
                   ` (7 preceding siblings ...)
  2014-11-19 13:28 ` rguenth at gcc dot gnu.org
@ 2014-12-01 12:27 ` rguenth at gcc dot gnu.org
  2014-12-19 13:36 ` jakub at gcc dot gnu.org
  2015-06-23  8:53 ` rguenth at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-01 12:27 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug target/61622] [4.8 regression] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
                   ` (8 preceding siblings ...)
  2014-12-01 12:27 ` rguenth at gcc dot gnu.org
@ 2014-12-19 13:36 ` jakub at gcc dot gnu.org
  2015-06-23  8:53 ` rguenth at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:36 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.4 has been released.


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

* [Bug target/61622] [4.8 regression] internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508
  2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
                   ` (9 preceding siblings ...)
  2014-12-19 13:36 ` jakub at gcc dot gnu.org
@ 2015-06-23  8:53 ` rguenth at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23  8:53 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|4.8.5                       |4.9.0
      Known to fail|                            |4.8.5

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed for 4.9.0.


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

end of thread, other threads:[~2015-06-23  8:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-26 18:00 [Bug target/61622] New: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1508 roland at gnu dot org
2014-06-26 18:03 ` [Bug target/61622] " roland at gnu dot org
2014-06-27 18:41 ` pangbw at gmail dot com
2014-06-27 19:55 ` roland at gnu dot org
2014-06-30 22:14 ` pangbw at gmail dot com
2014-07-01 16:17 ` roland at gnu dot org
2014-07-02 20:10 ` mikpelinux at gmail dot com
2014-07-24 13:00 ` [Bug target/61622] [4.8 regression] " ramana at gcc dot gnu.org
2014-11-19 13:28 ` rguenth at gcc dot gnu.org
2014-12-01 12:27 ` rguenth at gcc dot gnu.org
2014-12-19 13:36 ` jakub at gcc dot gnu.org
2015-06-23  8:53 ` rguenth 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).