public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
@ 2015-01-24 17:01 dominiq at lps dot ens.fr
  2015-01-24 19:12 ` [Bug ipa/64776] " howarth at bromo dot med.uc.edu
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-24 17:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64776
           Summary: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error)
                    on x86_64-apple-darwin14
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: fxcoudert at gcc dot gnu.org, howarth at bromo dot med.uc.edu,
                    iains at gcc dot gnu.org, marxin at gcc dot gnu.org
              Host: x86_64-apple-darwin14
            Target: x86_64-apple-darwin14
             Build: x86_64-apple-darwin14

Compiling the test gcc.dg/ipa/pr64307.c on x86_64-apple-darwin14 gives the
following ICE

[Book15] f90/bug% gcc5 -S -O0 -fipa-icf
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c: In function 'real_part':
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1: error: invalid
argument to gimple call
 }
 ^
a
# .MEM_2 = VDEF <.MEM_1(D)>
retval.0_3 = real_part_2 (a); [tail call]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1: internal compiler
error: verify_gimple failed

The code compiles if gcc is configured with --enable-checking=release.


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

* [Bug ipa/64776] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
@ 2015-01-24 19:12 ` howarth at bromo dot med.uc.edu
  2015-01-24 19:38 ` dominiq at lps dot ens.fr
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-24 19:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from howarth at bromo dot med.uc.edu ---
Backtraces as...

% lldb /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/cc1               
             (lldb) target create
"/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/cc1"
Current executable set to
'/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/cc1' (x86_64).
(lldb) r -fpreprocessed pr64307.i -fPIC -quiet -dumpbase pr64307.c
-mmacosx-version-min=10.10.1 -m64 -mtune=core2 -auxbase-strip pr64307.s -O0
-version -fno-diagnostics-show-caret -fdiagnostics-color=never -fipa-icf
-fdump-ipa-icf -o pr64307.s
Process 86458 launched:
'/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/cc1' (x86_64)
GNU C11 (GCC) version 5.0.0 20150124 (experimental) (x86_64-apple-darwin14.1.0)
    compiled by GNU C version 5.0.0 20150124 (experimental), GMP version 6.0.0,
MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C11 (GCC) version 5.0.0 20150124 (experimental) (x86_64-apple-darwin14.1.0)
    compiled by GNU C version 5.0.0 20150124 (experimental), GMP version 6.0.0,
MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: f59cc75aa297c9855565e65a45cb4437
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150124/gcc/testsuite/gcc.dg/ipa/pr64307.c:
In function ‘real_part’:
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150124/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1:
error: invalid argument to gimple call
a
# .MEM_2 = VDEF <.MEM_1(D)>
retval.0_3 = real_part_2 (a); [tail call]
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150124/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1:
internal compiler error: verify_gimple failed
Process 86458 stopped
* thread #1: tid = 0x37ebcf, 0x00007fff92ac5286
libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread',
stop reason = signal SIGABRT
    frame #0: 0x00007fff92ac5286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill + 10:
-> 0x7fff92ac5286:  jae    0x7fff92ac5290            ; __pthread_kill + 20
   0x7fff92ac5288:  movq   %rax, %rdi
   0x7fff92ac528b:  jmp    0x7fff92ac0c53            ; cerror_nocancel
   0x7fff92ac5290:  retq   
(lldb) bt
* thread #1: tid = 0x37ebcf, 0x00007fff92ac5286
libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread',
stop reason = signal SIGABRT
  * frame #0: 0x00007fff92ac5286 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff8f61842f libsystem_pthread.dylib`pthread_kill + 90
    frame #2: 0x00007fff995feb53 libsystem_c.dylib`abort + 129
    frame #3: 0x0000000100e24686
cc1`uw_init_context_1(context=0x00007fff5fbfeb80, outer_cfa=0x00007fff5fbfee30,
outer_ra=0x0000000100d88d75) + 134 at unwind-dw2.c:1563
    frame #4: 0x0000000100e25258
cc1`_Unwind_Backtrace(trace=0x0000000100d88cd0,
trace_argument=0x00007fff5fbfee30) + 56 at unwind.inc:283
    frame #5: 0x0000000100d88d75 cc1`backtrace_full(state=<unavailable>,
