public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bkramer at ciprico dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/13983] New: packed attribute does not take effect when using typedef
Date: Mon, 02 Feb 2004 16:54:00 -0000	[thread overview]
Message-ID: <20040202165443.13983.bkramer@ciprico.com> (raw)

Reading specs from
/devel/new_compiler/engsrc/tools/linux/lib/gcc-lib/powerpc-wrs-vxworks/3.4.0/specs
Configured with: ../../src/gcc/configure --target=powerpc-wrs-vxworks
--prefix=/devel/gcc-vxworks --enable-languages=c,c++ --enable-thread=vxworks
--with-headers=/devel/Tornado/target/h --with-gnu-ld --with-gnu-as
--enable-altivec --enable-long-long
Thread model: vxworks
gcc version 3.4.0 20040130 (prerelease)
 /devel/new_compiler/engsrc/tools/linux/bin/../libexec/gcc/powerpc-wrs-vxworks/3.4.0/cc1plus -E -quiet -nostdinc -v -I/devel/new_compiler/engsrc/tools/Tornado/target/config/all -I/devel/new_compiler/engsrc/tools/Tornado/target/src/config -I/devel/new_compiler/engsrc/tools/Tornado/target/src/drv -I/devel/new_compiler/engsrc/tools/Tornado/target/h -I/devel/new_compiler/engsrc/tools/Tornado/target/h/c++/3.4.0-O2 -iprefix /devel/new_compiler/engsrc/tools/linux/bin/../lib/gcc/powerpc-wrs-vxworks/3.4.0/ -isystem /devel/new_compiler/engsrc/tools/linux/lib/gcc-lib/include -isystem /devel/new_compiler/engsrc/tools/linux/powerpc-wrs-vxworks/bin/include -DCPU_FAMILY=PPC -D__ppc -D__EABI__ -DCPU=PPC603 -D__hardfp -DVXWORKS -DROM_SIZE=0x00080000 -DRAM_LOW_ADRS=0x00010000 -DRAM_HIGH_ADRS=0x01000000 Test.cpp -mcpu=603 -mstrict-align -mstrict-align -Wall -fno-exceptions -fno-builtin -fno-exceptions -fworking-directory -o Test.ii
ignoring nonexistent directory
"/devel/new_compiler/engsrc/tools/linux/lib/gcc-lib/include"
ignoring nonexistent directory
"/devel/new_compiler/engsrc/tools/linux/powerpc-wrs-vxworks/bin/include"
ignoring nonexistent directory
"/devel/new_compiler/engsrc/tools/Tornado/target/h/c++/3.4.0-O2"
#include "..." search starts here:
#include <...> search starts here:
 /devel/new_compiler/engsrc/tools/Tornado/target/config/all
 /devel/new_compiler/engsrc/tools/Tornado/target/src/config
 /devel/new_compiler/engsrc/tools/Tornado/target/src/drv
 /devel/new_compiler/engsrc/tools/Tornado/target/h
End of search list.
 /devel/new_compiler/engsrc/tools/linux/bin/../libexec/gcc/powerpc-wrs-vxworks/3.4.0/cc1plus -fpreprocessed Test.ii -mcpu=603 -mstrict-align -quiet -dumpbase Test.cpp -mstrict-align -auxbase Test -g -gdwarf-2 -Wall -version -fno-exceptions -fno-builtin -fno-exceptions -o Test.s
GNU C++ version 3.4.0 20040130 (prerelease) (powerpc-wrs-vxworks)
        compiled by GNU C version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=63140
Test.cpp: In function `void test()':
Test.cpp:26: warning: ignoring packed attribute on unpacked non-POD field
`TempStructType test()::<anonymous struct>::tmp3'
 /devel/new_compiler/engsrc/tools/linux/powerpc-wrs-vxworks/bin/as -mppc -V -Qy
-mbig -o Test.o Test.s
GNU assembler version 2.13.1 (powerpc-wrs-vxworks) using BFD version 2.13.1

-- 
           Summary: packed attribute does not take effect when using typedef
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bkramer at ciprico dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-wrs-vxworks


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


             reply	other threads:[~2004-02-02 16:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-02 16:54 bkramer at ciprico dot com [this message]
2004-02-02 16:56 ` [Bug c++/13983] " bkramer at ciprico dot com
2004-02-02 17:02 ` [Bug c++/13983] no warning on some non-POD struct with packed attribute pinskia at gcc dot gnu dot org
2004-03-27  0:08 ` mdorey at bluearc dot com
2004-03-29 21:27 ` mdorey at bluearc dot com
2004-03-29 22:16 ` pinskia at gcc dot gnu dot org
2005-04-26 19:53 ` mdorey at bluearc dot com
2005-09-18  2:06 ` pinskia 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=20040202165443.13983.bkramer@ciprico.com \
    --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).