public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime
@ 2005-08-10  2:37 pinskia at gcc dot gnu dot org
  2005-08-10  2:38 ` [Bug objc/23306] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-10  2:37 UTC (permalink / raw)
  To: gcc-bugs

objc.dg/try-catch-8.m fails currently on the mainline, it also fails on the 4.0 branch for the same 
reason (well it is not tested there at all because it was marked as testing for darwin only for some 
reason, which I was not going to look into just yet).

Anyways the problem is that we call generate_strings before we lower the eh so we don't get a string 
which is referenced from the eh data.

-- 
           Summary: [unit-at-a-time] objc.dg/try-catch-8.m fails to
                    link/compile with the gnu runtime
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: objc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug objc/23306] [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime
  2005-08-10  2:37 [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime pinskia at gcc dot gnu dot org
@ 2005-08-10  2:38 ` pinskia at gcc dot gnu dot org
  2005-08-14  1:05 ` [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-10  2:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-10 02:38 -------
Exceptions for the GNU runtime is a new feature in 4.0.0 so this is not a regression.

CCing Honza because I said I would file a bug for this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |4.0.0 4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-10 02:38:26
               date|                            |


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


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

* [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time
  2005-08-10  2:37 [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime pinskia at gcc dot gnu dot org
  2005-08-10  2:38 ` [Bug objc/23306] " pinskia at gcc dot gnu dot org
@ 2005-08-14  1:05 ` pinskia at gcc dot gnu dot org
  2005-08-16  3:22 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-14  1:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-14 01:05 -------
The failures which this covers has changed since objc.dg/try-catch-8.m was moved.
The failures now are:
FAIL: objc/execute/exceptions/local-variables-1.m compilation,  -O1  -fgnu-runtime
FAIL: objc/execute/exceptions/local-variables-1.m compilation,  -O2  -fgnu-runtime
FAIL: objc/execute/exceptions/local-variables-1.m compilation,  -O3 -fomit-frame-pointer  -fgnu-
runtime
FAIL: objc/execute/exceptions/local-variables-1.m compilation,  -O3 -g  -fgnu-runtime
FAIL: objc/execute/exceptions/local-variables-1.m compilation,  -Os  -fgnu-runtime


Though the -O1 is a regression because unit-at-a-time was not on at -O1 for 4.0.0 so I am going to 
mark this as a regression.  The way to fix this is generate the strings at the end of compilation and not 
at the end of file.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[unit-at-a-time]            |[4.1 Regression] [unit-at-a-
                   |objc.dg/try-catch-8.m fails |time] objc exceptions (GNU
                   |to link/compile with the gnu|runtime) don't work with
                   |runtime                     |unit-at-a-time
   Target Milestone|---                         |4.1.0


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


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

* [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time
  2005-08-10  2:37 [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime pinskia at gcc dot gnu dot org
  2005-08-10  2:38 ` [Bug objc/23306] " pinskia at gcc dot gnu dot org
  2005-08-14  1:05 ` [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time pinskia at gcc dot gnu dot org
@ 2005-08-16  3:22 ` pinskia at gcc dot gnu dot org
  2005-08-16  5:50 ` phython at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-16  3:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-16 02:26 -------
*** Bug 23415 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org


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


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

* [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time
  2005-08-10  2:37 [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-08-16  3:22 ` pinskia at gcc dot gnu dot org
@ 2005-08-16  5:50 ` phython at gcc dot gnu dot org
  2005-08-22  4:57 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: phython at gcc dot gnu dot org @ 2005-08-16  5:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2005-08-16 05:32 -------
 Here is a snippet from the test logs on ia64
Executing on host: /space/jim/ia64-linux-20050815/gcc/xgcc
-B/space/jim/ia64-linux-20050815/gcc/
/home/jim/gcc/gcc/gcc/testsuite/objc/execute/exceptions/local-variables-1.m  -w
 -O1  -fgnu-runtime -fobjc-exceptions
-I/home/jim/gcc/gcc/gcc/testsuite/../../libobjc
-L/space/jim/ia64-linux-20050815/ia64-unknown-linux-gnu/./libobjc/.libs  -lobjc
-lm   -o /space/jim/ia64-linux-20050815/gcc/testsuite/local-variables-1.x1   
(timeout = 300)
/tmp/ccmZsyc2.o:(.sdata.DW.ref._OBJC_CLASS_NAME_1[DW.ref._OBJC_CLASS_NAME_1]+0x0):
undefined reference to `_OBJC_CLASS_NAME_1'
collect2: ld returned 1 exit status