skip=<unavailable>, callback=<unavailable>, error_callback=<unavailable>,
data=<unavailable>) + 53 at backtrace.c:106
    frame #6: 0x0000000100d54703
cc1`diagnostic_action_after_output(context=0x0000000141577300,
diag_kind=<unavailable>) + 435 at diagnostic.c:529
    frame #7: 0x0000000100d54943
cc1`diagnostic_report_diagnostic(context=0x0000000141577300,
diagnostic=0x00007fff5fbfef00) + 483 at diagnostic.c:869
    frame #8: 0x0000000100d55e9b cc1`internal_error(gmsgid=<unavailable>) + 235
at diagnostic.c:1240
    frame #9: 0x00000001009f881f
cc1`verify_gimple_in_cfg(fn=0x0000000143139e70, verify_nothrow=false) + 3167 at
tree-cfg.c:5069
    frame #10: 0x00000001008ccd3a
cc1`execute_function_todo(fn=0x0000000143139e70, data=<unavailable>) + 586 at
passes.c:1955
    frame #11: 0x00000001008cd4d2
cc1`do_per_function(callback=0x00000001008ccaf0, data=0x0000000000000040) + 226
at passes.c:1654
    frame #12: 0x00000001008cd62e cc1`execute_todo(flags=64) + 302 at
passes.c:2012
    frame #13: 0x00000001008d00b1 cc1`execute_one_pass(pass=0x00000001422133b0)
+ 481 at passes.c:2339
    frame #14: 0x00000001008d0c5a
cc1`execute_ipa_pass_list(pass=0x00000001422133b0) + 154 at passes.c:2723
    frame #15: 0x00000001004cb0c7 cc1`symbol_table::compile() + 301 at
cgraphunit.c:2133
    frame #16: 0x00000001004caf9a
cc1`symbol_table::compile(this=0x0000000143005000) + 1226
    frame #17: 0x00000001004cd568
cc1`symbol_table::finalize_compilation_unit(this=0x0000000143005000) + 168 at
timevar.h:110
    frame #18: 0x000000010001baf9 cc1`c_write_global_declarations() + 361 at
c-decl.c:10789
    frame #19: 0x00000001009af63f cc1`compile_file + 143 at toplev.c:608
    frame #20: 0x0000000100e931e7 cc1`toplev::main(int, char**) + 1288 at
toplev.c:2050
    frame #21: 0x0000000100e92cdf cc1`toplev::main(this=<unavailable>, argc=20,
argv=0x00007fff5fbff478) + 719
    frame #22: 0x0000000100e93eac cc1`main(argc=<unavailable>,
argv=<unavailable>) + 44 at main.c:39
    frame #23: 0x00007fff94d2b5c9 libdyld.dylib`start + 1
    frame #24: 0x00007fff94d2b5c9 libdyld.dylib`start + 1
(lldb)
>From gcc-bugs-return-474755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jan 24 19:37:32 2015
Return-Path: <gcc-bugs-return-474755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11303 invoked by alias); 24 Jan 2015 19:37:31 -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 11253 invoked by uid 48); 24 Jan 2015 19:37:25 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/49213] [OOP] gfortran rejects structure constructor expression
Date: Sat, 24 Jan 2015 19:37: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.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
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:
Message-ID: <bug-49213-4-LPPoolhkUK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49213-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49213-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: 2015-01/txt/msg02749.txt.bz2
Content-length: 533

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

--- Comment #23 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The ICE on comment 9 does not occur any more with current trunk:
>
> gcc-Version 5.0.0 20150124 (experimental) [trunk revision 220084] (GCC)

