Bug 35911 - [4.4 Regression] Building m32c-elf cross compiler fails
Summary: [4.4 Regression] Building m32c-elf cross compiler fails
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: 4.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2008-04-11 19:25 UTC by Mike Stein
Modified: 2020-05-13 07:45 UTC (History)
3 users (show)

See Also:
Host: x86_64-linux-gnu
Target: m32c-elf
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Stein 2008-04-11 19:25:34 UTC
Hi,
building m32c-elf fails here:

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/mstein/svn/trunk/gcc -I/home/mstein/svn/trunk/gcc/. -I/home/mstein/svn/trunk/gcc/../include -I/home/mstein/svn/trunk/gcc/../libcpp/include -I/opt/cfarm/mpfr-2.3.1/include -I/home/mstein/svn/trunk/gcc/../libdecnumber -I/home/mstein/svn/trunk/gcc/../libdecnumber/dpd -I../libdecnumber  \
                /home/mstein/svn/trunk/gcc/config/m32c/m32c.c -o m32c.o
/home/mstein/svn/trunk/gcc/config/m32c/m32c.c: In function ‘m32c_pushm_popm’:
/home/mstein/svn/trunk/gcc/config/m32c/m32c.c:1284: error: ‘struct function’ has no member named ‘return_rtx’
/home/mstein/svn/trunk/gcc/config/m32c/m32c.c:1285: error: ‘struct function’ has no member named ‘return_rtx’
/home/mstein/svn/trunk/gcc/config/m32c/m32c.c:1288: error: ‘struct function’ has no member named ‘return_rtx’
make[2]: *** [m32c.o] Error 1
Comment 1 Richard Biener 2008-04-11 21:24:48 UTC
Honza?
Comment 2 Andrew Pinski 2008-12-28 07:01:28 UTC
Fixed a long time ago by:
r134240 | hubicka | 2008-04-13 10:05:31 -0400 (Sun, 13 Apr 2008) | 2 lines

        * m32.c (m32c_pushm_popm): Use crtl->retrun_rtx.