This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR33713: remove -fforce-addr


On Thu, Nov 29, 2007 at 01:50:51PM -0400, Aldy Hernandez wrote:

> Index: explow.c
> ===================================================================
> --- explow.c	(revision 130511)
> +++ explow.c	(working copy)
[...]
> @@ -482,17 +485,6 @@ memory_address (enum machine_mode mode, 
>  	 the register is a valid address.  */
>        else
>  	x = force_reg (Pmode, x);
> -
> -      goto done;
> -
> -    win2:
> -      x = oldx;
> -    win:
> -      if (flag_force_addr && ! cse_not_expected && !REG_P (x))
> -	{
> -	  x = force_operand (x, NULL_RTX);
> -	  x = force_reg (Pmode, x);
> -	}
>      }
>  
>   done:

   This breaks at least m32c-unknown-elf:

make[2]: Entering directory `/home/rask/build/gcc-m32c-unknown-elf/gcc'
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H -I. -I. -I/home/rask/src/all/gcc -I/home/rask/src/all/gcc/. -I/home/rask/src/all/gcc/../include -I/home/rask/src/all/gcc/../libcpp/include  -I/home/rask/src/all/gcc/../libdecnumber -I/home/rask/src/all/gcc/../libdecnumber/dpd -I../libdecnumber    /home/rask/src/all/gcc/explow.c -o explow.o
/home/rask/src/all/gcc/explow.c: In function memory_address:
/home/rask/src/all/gcc/explow.c:448: error: label win used but not defined
make[2]: *** [explow.o] Error 1

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]