Confirmed. I get the ICE with r219763 (2015-01-16), but not with r219772
(2015-01-16, with Andre's patch for pr60357:
https://gcc.gnu.org/ml/fortran/2015-01/msg00094.html).

Since there is no fortran commit in the range, it is likely fixed by the
Andre's patch.


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

* [Bug ipa/64776] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
  2015-01-24 19:12 ` [Bug ipa/64776] " howarth at bromo dot med.uc.edu
@ 2015-01-24 19:38 ` dominiq at lps dot ens.fr
  2015-01-26 11:30 ` [Bug ipa/64776] [5 Regression] " rguenth at gcc dot gnu.org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-24 19:38 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-24
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed per comment 1.


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
  2015-01-24 19:12 ` [Bug ipa/64776] " howarth at bromo dot med.uc.edu
  2015-01-24 19:38 ` dominiq at lps dot ens.fr
@ 2015-01-26 11:30 ` rguenth at gcc dot gnu.org
  2015-01-26 11:30 ` rguenth at gcc dot gnu.org
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-01-26 11:30 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2015-01-26 11:30 ` [Bug ipa/64776] [5 Regression] " rguenth at gcc dot gnu.org
@ 2015-01-26 11:30 ` rguenth at gcc dot gnu.org
  2015-01-26 15:00 ` jakub at gcc dot gnu.org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-01-26 11:30 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0
            Summary|FAIL: gcc.dg/ipa/pr64307.c  |[5 Regression] FAIL:
                   |(internal compiler error)   |gcc.dg/ipa/pr64307.c
                   |on x86_64-apple-darwin14    |(internal compiler error)
                   |                            |on x86_64-apple-darwin14

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Latent bug for other targets I suppose (ICF related).  'a' is probably of
gimple register type.


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (3 preceding siblings ...)
  2015-01-26 11:30 ` rguenth at gcc dot gnu.org
@ 2015-01-26 15:00 ` jakub at gcc dot gnu.org
  2015-01-26 15:38 ` dominiq at lps dot ens.fr
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-26 15:00 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can you attach preprocessed source or say -fdump-ipa-whole-program-all
-fdump-ipa-icf-all dumps from the --enable-checking=release build?


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (4 preceding siblings ...)
  2015-01-26 15:00 ` jakub at gcc dot gnu.org
@ 2015-01-26 15:38 ` dominiq at lps dot ens.fr
  2015-01-26 15:41 ` dominiq at lps dot ens.fr
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-26 15:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Created attachment 34576
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34576&action=edit
pr64307.c.050i.whole-program for --enable-checking=release build

> Can you attach preprocessed source or say -fdump-ipa-whole-program-all
> -fdump-ipa-icf-all dumps from the --enable-checking=release build?

pr64307.c.050i.whole-program for --enable-checking=release build.


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (5 preceding siblings ...)
  2015-01-26 15:38 ` dominiq at lps dot ens.fr
@ 2015-01-26 15:41 ` dominiq at lps dot ens.fr
  2015-01-26 15:45 ` dominiq at lps dot ens.fr
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-26 15:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Created attachment 34577
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34577&action=edit
pr64307.c.050i.whole-program for --enable-checking=release build

> Can you attach preprocessed source or say -fdump-ipa-whole-program-all
> -fdump-ipa-icf-all dumps from the --enable-checking=release build?

pr64307.c.050i.whole-program for --enable-checking=release build.


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (6 preceding siblings ...)
  2015-01-26 15:41 ` dominiq at lps dot ens.fr
@ 2015-01-26 15:45 ` dominiq at lps dot ens.fr
  2015-01-26 16:06 ` marxin at gcc dot gnu.org
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-26 15:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Created attachment 34578
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34578&action=edit
pr64307.c.052i.icf for --enable-checking=release build

> Can you attach preprocessed source or say -fdump-ipa-whole-program-all
> -fdump-ipa-icf-all dumps from the --enable-checking=release build?

pr64307.c.052i.icf for --enable-checking=release build.


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (7 preceding siblings ...)
  2015-01-26 15:45 ` dominiq at lps dot ens.fr
@ 2015-01-26 16:06 ` marxin at gcc dot gnu.org
  2015-01-26 16:34 ` dominiq at lps dot ens.fr
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-01-26 16:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
May I please Dominique to put 'debug_tree(arg);' after following statement:
error ("invalid argument to gimple call");

And send the stderr output?
Thanks,
Martin
>From gcc-bugs-return-474919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 26 16:10:00 2015
Return-Path: <gcc-bugs-return-474919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13632 invoked by alias); 26 Jan 2015 16:09:54 -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 13544 invoked by uid 48); 26 Jan 2015 16:09:36 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64795] [5 regression] too many memory references for `lea'
Date: Mon, 26 Jan 2015 16:09: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: 5.0
X-Bugzilla-Keywords: lto
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-64795-4-nqMlawTPTj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64795-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64795-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-01/txt/msg02913.txt.bz2
Content-length: 2054

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-01-26
           Assignee|unassigned at gcc dot gnu.org      |ubizjak at gmail dot com
     Ever confirmed|0                           |1

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
The failed insn is:

#(insn 8 6 13 2 (set (mem/f/j/c:DI (symbol_ref:DI ("_ZZ4mainE1a") [flags 0x2]
<var_decl 0x7fe4d00f2900 a>) [0 a.pf+0 S8 A64])
#        (symbol_ref:DI ("_ZL3fn21s") [flags 0x3] <function_decl 0x7fe4d02dd0d8
fn2>)) t.ii:10 89 {*movdi_internal}
#     (nil))
    leaq    _ZL3fn21s(%rip), _ZZ4mainE1a(%rip)    # 8    *movdi_internal/6   