-- 


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


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

* [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time
  2005-08-10  2:37 [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-08-16  5:50 ` phython at gcc dot gnu dot org
@ 2005-08-22  4:57 ` mmitchel at gcc dot gnu dot org
  2005-08-30 21:14 ` pinskia 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 @ 2005-08-22  4:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-08-22 04:56 -------
Objective-C is not release-critical; removing target milestone.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.0                       |---


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


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

* [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time
  2005-08-10  2:37 [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-08-22  4:57 ` mmitchel at gcc dot gnu dot org
@ 2005-08-30 21:14 ` pinskia at gcc dot gnu dot org
  2005-08-30 22:33 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 21:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-30 21:02 -------
I have a fix.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time
  2005-08-10  2:37 [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-08-30 21:14 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 22:33 ` pinskia at gcc dot gnu dot org
  2005-09-01  1:32 ` pinskia at gcc dot gnu dot org
  2005-09-01  1:33 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 22:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-30 22:11 -------
Patch posted: <http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01791.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |08/msg01791.html
           Keywords|                            |patch


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


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

* [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time
  2005-08-10  2:37 [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime pinskia at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-08-30 22:33 ` pinskia at gcc dot gnu dot org
@ 2005-09-01  1:32 ` pinskia at gcc dot gnu dot org
  2005-09-01  1:33 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-01  1:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-01 01:32 -------
Fixed for 4.1.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

* [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time
  2005-08-10  2:37 [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime pinskia at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-09-01  1:32 ` pinskia at gcc dot gnu dot org
@ 2005-09-01  1:33 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-01  1:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-01 01:32 -------
Subject: Bug 23306

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2005-09-01 01:32:11

Modified files:
	gcc/objc       : ChangeLog objc-act.c 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/objc.dg: image-info.m 

Log message:
	2005-08-31  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR objc/23306
	* objc-act.c (generate_strings): Remove and move code to
	finish decl to ...
	(add_objc_string): here when creating a new string decl.
	(finish_objc): Don't call generate_strings.
	
	2005-08-31  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR objc/23306
	* objc.dg/image-info.m: Remove "objc_module_info" check part of the
	scan-assmbler.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/ChangeLog.diff?cvsroot=gcc&r1=1.56&r2=1.57
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-act.c.diff?cvsroot=gcc&r1=1.290&r2=1.291
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5990&r2=1.5991
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/image-info.m.diff?cvsroot=gcc&r1=1.5&r2=1.6



-- 


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


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

end of thread, other threads:[~2005-09-01  1:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-10  2:37 [Bug objc/23306] New: [unit-at-a-time] objc.dg/try-catch-8.m fails to link/compile with the gnu runtime pinskia at gcc dot gnu dot org
2005-08-10  2:38 ` [Bug objc/23306] " pinskia at gcc dot gnu dot org
2005-08-14  1:05 ` [Bug objc/23306] [4.1 Regression] [unit-at-a-time] objc exceptions (GNU runtime) don't work with unit-at-a-time pinskia at gcc dot gnu dot org
2005-08-16  3:22 ` pinskia at gcc dot gnu dot org
2005-08-16  5:50 ` phython at gcc dot gnu dot org
2005-08-22  4:57 ` mmitchel at gcc dot gnu dot org
2005-08-30 21:14 ` pinskia at gcc dot gnu dot org
2005-08-30 22:33 ` pinskia at gcc dot gnu dot org
2005-09-01  1:32 ` pinskia at gcc dot gnu dot org
2005-09-01  1:33 ` cvs-commit 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).