public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42569]  New: ICE in cp_parser_parenthesized_expression_list at cp/parser.c
@ 2010-01-01  0:37 dirtyepic at gentoo dot org
  2010-01-01  0:38 ` [Bug c++/42569] " dirtyepic at gentoo dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dirtyepic at gentoo dot org @ 2010-01-01  0:37 UTC (permalink / raw)
  To: gcc-bugs

while building gst-plugins-taglib-0.10.17:

gstapev2mux.cc: In function 'void add_one_tag(const GstTagList*, const gchar*,
void*)':
gstapev2mux.cc:118:62: error: cannot call constructor 'TagLib::String::String'
directly
gstapev2mux.cc:118:62: note: for a function-style cast, remove the redundant
'::String'
gstapev2mux.cc:127:62: error: cannot call constructor 'TagLib::String::String'
directly
gstapev2mux.cc:127:62: note: for a function-style cast, remove the redundant
'::String'
gstapev2mux.cc:127:62: error: no matching function for call to
'TagLib::String::String(char*&, TagLib::String::Type, char*&,
TagLib::String::Type)'
/usr/include/taglib/tstring.h:164:5: note: candidates are:
TagLib::String::String(const TagLib::ByteVector&, TagLib::String::Type)
/usr/include/taglib/tstring.h:156:5: note:                
TagLib::String::String(const char*, TagLib::String::Type)
/usr/include/taglib/tstring.h:147:5: note:                
TagLib::String::String(wchar_t, TagLib::String::Type)
/usr/include/taglib/tstring.h:142:5: note:                
TagLib::String::String(char, TagLib::String::Type)
/usr/include/taglib/tstring.h:134:5: note:                
TagLib::String::String(const wchar_t*, TagLib::String::Type)
/usr/include/taglib/tstring.h:129:5: note:                
TagLib::String::String(const TagLib::wstring&, TagLib::String::Type)
/usr/include/taglib/tstring.h:124:5: note:                
TagLib::String::String(const std::string&, TagLib::String::Type)
/usr/include/taglib/tstring.h:116:5: note:                
TagLib::String::String(const TagLib::String&)
/usr/include/taglib/tstring.h:109:5: note:                
TagLib::String::String()
gstapev2mux.cc:136:44: internal compiler error: vector VEC(tree,base) push
domain error, in cp_parser_parenthesized_expression_list at cp/parser.c:5326

Changing the code as the notes suggest allows it to compile, but it shouldn't
ICE in any case.

4.4.2 works.

$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.0-pre9999/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0-pre9999/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.5.0_pre9999/work/gcc-4.5.0-9999/configure
--prefix=/usr --bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/4.5.0-pre9999
--includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre9999/include
--datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre9999
--mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre9999/man
--infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre9999/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre9999/include/g++-v4
--host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
--disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-nls
--with-system-zlib --disable-checking --disable-werror --enable-secureplt
--enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp
--enable-cld
--with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre9999/python
--disable-libgcj --enable-languages=c,c++ --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo SVN'
--enable-lto --enable-checking
Thread model: posix
gcc version 4.5.0-pre9999 20091230 (experimental) rev. 155514 (Gentoo SVN)


-- 
           Summary: ICE in cp_parser_parenthesized_expression_list at
                    cp/parser.c
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dirtyepic at gentoo dot org


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


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

* [Bug c++/42569] ICE in cp_parser_parenthesized_expression_list at cp/parser.c
  2010-01-01  0:37 [Bug c++/42569] New: ICE in cp_parser_parenthesized_expression_list at cp/parser.c dirtyepic at gentoo dot org
@ 2010-01-01  0:38 ` dirtyepic at gentoo dot org
  2010-01-01 14:02 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dirtyepic at gentoo dot org @ 2010-01-01  0:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dirtyepic at gentoo dot org  2010-01-01 00:38 -------
Created an attachment (id=19434)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19434&action=view)
delta-reduced testcase


-- 


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


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

* [Bug c++/42569] ICE in cp_parser_parenthesized_expression_list at cp/parser.c
  2010-01-01  0:37 [Bug c++/42569] New: ICE in cp_parser_parenthesized_expression_list at cp/parser.c dirtyepic at gentoo dot org
  2010-01-01  0:38 ` [Bug c++/42569] " dirtyepic at gentoo dot org
@ 2010-01-01 14:02 ` rguenth at gcc dot gnu dot org
  2010-01-01 22:18 ` dirtyepic at gentoo dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-01 14:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-01-01 14:02 -------
Can you attach the original unreduced testcase?  With trunk I get

t.ii:6:109: error: 'guint' has not been declared
t.ii:6:128: error: 'GValue' has not been declared
t.ii:6:143: error: 'GParamSpec' has not been declared
t.ii:7:109: error: 'guint' has not been declared
....
t.ii:122:49: error: 'gst_apev2_mux_debug' was not declared in this scope
t.ii:122:205: error: 'gst_debug_log' was not declared in this scope
virtual memory exhausted: Cannot allocate memory


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery, ice-on-
                   |                            |invalid-code


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


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

* [Bug c++/42569] ICE in cp_parser_parenthesized_expression_list at cp/parser.c
  2010-01-01  0:37 [Bug c++/42569] New: ICE in cp_parser_parenthesized_expression_list at cp/parser.c dirtyepic at gentoo dot org
  2010-01-01  0:38 ` [Bug c++/42569] " dirtyepic at gentoo dot org
  2010-01-01 14:02 ` rguenth at gcc dot gnu dot org
@ 2010-01-01 22:18 ` dirtyepic at gentoo dot org
  2010-01-12 16:23 ` [Bug c++/42569] [4.5 Regression] " rguenth at gcc dot gnu dot org
  2010-01-15  6:18 ` jason at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: dirtyepic at gentoo dot org @ 2010-01-01 22:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dirtyepic at gentoo dot org  2010-01-01 22:18 -------