[length = 8]

Patch that tightens lea constraints in testing:

Index: i386.md
===================================================================
--- i386.md     (revision 220092)
+++ i386.md     (working copy)
@@ -2208,7 +2208,8 @@
              (const_string "ssecvt")
            (eq_attr "alternative" "21,22,23,24")
              (const_string "mskmov")
-           (match_operand 1 "pic_32bit_operand")
+           (and (match_operand 0 "register_operand")
+                (match_operand 1 "pic_32bit_operand"))
              (const_string "lea")
           ]
           (const_string "imov")))
@@ -2361,7 +2362,8 @@
              (const_string "ssemov")
            (eq_attr "alternative" "13,14")
              (const_string "mskmov")
-           (match_operand 1 "pic_32bit_operand")
+           (and (match_operand 0 "register_operand")
+                (match_operand 1 "pic_32bit_operand"))
              (const_string "lea")
           ]
           (const_string "imov")))
>From gcc-bugs-return-474920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 26 16:33:08 2015
Return-Path: <gcc-bugs-return-474920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2297 invoked by alias); 26 Jan 2015 16:31:18 -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 1778 invoked by uid 48); 26 Jan 2015 16:30:30 -0000
From: "public at hansmi dot ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception()
Date: Mon, 26 Jan 2015 16:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 4.9.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: public at hansmi dot ch
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: cc
Message-ID: <bug-62258-4-77vSIwYviH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-62258-4@http.gcc.gnu.org/bugzilla/>
References: <bug-62258-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: 2015-01/txt/msg02914.txt.bz2
Content-length: 1515

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

M. Hanselmann <public at hansmi dot ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public at hansmi dot ch

--- Comment #7 from M. Hanselmann <public at hansmi dot ch> ---
Confirmed using GCC 5.0.0 20150125 built from source (see below) and 4.7.2
(Debian 4.7.2-5; Debian Wheezy). Tested using the test case in comment 1.

Output:
$ g++-5-20150125 -std=c++11 -o test62258 test62258.c -Wall && ./test62258
test62258: test62258.c:11: int main(): Assertion `!std::uncaught_exception()'
failed.
Aborted

$ g++-5-20150125 -v
Using built-in specs.
COLLECT_GCC=g++-5-20150125
COLLECT_LTO_WRAPPER=/home/user/gcc50/bin/../libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/user/gcc50build/src-gcc-5-20150125/configure
--target=x86_64-unknown-linux-gnu
--prefix=/home/user/gcc50build/target-x86_64-unknown-linux-gnu
--program-suffix=-5-20150125 --disable-nls --enable-c99
--enable-checking=release --enable-gnu-unique-object --enable-gold
--enable-languages=c,c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-linker-build-id --enable-long-long --enable-multiarch
--enable-multilib --enable-shared --enable-targets=all --enable-threads=posix
--with-system-zlib --with-tune=generic
Thread model: posix
gcc version 5.0.0 20150125 (experimental) (GCC)


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (8 preceding siblings ...)
  2015-01-26 16:06 ` marxin at gcc dot gnu.org
