This is the mail archive of the gcc-bugs@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]

c++/7590: -Wpadded causes internal warning in g++


>Number:         7590
>Category:       c++
>Synopsis:       -Wpadded causes internal warning in g++
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 13 14:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Gary Barnes
>Release:        3.1.1
>Organization:
>Environment:
System: Linux smbear.attbi.com 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure --enable-languages=c,c++ --disable-shared
>Description:
	Use of -Wpadded leads to invariable internal error.
>How-To-Repeat:
geb 145: echo "int I = 0;" > foo.cc ; g++ -c foo.cc -g -Wpadded
<internal>:0: warning: padding struct size to alignment boundary
geb 146: 

3.0.1 did the same thing.

>Fix:
Don't use -Wpadded.

>Release-Note:
>Audit-Trail:
>Unformatted:


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