[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-11-25 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

--- Comment #15 from ro at CeBiTec dot Uni-Bielefeld.DE  ---
> --- Comment #14 from Martin Jambor  ---
> (In reply to r...@cebitec.uni-bielefeld.de from comment #12)
>> FAIL: gfortran.fortran-torture/execute/pr32604.f90 execution,  -O2
>> -fbounds-check 
>> 
>
> I did not find this failure in your latest test results
> (http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01857.html) and so I
> assume it has been also fixed by any of the subsequent patches
> addressing other issues.

Right, it's gone in this weekend's bootstraps.

Rainer


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-11-25 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

--- Comment #14 from Martin Jambor  ---
(In reply to r...@cebitec.uni-bielefeld.de from comment #12)
> FAIL: gfortran.fortran-torture/execute/pr32604.f90 execution,  -O2
> -fbounds-check 
> 

I did not find this failure in your latest test results
(http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01857.html) and so I
assume it has been also fixed by any of the subsequent patches
addressing other issues.


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-11-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

--- Comment #13 from Martin Jambor  ---
(In reply to r...@cebitec.uni-bielefeld.de from comment #12)
> > --- Comment #11 from Martin Jambor  ---
> [...]
> > If anyone is willing to test the patch on any platform but especially
> > on those which I could not, I'd be very grateful.  Thanks.
> 
> I've now regression-tested the patch on sparc-sun-solaris2.11.
> Bootstrap works and I find just a single regression:
> 
> FAIL: gfortran.fortran-torture/execute/pr32604.f90 execution,  -O2
> -fbounds-check 
> 
> which is reproducible.
> 
>   Rainer

Thanks a lot.  I committed the patch a few moments before reading your
comment so I suppose trunk now suffers from this failure.  If so, can
you please open a bug report?

I tried to reproduce it on gcc54 on the compile farm (sparc64-linux)
but so far I have failed to even build the gcc itself there :-/

[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-11-12 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

--- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE  ---
> --- Comment #11 from Martin Jambor  ---
[...]
> If anyone is willing to test the patch on any platform but especially
> on those which I could not, I'd be very grateful.  Thanks.

I've now regression-tested the patch on sparc-sun-solaris2.11.
Bootstrap works and I find just a single regression:

FAIL: gfortran.fortran-torture/execute/pr32604.f90 execution,  -O2
-fbounds-check 

which is reproducible.

Rainer


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-11-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

--- Comment #11 from Martin Jambor  ---
I have re-submitted my patch in which this bug is fixed, you can find
it at http://gcc.gnu.org/ml/gcc-patches/2013-11/msg00598.html

I have verified the patch bootstraps on i686-linux (reported by Jakub
in the mailing list), ppc64-linux (some problem reported by David in
comment #8) and ia64-linux (no problem reported but anyway), however I
could not try the same on Sparc or Solaris (even though failure was
reported by Rainer in comment #1) because I do not have access to
either of them (oh how I wish that sparcs on the compile farm came
back).

Similarly, I have verified that the original reported failure on
cris-elf cross-compiler goes away, as does the problem on sh-none-elf
cross (the one from comment #4).  However, even without the fix I was
not able to reproduce the failure on arm reported in comment #6.

If anyone is willing to test the patch on any platform but especially
on those which I could not, I'd be very grateful.  Thanks.


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-11-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

Richard Biener  changed:

   What|Removed |Added

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

--- Comment #10 from Richard Biener  ---
Fixed.


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-10-31 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

--- Comment #9 from Hans-Peter Nilsson  ---
Fixed as far as I'm concerned.
Martin, you're assigned so I'll let you close it if you please.


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-10-31 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

David Edelsohn  changed:

   What|Removed |Added

 Target|cris-axis-elf,  |cris-axis-elf,
   |sparc-sun-solaris2.11   |sparc-sun-solaris2.11
   |sh*-*-*,arm-none-eabi,arm-n |sh*-*-*,arm-none-eabi,arm-n
   |one-linux-gnueabihf |one-linux-gnueabihf,powerpc
   ||*-*-*
 CC||dje at gcc dot gnu.org,
   ||pthaugen at gcc dot gnu.org

--- Comment #8 from David Edelsohn  ---
It also had broken PowerPC.


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-10-31 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

--- Comment #7 from Martin Jambor  ---
Author: jamborm
Date: Thu Oct 31 13:39:26 2013
New Revision: 204254

URL: http://gcc.gnu.org/viewcvs?rev=204254&root=gcc&view=rev
Log:
2013-10-31  Martin Jambor  

PR rtl-optimization/58934
Revert:
2013-10-30  Martin Jambor  
PR rtl-optimization/10474
* ira.c (find_moveable_pseudos): Do not calculate dominance info
nor df analysis.
(interesting_dest_for_shprep): New function.
(split_live_ranges_for_shrink_wrap): Likewise.
(ira): Calculate dominance info and df analysis. Call
split_live_ranges_for_shrink_wrap.

testsuite/
* gcc.dg/pr10474.c: New testcase.
* gcc.dg/ira-shrinkwrap-prep-1.c: Likewise.
* gcc.dg/ira-shrinkwrap-prep-2.c: Likewise.


Removed:
trunk/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c
trunk/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c
trunk/gcc/testsuite/gcc.dg/pr10474.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira.c
trunk/gcc/testsuite/ChangeLog


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-10-31 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

--- Comment #6 from Ramana Radhakrishnan  ---
Created attachment 31121
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31121&action=edit
arm-none-eabi reduced testcase

./cc1 -O2 -g -mthumb -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp reduced.c


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-10-31 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

Martin Jambor  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jamborm at gcc dot 
gnu.org

--- Comment #5 from Martin Jambor  ---
I'll revert the patch momentarily. Sorry for the trouble and thanks for any
testcases.


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-10-31 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

chrbr at gcc dot gnu.org changed:

   What|Removed |Added

 CC||chrbr at gcc dot gnu.org

--- Comment #4 from chrbr at gcc dot gnu.org ---
Created attachment 31119
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31119&action=edit
SH testcase

yep, Also fails to build the sh-none-elf newlib. Attached case to reproduce

cc1 -O2  fgets.i  -quiet -fno-builtin
fgets.i: In function '_fgets_r':
fgets.i:826:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 162 163 161 4 (set (reg/v/f:SI 215 [orig:192 buf ] [192])
(reg/v/f:SI 5 r5 [orig:192 buf ] [192])) 256 {movsi_i}
 (nil))
fgets.i:826:1: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:411


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-10-31 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

Ramana Radhakrishnan  changed:

   What|Removed |Added

 Target|cris-axis-elf,  |cris-axis-elf,
   |sparc-sun-solaris2.11   |sparc-sun-solaris2.11
   |sh*-*-* |sh*-*-*,arm-none-eabi,arm-n
   ||one-linux-gnueabihf
 CC||ramana at gcc dot gnu.org

--- Comment #3 from Ramana Radhakrishnan  ---
And arm-none-eabi builds in newlib. Let's join the party.

./cc1 -O2 -mthumb -O2 -g -fno-builtin -fshort-enums -S -mcpu=cortex-a9
-mfpu=neon -mfloat-abi=softfp reduced.c 



#>$GCCDIR/configure --target=arm-none-eabi --with-languages=c

Breaks glibc builds for arm-none-linux-gnueabihf


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-10-31 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

Oleg Endo  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-10-31
 CC||olegendo at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #2 from Oleg Endo  ---
Let me join the club with an SH failure when building libsupc++:

/gcc-trunk2/libstdc++-v3/libsupc++/vmi_class_type_info.cc:68:1: error: insn
does not satisfy its constraints:
 }
 ^
(insn 174 173 175 21 (set (reg:SI 7 r7)
(reg/v/f:SI 260 [orig:223 src_type ] [223]))
../../../../../gcc-trunk2/libstdc++-v3/libsupc++/vmi_class_type_info.cc:58 256
{movsi_i}
 (nil))
../../../../../gcc-trunk2/libstdc++-v3/libsupc++/vmi_class_type_info.cc:68:1:
internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
0x879ab97 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcc-trunk2/gcc/rtl-error.c:109
0x879abd5 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../gcc-trunk2/gcc/rtl-error.c:120
0x8747aba reload_cse_simplify_operands
../../gcc-trunk2/gcc/postreload.c:411
0x874830a reload_cse_simplify
../../gcc-trunk2/gcc/postreload.c:123
0x874830a reload_cse_regs_1
../../gcc-trunk2/gcc/postreload.c:220
0x8749ac2 reload_cse_regs
../../gcc-trunk2/gcc/postreload.c:68
0x8749ac2 rest_of_handle_postreload
../../gcc-trunk2/gcc/postreload.c:2332
0x8749ac2 execute
../../gcc-trunk2/gcc/postreload.c:2368
Please submit a full bug report,


[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-10-31 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934

Rainer Orth  changed:

   What|Removed |Added

 Target|cris-axis-elf   |cris-axis-elf,
   ||sparc-sun-solaris2.11
 CC||ro at gcc dot gnu.org
   Target Milestone|--- |4.9.0

--- Comment #1 from Rainer Orth  ---
I'm seeing a similar error in a Solaris 11/SPARC bootstrap:

libtool: compile:  /var/gcc/regression/trunk/11-gcc/build/./gcc/xgcc
-B/var/gcc/regression/trunk/11-gcc/build/./gcc/
-B/vol/gcc/sparc-sun-solaris2.11/bin/ -B/vol/gcc/sparc-sun-solaris2.11/lib/
-isystem /vol/gcc/sparc-sun-solaris2.11/include -isystem
/vol/gcc/sparc-sun-solaris2.11/sys-include -DHAVE_CONFIG_H -I.
-I/vol/gcc/src/hg/trunk/local/libgomp
-I/vol/gcc/src/hg/trunk/local/libgomp/config/posix
-I/vol/gcc/src/hg/trunk/local/libgomp -Wall -pthread -Werror -g -O2 -pthread
-MT env.lo -MD -MP -MF .deps/env.Tpo -c
/vol/gcc/src/hg/trunk/local/libgomp/env.c  -fPIC -DPIC -o .libs/env.o
/vol/gcc/src/hg/trunk/local/libgomp/env.c: In function 'parse_one_place':
/vol/gcc/src/hg/trunk/local/libgomp/env.c:548:1: error: insn does not satisfy
its constraints:
 }
 ^
(insn 1271 176 1270 17 (set (reg/v/f:SI 757 [orig:406 stridep ] [406])
(reg/v/f:SI 27 %i3 [orig:406 stridep ] [406])) 63 {*movsi_insn}
 (nil))
/vol/gcc/src/hg/trunk/local/libgomp/env.c:548:1: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:411
0xa0642f _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/vol/gcc/src/hg/trunk/local/gcc/rtl-error.c:109
0xa0649b _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/vol/gcc/src/hg/trunk/local/gcc/rtl-error.c:120
0x95d1f7 reload_cse_simplify_operands
/vol/gcc/src/hg/trunk/local/gcc/postreload.c:411
0x95c32b reload_cse_simplify
/vol/gcc/src/hg/trunk/local/gcc/postreload.c:123
0x95c857 reload_cse_regs_1
/vol/gcc/src/hg/trunk/local/gcc/postreload.c:220
0x95c047 reload_cse_regs
/vol/gcc/src/hg/trunk/local/gcc/postreload.c:68
0x9646eb rest_of_handle_postreload
/vol/gcc/src/hg/trunk/local/gcc/postreload.c:2332
0x9647d7 execute
/vol/gcc/src/hg/trunk/local/gcc/postreload.c:2368

  Rainer