@ 2015-01-26 16:34 ` dominiq at lps dot ens.fr
  2015-01-26 17:06 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-26 16:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---

> May I please Dominique to put 'debug_tree(arg);' after following statement:
> error ("invalid argument to gimple call");
>
> And send the stderr output?

/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c: In function 'real_part':
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1: error: invalid
argument to gimple call
 }
 ^
 <parm_decl 0x14315e280 a
    type <complex_type 0x14315cdc8 COMPLEX_FLOAT
        type <real_type 0x1430203f0 float sizes-gimplified SF
            size <integer_cst 0x143001ee8 constant 32>
            unit size <integer_cst 0x143001f00 constant 4>
            align 32 symtab 0 alias set -1 canonical type 0x1430203f0 precision
32
            pointer_to_this <pointer_type 0x1430205e8>>
        sizes-gimplified SC
        size <integer_cst 0x143001ca8 constant 64>
        unit size <integer_cst 0x143001cc0 constant 8>
        align 32 symtab 0 alias set -1 canonical type 0x143020d20 context
<translation_unit_decl 0x1421753c0 D.2108>
        pointer_to_this <pointer_type 0x14315f0a8>>
    used SC file /opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c line 9 col
38 size <integer_cst 0x143001ca8 64> unit size <integer_cst 0x143001cc0 8>
    align 32 context <function_decl 0x143158a20 real_part> arg-type
<complex_type 0x14315cdc8 COMPLEX_FLOAT>>
a
# .MEM_2 = VDEF <.MEM_1(D)>
retval.0_3 = real_part_2 (a); [tail call]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1: internal compiler
error: verify_gimple failed

--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c: In function 'real_part':
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1: error: invalid
argument to gimple call
 }
 ^
 <parm_decl 0x14315e280 a
    type <complex_type 0x14315cdc8 COMPLEX_FLOAT
        type <real_type 0x1430203f0 float sizes-gimplified SF
            size <integer_cst 0x143001ee8 constant 32>
            unit size <integer_cst 0x143001f00 constant 4>
            align 32 symtab 0 alias set -1 canonical type 0x1430203f0 precision
32
            pointer_to_this <pointer_type 0x1430205e8>>
        sizes-gimplified SC
        size <integer_cst 0x143001ca8 constant 64>
        unit size <integer_cst 0x143001cc0 constant 8>
        align 32 symtab 0 alias set -1 canonical type 0x143020d20 context
<translation_unit_decl 0x1421753c0 D.2108>
        pointer_to_this <pointer_type 0x14315f0a8>>
    used SC file /opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c line 9 col
38 size <integer_cst 0x143001ca8 64> unit size <integer_cst 0x143001cc0 8>
    align 32 context <function_decl 0x143158a20 real_part> arg-type
<complex_type 0x14315cdc8 COMPLEX_FLOAT>>
a
# .MEM_2 = VDEF <.MEM_1(D)>
retval.0_3 = real_part_2 (a); [tail call]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1: internal compiler
error: verify_gimple failed

> Le 26 janv. 2015 à 17:04, marxin at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org> a écrit :
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776
> 
> --- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
> May I please Dominique to put 'debug_tree(arg);' after following statement:
> error ("invalid argument to gimple call");
> 
> And send the stderr output?
> Thanks,
> Martin
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
>From gcc-bugs-return-474922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 26 16:39:24 2015
Return-Path: <gcc-bugs-return-474922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4180 invoked by alias); 26 Jan 2015 16:35:33 -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 2444 invoked by uid 55); 26 Jan 2015 16:31:36 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
Date: Mon, 26 Jan 2015 16:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64776-4-mkynVupB44@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64776-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64776-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-01/txt/msg02916.txt.bz2
Content-length: 3496

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

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---

> May I please Dominique to put 'debug_tree(arg);' after following statement:
> error ("invalid argument to gimple call");
>
> And send the stderr output?

/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c: In function 'real_part':
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1: error: invalid
argument to gimple call
 }
 ^
 <parm_decl 0x14315e280 a
    type <complex_type 0x14315cdc8 COMPLEX_FLOAT
        type <real_type 0x1430203f0 float sizes-gimplified SF
            size <integer_cst 0x143001ee8 constant 32>
            unit size <integer_cst 0x143001f00 constant 4>
            align 32 symtab 0 alias set -1 canonical type 0x1430203f0 precision
32
            pointer_to_this <pointer_type 0x1430205e8>>
        sizes-gimplified SC
        size <integer_cst 0x143001ca8 constant 64>
        unit size <integer_cst 0x143001cc0 constant 8>
        align 32 symtab 0 alias set -1 canonical type 0x143020d20 context
<translation_unit_decl 0x1421753c0 D.2108>
        pointer_to_this <pointer_type 0x14315f0a8>>
    used SC file /opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c line 9 col
38 size <integer_cst 0x143001ca8 64> unit size <integer_cst 0x143001cc0 8>
    align 32 context <function_decl 0x143158a20 real_part> arg-type
<complex_type 0x14315cdc8 COMPLEX_FLOAT>>
a
# .MEM_2 = VDEF <.MEM_1(D)>
retval.0_3 = real_part_2 (a); [tail call]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1: internal compiler
error: verify_gimple failed

--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c: In function 'real_part':
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1: error: invalid
argument to gimple call
 }
 ^
 <parm_decl 0x14315e280 a
    type <complex_type 0x14315cdc8 COMPLEX_FLOAT
        type <real_type 0x1430203f0 float sizes-gimplified SF
            size <integer_cst 0x143001ee8 constant 32>
            unit size <integer_cst 0x143001f00 constant 4>
            align 32 symtab 0 alias set -1 canonical type 0x1430203f0 precision
32
            pointer_to_this <pointer_type 0x1430205e8>>
        sizes-gimplified SC
        size <integer_cst 0x143001ca8 constant 64>
        unit size <integer_cst 0x143001cc0 constant 8>
        align 32 symtab 0 alias set -1 canonical type 0x143020d20 context
<translation_unit_decl 0x1421753c0 D.2108>
        pointer_to_this <pointer_type 0x14315f0a8>>
    used SC file /opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c line 9 col
38 size <integer_cst 0x143001ca8 64> unit size <integer_cst 0x143001cc0 8>
    align 32 context <function_decl 0x143158a20 real_part> arg-type
<complex_type 0x14315cdc8 COMPLEX_FLOAT>>
a
# .MEM_2 = VDEF <.MEM_1(D)>
retval.0_3 = real_part_2 (a); [tail call]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c:28:1: internal compiler
error: verify_gimple failed

> Le 26 janv. 2015 à 17:04, marxin at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org> a écrit :
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776
> 
> --- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
> May I please Dominique to put 'debug_tree(arg);' after following statement:
> error ("invalid argument to gimple call");
> 
> And send the stderr output?
> Thanks,
> Martin
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
>From gcc-bugs-return-474923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 26 17:05:30 2015
Return-Path: <gcc-bugs-return-474923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7550 invoked by alias); 26 Jan 2015 17:05:28 -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 6404 invoked by uid 48); 26 Jan 2015 17:05:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/63504] [5 Regression] Issues found by --enable-checking=valgrind
Date: Mon, 26 Jan 2015 17:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-63504-4-zAXwQE3ndQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63504-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63504-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: 2015-01/txt/msg02917.txt.bz2
Content-length: 2173

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |segher at gcc dot gnu.org

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I can reproduce 3) with current trunk (again, using x86_64-linux ->
powerpc64-linux cross).
The problem is that on
(set (reg:DI 213)
    (plus:DI (reg:DI 211 [ D.2022+-4 ])
        (const_int -4294967297 [0xfffffffeffffffff])))
we get:
#6  0x000000000093ea52 in gen_raw_REG (mode=DImode, regno!5) at
../../gcc/emit-rtl.c:440
#7  0x000000000093fc35 in gen_reg_rtx (mode=DImode) at
../../gcc/emit-rtl.c:1081
#8  0x000000000116465c in gen_split_1299 (curr_insn=0x7ffff19a4000,
operands=0x1d86980 <recog_data>) at ../../gcc/config/rs6000/rs6000.md:1639
#9  0x00000000012693fd in split_11 (x0=0x7ffff19a3f48, insn=0x7ffff19a4000) at
../../gcc/config/rs6000/rs6000.md:305
#10 0x0000000001273870 in split_insns (x0=0x7ffff19a3f48,
uncast_insn=0x7ffff19a4000) at ../../gcc/config/rs6000/rs6000.md:12081
#11 0x00000000012a2c0e in combine_split_insns (pattern=0x7ffff19a3f48,
insn=0x7ffff19a4000) at ../../gcc/combine.c:552
#12 0x00000000012aaba1 in try_combine (i3=0x7ffff19a4000, i2=0x7ffff1935d80,
i1=0x7ffff1935d40, i0=0x0, new_direct_jump_p=0x7fffffffde7c,
    last_combined_insn=0x7ffff19a4000) at ../../gcc/combine.c:3482
#13 0x00000000012a49d4 in combine_instructions (f=0x7ffff19698f8, nregs!5) at
../../gcc/combine.c:1396
#14 0x00000000012c7d52 in rest_of_handle_combine () at
../../gcc/combine.c:14107

combine_split_insns takes care to adjust reg_stat vector, but
regstat_n_sets_and_refs unfortunately is not a vector, and there is no function
to reallocate it and update for the added pseudos.
So, either we need to change that into a vector and add some entry point to
grow it, or guard all uses of REG_N_SETS etc. in the combiner with comparison
against maximum pseudo at the start of combine, something else?


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (9 preceding siblings ...)
  2015-01-26 16:34 ` dominiq at lps dot ens.fr
