public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/38240] Vector type definitions not compatible with attribute target
Date: Mon, 08 Dec 2008 17:15:00 -0000	[thread overview]
Message-ID: <20081208171422.3298.qmail@sourceware.org> (raw)
In-Reply-To: <bug-38240-119@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from rth at gcc dot gnu dot org  2008-12-08 17:14 -------
Subject: Bug 38240

Author: rth
Date: Mon Dec  8 17:12:55 2008
New Revision: 142556

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142556
Log:
        PR 38240
        * tree.h (TYPE_MODE): Invoke vector_type_mode when needed.
        (SET_TYPE_MODE): New.
        * c-decl.c (parser_xref_tag): Use it.
        (finish_enum): Likewise.
        * tree.c (build_pointer_type_for_mode): Likewise.
        (build_reference_type_for_mode, build_index_type): Likewise.
        (build_range_type, make_vector_type): Likewise.
        (build_common_tree_nodes_2): Likewise.
        * stor-layout.c (compute_record_mode): Likewise.
        (finalize_type_size, layout_type, make_fract_type): Likewise.
        (make_accum_type, initialize_sizetypes): Likewise.
        (vector_type_mode): New.
        * function.c (allocate_struct_function): Call
        invoke_set_current_function_hook before querying anything else.

        * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Add avx.

cp/
        * class.c (finish_struct_bits): Use SET_TYPE_MODE.
        * decl.c (record_unknown_type): Likewise.
        (start_enum, finish_enum): Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr38240.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c
    trunk/gcc/config/i386/i386.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/decl.c
    trunk/gcc/function.c
    trunk/gcc/stor-layout.c
    trunk/gcc/tree.c
    trunk/gcc/tree.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38240


  parent reply	other threads:[~2008-12-08 17:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-23 18:57 [Bug middle-end/38240] New: " rth at gcc dot gnu dot org
2008-11-23 18:58 ` [Bug middle-end/38240] " rth at gcc dot gnu dot org
2008-11-23 18:59 ` rth at gcc dot gnu dot org
2008-12-08 17:15 ` rth at gcc dot gnu dot org [this message]
2008-12-26 22:28 ` reichelt at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081208171422.3298.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).