public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* RFA: Fix middle-end/46500
@ 2010-11-17  7:25 Joern Rennecke
  2010-11-17 15:50 ` Paul Koning
  2010-11-19  5:24 ` Updated: RFA: Fix middle-end/46500 (void * encapsulated) Joern Rennecke
  0 siblings, 2 replies; 27+ messages in thread
From: Joern Rennecke @ 2010-11-17  7:25 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

target.h includes tm.h in order to get the CUMULATIVE_ARGS type.
That means that target.h has become completely ineffective as a means
of hiding target specific implementation details while allowing access
to the functionality.
In fact, I found three front end files that included target.h so
that they could use macros from tm.h

The attached patch rectifies the situation by replacing CUMULATIVE_ARGS *
with cumulative_args_t, which is typedefed as void *, in the target hook
interface.

bootstrapped on i686-pc-linux-gnu .

cross-tested on i686-pc-linux-gnu configured with --enable-werror-always
using gcc (GCC) 4.6.0 20101111 (experimental) for the following targets:

alpha-linux-gnu hppa-linux-gnu mips-elf sh-elf arc-elf ia64-elf
mmix-knuth-mmixware sparc-elf arm-eabi iq2000-elf mn10300-elf spu-elf
avr-elf lm32-elf moxie-elf v850-elf bfin-elf m32c-elf pdp11-aout
vax-linux-gnu cris-elf m32r-elf xstormy16-elf ppc-elf fr30-elf m68k-elf
rx-elf frv-elf mcore-elf s390-linux-gnu h8300-elf mep-elf score-elf

The following three targets required manual intervention to get beyond
pre-existing warning issues:
crx-elf m68hc11-elf xtensa-elf

And finally, picochip-elf couldn't be built because of some per-existing
errors.

[-- Attachment #2: pr46500-20101117-0413.bz2 --]
[-- Type: application/x-bzip-compressed-tar, Size: 18498 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2011-06-16 10:00 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-17  7:25 RFA: Fix middle-end/46500 Joern Rennecke
2010-11-17 15:50 ` Paul Koning
2010-11-19  5:24 ` Updated: RFA: Fix middle-end/46500 (void * encapsulated) Joern Rennecke
2010-11-19 17:04   ` Paul Koning
2010-11-19 18:33   ` P.S.: " Joern Rennecke
2010-11-22 21:49     ` P.P.S.: " Joern Rennecke
2010-11-26  0:44   ` Ping: " Joern Rennecke
2011-05-07 15:53   ` Updated^2: " Joern Rennecke
2011-05-07 16:01     ` Joseph S. Myers
2011-05-07 16:35       ` Joseph S. Myers
2011-05-07 19:42         ` Joern Rennecke
2011-05-14 16:41           ` Ping: " Joern Rennecke
2011-05-14 16:44             ` Tobias Burnus
2011-05-22  8:12             ` Ping^2: " Joern Rennecke
2011-05-30  8:28               ` Ping^3: " Joern Rennecke
2011-05-30 10:16                 ` Andrew Haley
2011-06-04 13:22                 ` Ping^4: " Joern Rennecke
2011-06-14 10:03                   ` Ping^5: " Joern Rennecke
2011-06-14 10:40                     ` Richard Guenther
2011-06-14 11:28                       ` Joern Rennecke
2011-06-14 11:34                         ` Richard Guenther
2011-06-14 12:53                           ` Bernd Schmidt
2011-06-14 13:05                             ` Joern Rennecke
2011-06-14 13:43                               ` Bernd Schmidt
2011-06-14 14:27                                 ` Joern Rennecke
2011-06-16  6:22                             ` Updated^3: " Joern Rennecke
2011-06-16 10:29                               ` Bernd Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).