public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31941]  New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message
@ 2007-05-15 17:37 tbm at cyrius dot com
  2007-05-15 17:38 ` [Bug c++/31941] " tbm at cyrius dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2007-05-15 17:37 UTC (permalink / raw)
  To: gcc-bugs

With the attached source, 4.0 prints and error and then says that it got
confused by earlier errors.  In 4.1 and 4.2, however, it gets confused
without actually printing the earlier error:

tbm@coconut0:~$ g++-4.0 -c digikam-libmetadatawidgets.ii
/home/tbm/src/digikam-0.9.1/./digikam/libs/widgets/metadata/iptcwidget.cpp: In
member function 'virtual bool Digikam::IptcWidget::decodeMetadata()':
/home/tbm/src/digikam-0.9.1/./digikam/libs/widgets/metadata/iptcwidget.cpp:159:
error: request for member 'c_str' in '
/home/tbm/src/digikam-0.9.1/./digikam/libs/widgets/metadata/iptcwidget.cpp:159:
confused by earlier errors, bailing out
tbm@coconut0:~$ g++-4.1 -c digikam-libmetadatawidgets.ii
'
/home/tbm/src/digikam-0.9.1/./digikam/libs/widgets/metadata/iptcwidget.cpp:159:
confused by earlier errors, bailing out
tbm@coconut0:~$ /usr/lib/gcc-snapshot/bin/g++ -c digikam-libmetadatawidgets.ii
'
/home/tbm/src/digikam-0.9.1/./digikam/libs/widgets/metadata/iptcwidget.cpp:159:
confused by earlier errors, bailing out
Preprocessed source stored into /tmp/cc43WndE.out file, please attach this to
your bugreport.
tbm@coconut0:~$


-- 
           Summary: [4.1/4.2/4.3 Regression] "confused by earlier errors"
                    message without earlier error message
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


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


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

* [Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message
  2007-05-15 17:37 [Bug c++/31941] New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message tbm at cyrius dot com
@ 2007-05-15 17:38 ` tbm at cyrius dot com
  2007-05-15 17:40 ` tbm at cyrius dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2007-05-15 17:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2007-05-15 18:38 -------
Created an attachment (id=13560)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13560&action=view)
preprocessed source


-- 


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


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

* [Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message
  2007-05-15 17:37 [Bug c++/31941] New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message tbm at cyrius dot com
  2007-05-15 17:38 ` [Bug c++/31941] " tbm at cyrius dot com
@ 2007-05-15 17:40 ` tbm at cyrius dot com
  2007-05-16  9:23 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2007-05-15 17:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tbm at cyrius dot com  2007-05-15 18:40 -------
This is on ia64.  Apparently x86_64 shows an error.  Can someone confirm what
I see on ia64?


-- 


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


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

* [Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message
  2007-05-15 17:37 [Bug c++/31941] New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message tbm at cyrius dot com
  2007-05-15 17:38 ` [Bug c++/31941] " tbm at cyrius dot com
  2007-05-15 17:40 ` tbm at cyrius dot com
@ 2007-05-16  9:23 ` rguenth at gcc dot gnu dot org
  2007-06-30  9:14 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-05-16  9:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2007-05-16 10:23 -------
/home/tbm/src/digikam-0.9.1/./digikam/libs/widgets/metadata/iptcwidget.cpp:159:
error: request for member 'c_str' in '

?

so there seems to be an error.  Of course we probably ICE during error
reporting
which may confuse this matter ;)


-- 

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=31941


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

* [Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message
  2007-05-15 17:37 [Bug c++/31941] New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2007-05-16  9:23 ` rguenth at gcc dot gnu dot org
@ 2007-06-30  9:14 ` pinskia at gcc dot gnu dot org
  2007-07-04  3:07 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-30  9:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.1.3


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


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

* [Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message
  2007-05-15 17:37 [Bug c++/31941] New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2007-06-30  9:14 ` pinskia at gcc dot gnu dot org
@ 2007-07-04  3:07 ` mmitchel at gcc dot gnu dot org
  2007-08-23 13:16 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-04  3:07 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message
  2007-05-15 17:37 [Bug c++/31941] New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2007-07-04  3:07 ` mmitchel at gcc dot gnu dot org
@ 2007-08-23 13:16 ` jakub at gcc dot gnu dot org
  2007-08-23 23:23 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-23 13:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-08-23 13:16:07
               date|                            |


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


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

* [Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message
  2007-05-15 17:37 [Bug c++/31941] New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2007-08-23 13:16 ` jakub at gcc dot gnu dot org
@ 2007-08-23 23:23 ` jakub at gcc dot gnu dot org
  2007-08-24 17:14 ` jakub at gcc dot gnu dot org
  2007-08-24 17:28 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-23 23:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2007-08-23 23:23 -------
Subject: Bug 31941

Author: jakub
Date: Thu Aug 23 23:23:26 2007
New Revision: 127747

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127747
Log:
        PR c++/31941
        * error.c (resolve_virtual_fun_from_obj_type_ref): Handle
        TARGET_VTABLE_USES_DESCRIPTORS targets properly.

        * g++.dg/parse/crash37.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/crash37.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/error.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message
  2007-05-15 17:37 [Bug c++/31941] New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2007-08-23 23:23 ` jakub at gcc dot gnu dot org
@ 2007-08-24 17:14 ` jakub at gcc dot gnu dot org
  2007-08-24 17:28 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-24 17:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2007-08-24 17:13 -------
Subject: Bug 31941

Author: jakub
Date: Fri Aug 24 17:12:41 2007
New Revision: 127778

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127778
Log:
        PR c++/31941
        * error.c (resolve_virtual_fun_from_obj_type_ref): Handle
        TARGET_VTABLE_USES_DESCRIPTORS targets properly.

        * g++.dg/parse/crash37.C: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/parse/crash37.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/error.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/31941] [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message
  2007-05-15 17:37 [Bug c++/31941] New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2007-08-24 17:14 ` jakub at gcc dot gnu dot org
@ 2007-08-24 17:28 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-24 17:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jakub at gcc dot gnu dot org  2007-08-24 17:28 -------
Fixed.
On 4.1 branch with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127781


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-08-24 17:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-15 17:37 [Bug c++/31941] New: [4.1/4.2/4.3 Regression] "confused by earlier errors" message without earlier error message tbm at cyrius dot com
2007-05-15 17:38 ` [Bug c++/31941] " tbm at cyrius dot com
2007-05-15 17:40 ` tbm at cyrius dot com
2007-05-16  9:23 ` rguenth at gcc dot gnu dot org
2007-06-30  9:14 ` pinskia at gcc dot gnu dot org
2007-07-04  3:07 ` mmitchel at gcc dot gnu dot org
2007-08-23 13:16 ` jakub at gcc dot gnu dot org
2007-08-23 23:23 ` jakub at gcc dot gnu dot org
2007-08-24 17:14 ` jakub at gcc dot gnu dot org
2007-08-24 17:28 ` jakub 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).