[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #17 from Jakub Jelinek  ---
Fixed.


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

--- Comment #16 from Jakub Jelinek  ---
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


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

Jan Hubicka  changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu.org

--- Comment #15 from Jan Hubicka  ---
The patch is OK if it passes testing.


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

--- Comment #14 from Dominique d'Humieres  ---
> 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 passes802
# of expected failures6
# of unsupported tests6

Thanks.


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

Jakub Jelinek  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  ---
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  ---
Created attachment 34581
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34581&action=edit
gcc5-pr64776.patch

Untested fix.


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

--- Comment #10 from Dominique d'Humieres  ---

> 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
 }
 ^
 
unit size 
align 32 symtab 0 alias set -1 canonical type 0x1430203f0 precision
32
pointer_to_this >
sizes-gimplified SC
size 
unit size 
align 32 symtab 0 alias set -1 canonical type 0x143020d20 context

pointer_to_this >
used SC file /opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c line 9 col
38 size  unit size 
align 32 context  arg-type
>
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  ---
/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
 }
 ^
 
unit size 
align 32 symtab 0 alias set -1 canonical type 0x1430203f0 precision
32
pointer_to_this >
sizes-gimplified SC
size 
unit size 
align 32 symtab 0 alias set -1 canonical type 0x143020d20 context

pointer_to_this >
used SC file /opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c line 9 col
38 size  unit size 
align 32 context  arg-type
>
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 
>  a écrit :
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776
> 
> --- Comment #9 from Martin Liška  ---
> 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.

[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

--- Comment #10 from Dominique d'Humieres  ---

> 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
 }
 ^
 
unit size 
align 32 symtab 0 alias set -1 canonical type 0x1430203f0 precision
32
pointer_to_this >
sizes-gimplified SC
size 
unit size 
align 32 symtab 0 alias set -1 canonical type 0x143020d20 context

pointer_to_this >
used SC file /opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c line 9 col
38 size  unit size 
align 32 context  arg-type
>
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  ---
/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
 }
 ^
 
unit size 
align 32 symtab 0 alias set -1 canonical type 0x1430203f0 precision
32
pointer_to_this >
sizes-gimplified SC
size 
unit size 
align 32 symtab 0 alias set -1 canonical type 0x143020d20 context

pointer_to_this >
used SC file /opt/gcc/_clean/gcc/testsuite/gcc.dg/ipa/pr64307.c line 9 col
38 size  unit size 
align 32 context  arg-type
>
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 
>  a écrit :
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776
> 
> --- Comment #9 from Martin Liška  ---
> 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.

[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

--- Comment #9 from Martin Liška  ---
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

[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

--- Comment #8 from Dominique d'Humieres  ---
Sorry for the duplicate comments 5 and 6. Bugzilla is very slow and I got a
confusing message about gateway timed out.


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

--- Comment #7 from Dominique d'Humieres  ---
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.


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

--- Comment #6 from Dominique d'Humieres  ---
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.


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

--- Comment #5 from Dominique d'Humieres  ---
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.


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek  ---
Can you attach preprocessed source or say -fdump-ipa-whole-program-all
-fdump-ipa-icf-all dumps from the --enable-checking=release build?


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug ipa/64776] [5 Regression] FAIL: gcc.dg/ipa/pr64307.c (internal compiler error) on x86_64-apple-darwin14

2015-01-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64776

Richard Biener  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  ---
Latent bug for other targets I suppose (ICF related).  'a' is probably of
gimple register type.