[Bug rtl-optimization/25578] [4.2 Regression] gfortran version 4.2.0 20051227 - 144 new testsuite failures since 2005121

2006-01-04 Thread uttamp at us dot ibm dot com


--- Comment #10 from uttamp at us dot ibm dot com  2006-01-04 16:52 ---
*** Bug 25656 has been marked as a duplicate of this bug. ***


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25578




[Bug rtl-optimization/25578] [4.2 Regression] gfortran version 4.2.0 20051227 - 144 new testsuite failures since 2005121

2006-01-04 Thread uttamp at us dot ibm dot com


--- Comment #9 from uttamp at us dot ibm dot com  2006-01-04 16:51 ---
*** Bug 25657 has been marked as a duplicate of this bug. ***


-- 

uttamp at us dot ibm dot com changed:

   What|Removed |Added

 CC||uttamp at us dot ibm dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25578




[Bug rtl-optimization/25578] [4.2 Regression] gfortran version 4.2.0 20051227 - 144 new testsuite failures since 2005121

2006-01-03 Thread bonzini at gnu dot org


--- Comment #8 from bonzini at gnu dot org  2006-01-03 14:58 ---
patch committed


-- 

bonzini at gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25578




[Bug rtl-optimization/25578] [4.2 Regression] gfortran version 4.2.0 20051227 - 144 new testsuite failures since 2005121

2006-01-03 Thread bonzini at gcc dot gnu dot org


--- Comment #7 from bonzini at gnu dot org  2006-01-03 14:58 ---
Subject: Bug 25578

Author: bonzini
Date: Tue Jan  3 14:58:05 2006
New Revision: 109281

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109281
Log:
gcc:
2006-01-03  Paolo Bonzini  <[EMAIL PROTECTED]>

PR rtl-optimization/25578
* combine.c (combine_simplify_rtx, force_to_mode): Don't
pass a parameter to simplify_shift_const if changing ASHIFTRT
to LSHIFTRT.

gcc/testsuite:
2006-01-03  Paolo Bonzini  <[EMAIL PROTECTED]>

PR rtl-optimization/25578
* gcc.c-torture/execute/20060102-1.c: New testcase.


Added:
trunk/gcc/testsuite/gcc.c-torture/execute/20060102-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25578




[Bug rtl-optimization/25578] [4.2 Regression] gfortran version 4.2.0 20051227 - 144 new testsuite failures since 2005121

2005-12-29 Thread pinskia at gcc dot gnu dot org


--- Comment #6 from pinskia at gcc dot gnu dot org  2005-12-30 05:45 ---
(In reply to comment #5)
> int f(int x)
> {
>   return x >> 31 ? -1 : 1;
> }

And we are missing an optimization here.

Right now (well before this patch) we optimization it as:
(- (((unsigned)x)>>31))|1

we we can optimize it as:
(x>>31)|1

I will file a bug about this.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25578



[Bug rtl-optimization/25578] [4.2 Regression] gfortran version 4.2.0 20051227 - 144 new testsuite failures since 2005121

2005-12-28 Thread bonzini at gnu dot org


--- Comment #5 from bonzini at gnu dot org  2005-12-29 07:53 ---
I had an obvious fix yesterday but I had no time to bootstrap/regtest it.  So
if possible please don't revert...

The reduced C testcase is

int f(int x)
{
  return x >> 31 ? -1 : 1;
}

The MPFR_SIGN macro (invoked via mpfr_set) is miscompiled.

Paolo


-- 

bonzini at gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |bonzini at gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2005-12-27 21:13:33 |2005-12-29 07:53:52
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25578



[Bug rtl-optimization/25578] [4.2 Regression] gfortran version 4.2.0 20051227 - 144 new testsuite failures since 2005121

2005-12-28 Thread bonzini at gnu dot org


--- Comment #4 from bonzini at gnu dot org  2005-12-28 15:46 ---
I will be able to fix this at the beginning of January.  If anybody wants to
revert my combine.c patch before that, go ahead.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25578



[Bug rtl-optimization/25578] [4.2 Regression] gfortran version 4.2.0 20051227 - 144 new testsuite failures since 2005121

2005-12-27 Thread dir at lanl dot gov


--- Comment #3 from dir at lanl dot gov  2005-12-27 21:46 ---
This was after a complete new download and rebuild.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25578



[Bug rtl-optimization/25578] [4.2 Regression] gfortran version 4.2.0 20051227 - 144 new testsuite failures since 2005121

2005-12-27 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2005-12-27 21:13 ---
See 
http://gcc.gnu.org/ml/gcc-patches/2005-12/msg01828.html

This is not a fortran front-end issue but a miscompiling of the fortran
front-end.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||bonzini at gnu dot org
   Severity|normal  |blocker
 Status|UNCONFIRMED |NEW
  Component|fortran |rtl-optimization
 Ever Confirmed|0   |1
  GCC build triplet||powerpc-*-*
   GCC host triplet|powerpc-apple-darwin8.3.0   |powerpc-*-*
 GCC target triplet||powerpc-*-*
   Keywords||wrong-code
   Last reconfirmed|-00-00 00:00:00 |2005-12-27 21:13:33
   date||
Summary|gfortran  version 4.2.0 |[4.2 Regression] gfortran
   |20051227 - 144 new testsuite|version 4.2.0 20051227 - 144
   |failures since 2005121  |new testsuite failures since
   ||2005121
   Target Milestone|--- |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25578