[Bug c++/41183] New: internal compiler error: Segmentation fault compiling chromium

2009-08-28 Thread hdasch at gmail dot com
Error messages:

In file included from third_party/WebKit/WebCore/svg/SVGElement.h:28,
 from
third_party/WebKit/WebCore/svg/SVGExternalResourcesRequired.h:28,
 from
third_party/WebKit/WebCore/svg/SVGExternalResourcesRequired.cpp:27:
third_party/WebKit/WebCore/svg/SVGAnimatedProperty.h: In constructor
‘WebCore::SVGAnimatedProperty::SVGAnimatedProperty(const OwnerTypeArg*, const
WebCore::QualifiedName&, const T1&) [with T1 = bool, OwnerTypeArg =
WebCore::SVGExternalResourcesRequired, AnimatedTypeArg = bool, const char*
TagName = ((const char*)((char*)(&
WebCore::SVGExternalResourcesRequiredIdentifier))), const char* PropertyName =
((const char*)((char*)(&
WebCore::SVGNames::externalResourcesRequiredAttrString)))]’:
third_party/WebKit/WebCore/svg/SVGAnimatedProperty.h:215: internal compiler
error: Segmentation fault

Command line:
g++ -pthread -fno-exceptions -fno-strict-aliasing -fno-strict-aliasing \
 -pthread -O2 -g -fno-rtti -fno-threadsafe-statics -c\
 SVGExternalResourcesRequired.ii

Compiler build configuration:
  ../configure --prefix=/usr --enable-shared \
  --enable-languages=c,c++,fortran,objc,obj-c++ \
  --enable-threads=posix --mandir=/usr/share/man \
  --infodir=/usr/share/info \
  --enable-__cxa_atexit  --disable-multilib --libdir=/usr/lib \
  --libexecdir=/usr/lib --enable-clocale=gnu \
  --disable-libstdcxx-pch \
  --with-tune=generic


-- 
   Summary: internal compiler error: Segmentation fault compiling
chromium
   Product: gcc
   Version: 4.4.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hdasch at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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



[Bug c++/41183] internal compiler error: Segmentation fault compiling chromium

2009-08-28 Thread hdasch at gmail dot com


--- Comment #1 from hdasch at gmail dot com  2009-08-28 16:32 ---
Created an attachment (id=18444)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18444&action=view)
test case: preprocessor output

Compressed to fit attachment size constraints.


-- 


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



[Bug c++/41194] New: __attribute__ ((__gnu_inline__)) yields x86_64-unknown-linux-gnu when compiled with -O0, but not with -O1

2009-08-30 Thread hdasch at gmail dot com
Error messages:

/tmp/ccgtrVyI.o: In function `Color':
/home/chromium/chromium/src/third_party/WebKit/WebCore/platform/ColorData.gperf:254:
undefined reference to `findColor(char const*, unsigned int)'
/home/chromium/chromium/src/third_party/WebKit/WebCore/platform/ColorData.gperf:254:
undefined reference to `findColor(char const*, unsigned int)'
collect2: ld returned 1 exit status


Command line:

g++  -O0 -g  Color-stripped.ii

Compiler build configuration:
  ../configure --prefix=/usr --enable-shared \
  --enable-languages=c,c++,fortran,objc,obj-c++ \
  --enable-threads=posix --mandir=/usr/share/man \
  --infodir=/usr/share/info \
  --enable-__cxa_atexit  --disable-multilib --libdir=/usr/lib \
  --libexecdir=/usr/lib --enable-clocale=gnu \
  --disable-libstdcxx-pch \
  --with-tune=generic

The symbols resolve correctly if compiled with "-O1" or if "__attribute__
((__gnu_inline__))" is removed from function definition.


-- 
   Summary: __attribute__ ((__gnu_inline__)) yields x86_64-unknown-
linux-gnu when compiled with -O0, but not with -O1
   Product: gcc
   Version: 4.4.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hdasch at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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



[Bug c++/41194] __attribute__ ((__gnu_inline__)) yields x86_64-unknown-linux-gnu when compiled with -O0, but not with -O1

2009-08-30 Thread hdasch at gmail dot com


--- Comment #1 from hdasch at gmail dot com  2009-08-30 20:25 ---
Created an attachment (id=18452)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18452&action=view)
Preprocessed test case.


-- 


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