re PR target/30406 ([4.1 only] ICE in LOGICAL(8) functions)
authorFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 4 Mar 2007 08:10:25 +0000 (08:10 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 4 Mar 2007 08:10:25 +0000 (08:10 +0000)
commit7348aa7faf2ccbea2aae6726b2131fe02fc75cd4
tree9cd84776e5e5def1cb82db697d37a433ab7f2fab
parent3d1f465aff3484eafd4e10e38bc7f7331a43d0dd
re PR target/30406 ([4.1 only] ICE in LOGICAL(8) functions)

PR target/30406

* config/rs6000/rs6000.c (rs6000_function_value): Look at bit size
instead of precision.

* gfortran.dg/logical_3.f90: New test.

From-SVN: r122523
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/logical_3.f90 [new file with mode: 0644]