[Bug ipa/64153] [5.0 regression] r218205 miscompiles libgomp

2015-04-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64153

--- Comment #8 from Marek Polacek mpolacek at gcc dot gnu.org ---
Author: mpolacek
Date: Thu Apr 30 18:41:33 2015
New Revision: 222653

URL: https://gcc.gnu.org/viewcvs?rev=222653root=gccview=rev
Log:
* g++.dg/ipa/pr63551.C: New test.

Backported from mainline
2014-12-15  Jakub Jelinek  ja...@redhat.com

PR tree-optimization/63551
* gcc.dg/ipa/pr63551.c (fn2): Use 4294967286U instead of
4294967286 to avoid warnings.

2014-12-03  Martin Jambor  mjam...@suse.cz

PR ipa/64153
* ipa-inline-analysis.c (evaluate_conditions_for_known_args): Check
type sizes before view_converting.

2014-12-01  Martin Jambor  mjam...@suse.cz

PR ipa/63551
* ipa-inline-analysis.c (evaluate_conditions_for_known_args): Convert
value of the argument to the type of the value in the condition.

* gcc.dg/ipa/pr63551.c: New test.
* gcc.dg/ipa/pr64041.c: Likewise.

Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/ipa/pr63551.C
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/ipa/pr63551.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/ipa/pr64041.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/ipa-inline-analysis.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


[Bug ipa/64153] [5.0 regression] r218205 miscompiles libgomp

2014-12-03 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64153

--- Comment #4 from Andreas Schwab sch...@linux-m68k.org ---
This fixes all yesterday's testsuite regression.


[Bug ipa/64153] [5.0 regression] r218205 miscompiles libgomp

2014-12-03 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64153

--- Comment #5 from Martin Jambor jamborm at gcc dot gnu.org ---
Author: jamborm
Date: Wed Dec  3 14:05:51 2014
New Revision: 218316

URL: https://gcc.gnu.org/viewcvs?rev=218316root=gccview=rev
Log:
2014-12-03  Martin Jambor  mjam...@suse.cz

PR ipa/64153
* ipa-inline-analysis.c (evaluate_conditions_for_known_args): Check
type sizes before view_converting.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-inline-analysis.c


[Bug ipa/64153] [5.0 regression] r218205 miscompiles libgomp

2014-12-03 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64153

--- Comment #6 from Martin Jambor jamborm at gcc dot gnu.org ---
Author: jamborm
Date: Wed Dec  3 15:17:37 2014
New Revision: 218320

URL: https://gcc.gnu.org/viewcvs?rev=218320root=gccview=rev
Log:
2014-12-03  Martin Jambor  mjam...@suse.cz

PR ipa/64153
* ipa-inline-analysis.c (evaluate_conditions_for_known_args): Check
type sizes before view_converting.


Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/ipa-inline-analysis.c


[Bug ipa/64153] [5.0 regression] r218205 miscompiles libgomp

2014-12-03 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64153

Martin Jambor jamborm at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #7 from Martin Jambor jamborm at gcc dot gnu.org ---
(In reply to Andreas Schwab from comment #4)
 This fixes all yesterday's testsuite regression.

Thanks a lot.  I have committed the fix so this is now resolved.


[Bug ipa/64153] [5.0 regression] r218205 miscompiles libgomp

2014-12-02 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64153

Andreas Schwab sch...@linux-m68k.org changed:

   What|Removed |Added

   Target Milestone|--- |5.0


[Bug ipa/64153] [5.0 regression] r218205 miscompiles libgomp

2014-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64153

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug ipa/64153] [5.0 regression] r218205 miscompiles libgomp

2014-12-02 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64153

Martin Jambor jamborm at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2014-12-02
 CC||jamborm at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |jamborm at gcc dot 
gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Martin Jambor jamborm at gcc dot gnu.org ---
Mine.


[Bug ipa/64153] [5.0 regression] r218205 miscompiles libgomp

2014-12-02 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64153

--- Comment #2 from Martin Jambor jamborm at gcc dot gnu.org ---
Created attachment 34171
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34171action=edit
Untested fix

I'm testing this fix - but on a x86_64-linux, together with other stuff, just
to be sure, I have debugged this only using a cross compiler, so any testing on
real affected hw is welcome.


[Bug ipa/64153] [5.0 regression] r218205 miscompiles libgomp

2014-12-02 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64153

--- Comment #3 from Martin Jambor jamborm at gcc dot gnu.org ---
I've posted the patch to the mailing list:

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