@ 2015-01-26 17:06 ` jakub at gcc dot gnu.org
  2015-01-26 17:38 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-26 17:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34580
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34580&action=edit
/mnt/jakub/jakub/gcc5-pr64776.patch

Untested fix.

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34581
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34581&action=edit
gcc5-pr64776.patch

Untested fix.


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (10 preceding siblings ...)
  2015-01-26 17:06 ` jakub at gcc dot gnu.org
@ 2015-01-26 17:38 ` dominiq at lps dot ens.fr
  2015-01-26 23:29 ` hubicka at gcc dot gnu.org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-26 17:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Created attachment 34581 [details]
> gcc5-pr64776.patch
>
> Untested fix.

The patch fixes the ICE and regtest cleanly (at least with

make -k check-gcc RUNTESTFLAGS="ipa.exp --target_board=unix'{-m32,-m64}'"

...
        === gcc Summary ===

# of expected passes        802
# of expected failures        6
# of unsupported tests        6

Thanks.


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (11 preceding siblings ...)
  2015-01-26 17:38 ` dominiq at lps dot ens.fr
@ 2015-01-26 23:29 ` hubicka at gcc dot gnu.org
  2015-01-27  9:23 ` jakub at gcc dot gnu.org
  2015-01-27  9:32 ` jakub at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-01-26 23:29 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #15 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
The patch is OK if it passes testing.


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (12 preceding siblings ...)
  2015-01-26 23:29 ` hubicka at gcc dot gnu.org
@ 2015-01-27  9:23 ` jakub at gcc dot gnu.org
  2015-01-27  9:32 ` jakub at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-27  9:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 27 09:21:26 2015
New Revision: 220156

URL: https://gcc.gnu.org/viewcvs?rev=220156&root=gcc&view=rev
Log:
    PR ipa/64776
    * cgraphunit.c (cgraph_node::expand_thunk): If not this_adjusting,
    handle the first argument in the same loop as all the other arguments.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c


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

* [Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14
  2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
                   ` (13 preceding siblings ...)
  2015-01-27  9:23 ` jakub at gcc dot gnu.org
@ 2015-01-27  9:32 ` jakub at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-27  9:32 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2015-01-27  9:32 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-24 17:01 [Bug ipa/64776] New: FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14 dominiq at lps dot ens.fr
2015-01-24 19:12 ` [Bug ipa/64776] " howarth at bromo dot med.uc.edu
2015-01-24 19:38 ` dominiq at lps dot ens.fr
2015-01-26 11:30 ` [Bug ipa/64776] [5 Regression] " rguenth at gcc dot gnu.org
2015-01-26 11:30 ` rguenth at gcc dot gnu.org
2015-01-26 15:00 ` jakub at gcc dot gnu.org
2015-01-26 15:38 ` dominiq at lps dot ens.fr
2015-01-26 15:41 ` dominiq at lps dot ens.fr
2015-01-26 15:45 ` dominiq at lps dot ens.fr
2015-01-26 16:06 ` marxin at gcc dot gnu.org
2015-01-26 16:34 ` dominiq at lps dot ens.fr
2015-01-26 17:06 ` jakub at gcc dot gnu.org
2015-01-26 17:38 ` dominiq at lps dot ens.fr
2015-01-26 23:29 ` hubicka at gcc dot gnu.org
2015-01-27  9:23 ` jakub at gcc dot gnu.org
2015-01-27  9:32 ` jakub 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).