Created an attachment (id=19440)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19440&action=view)
gstapev2mux.ii.bz2


-- 


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


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

* [Bug c++/42569] [4.5 Regression] ICE in cp_parser_parenthesized_expression_list at cp/parser.c
  2010-01-01  0:37 [Bug c++/42569] New: ICE in cp_parser_parenthesized_expression_list at cp/parser.c dirtyepic at gentoo dot org
                   ` (2 preceding siblings ...)
  2010-01-01 22:18 ` dirtyepic at gentoo dot org
@ 2010-01-12 16:23 ` rguenth at gcc dot gnu dot org
  2010-01-15  6:18 ` jason at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-12 16:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-01-12 16:23 -------
Confirmed for the unreduced testcase.

> ./cc1plus -quiet gstagev2mux.ii  -fpermissive
gstapev2mux.cc: In function 'void add_one_tag(const GstTagList*, const gchar*,
void*)':
gstapev2mux.cc:118:62: warning: cannot call constructor
'TagLib::String::String' directly
gstapev2mux.cc:118:62: note: for a function-style cast, remove the redundant
'::String'
gstapev2mux.cc:127:62: warning: cannot call constructor
'TagLib::String::String' directly
gstapev2mux.cc:127:62: note: for a function-style cast, remove the redundant
'::String'
gstapev2mux.cc:127:62: error: no matching function for call to
'TagLib::String::String(char*&, TagLib::String::Type, char*&,
TagLib::String::Type)'
/usr/include/taglib/tstring.h:164:5: note: candidates are:
TagLib::String::String(const TagLib::ByteVector&, TagLib::String::Type)
/usr/include/taglib/tstring.h:156:5: note:                
TagLib::String::String(const char*, TagLib::String::Type)
/usr/include/taglib/tstring.h:147:5: note:                
TagLib::String::String(wchar_t, TagLib::String::Type)
/usr/include/taglib/tstring.h:142:5: note:                
TagLib::String::String(char, TagLib::String::Type)
/usr/include/taglib/tstring.h:134:5: note:                
TagLib::String::Strig(const wchar_t*, TagLib::String::Type)
/usr/include/taglib/tstring.h:129:5: note:                
TagLib::String::String(const TagLib::wstring&, TagLib::String::Type)
/usr/include/taglib/tstring.h:124:5: note:                
TagLib::String::String(const std::string&, TagLib::String::Type)
/usr/include/taglib/tstring.h:116:5: note:                
TagLib::String::String(const TagLib::String&)
/usr/include/taglib/tstring.h:109:5: note:                
TagLib::String::String()
gstapev2mux.cc:136:44: internal compiler error: vector VEC(tree,base) push
domain error, in cp_parser_parenthesized_expression_list at cp/parser.c:5326
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to work|                            |4.4.2
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-12 16:23:20
               date|                            |
            Summary|ICE in                      |[4.5 Regression] ICE in
                   |cp_parser_parenthesized_expr|cp_parser_parenthesized_expr
                   |ession_list at cp/parser.c  |ession_list at cp/parser.c
   Target Milestone|---                         |4.5.0


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


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

* [Bug c++/42569] [4.5 Regression] ICE in cp_parser_parenthesized_expression_list at cp/parser.c
  2010-01-01  0:37 [Bug c++/42569] New: ICE in cp_parser_parenthesized_expression_list at cp/parser.c dirtyepic at gentoo dot org
                   ` (3 preceding siblings ...)
  2010-01-12 16:23 ` [Bug c++/42569] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2010-01-15  6:18 ` jason at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-01-15  6:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jason at gcc dot gnu dot org  2010-01-15 06:18 -------


*** This bug has been marked as a duplicate of 42701 ***


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2010-01-15  6:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-01  0:37 [Bug c++/42569] New: ICE in cp_parser_parenthesized_expression_list at cp/parser.c dirtyepic at gentoo dot org
2010-01-01  0:38 ` [Bug c++/42569] " dirtyepic at gentoo dot org
2010-01-01 14:02 ` rguenth at gcc dot gnu dot org
2010-01-01 22:18 ` dirtyepic at gentoo dot org
2010-01-12 16:23 ` [Bug c++/42569] [4.5 Regression] " rguenth at gcc dot gnu dot org
2010-01-15  6:18 ` jason at gcc dot gnu dot org

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).