public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/23104] New: [4.1 Regression] C does not reject the same function in two different TUs with -combine
@ 2005-07-27 22:07 pinskia at gcc dot gnu dot org
  2005-07-27 22:12 ` [Bug c/23104] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-27 22:07 UTC (permalink / raw)
  To: gcc-bugs

Compile the following sources with -combine:
---- file1.c ----
int f(void) {}
---- end ----
---- file2.c ----
int f(void) {}
---- end ----

We used to reject this in 4.0.0.
This was caused by:
2005-06-28  Eric Christopher  <echristo@redhat.com>

        PR c/22052
        PR c/21975
        * c-decl.c (diagnose_mismatched_decls): Define DECL_EXTERN_INLINE.
        Use. Fix detection of invalid extern inline redefinition.

-- 
           Summary: [4.1 Regression] C does not reject the same function in
                    two different TUs with -combine
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: c
        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=23104


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

* [Bug c/23104] [4.1 Regression] C does not reject the same function in two different TUs with -combine
  2005-07-27 22:07 [Bug c/23104] New: [4.1 Regression] C does not reject the same function in two different TUs with -combine pinskia at gcc dot gnu dot org
@ 2005-07-27 22:12 ` pinskia at gcc dot gnu dot org
  2005-07-27 22:18 ` belyshev at depni dot sinp dot msu dot ru
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-27 22:12 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |21975, 22052
              nThis|                            |
   Target Milestone|---                         |4.1.0


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


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

* [Bug c/23104] [4.1 Regression] C does not reject the same function in two different TUs with -combine
  2005-07-27 22:07 [Bug c/23104] New: [4.1 Regression] C does not reject the same function in two different TUs with -combine pinskia at gcc dot gnu dot org
  2005-07-27 22:12 ` [Bug c/23104] " pinskia at gcc dot gnu dot org
@ 2005-07-27 22:18 ` belyshev at depni dot sinp dot msu dot ru
  2005-07-27 23:33 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-07-27 22:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-07-27 22:14 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-27 22:14:17
               date|                            |


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


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

* [Bug c/23104] [4.1 Regression] C does not reject the same function in two different TUs with -combine
  2005-07-27 22:07 [Bug c/23104] New: [4.1 Regression] C does not reject the same function in two different TUs with -combine pinskia at gcc dot gnu dot org
  2005-07-27 22:12 ` [Bug c/23104] " pinskia at gcc dot gnu dot org
  2005-07-27 22:18 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-07-27 23:33 ` pinskia at gcc dot gnu dot org
  2005-09-16 17:55 ` pinskia at gcc dot gnu dot org
  2005-09-17 20:25 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-27 23:33 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug c/23104] [4.1 Regression] C does not reject the same function in two different TUs with -combine
  2005-07-27 22:07 [Bug c/23104] New: [4.1 Regression] C does not reject the same function in two different TUs with -combine pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-07-27 23:33 ` pinskia at gcc dot gnu dot org
@ 2005-09-16 17:55 ` pinskia at gcc dot gnu dot org
  2005-09-17 20:25 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-16 17:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-16 17:55 -------
I am going to fix this since PR 22052 was really caused by me.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|echristo at gcc dot gnu dot |pinskia at gcc dot gnu dot
                   |org                         |org


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


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

* [Bug c/23104] [4.1 Regression] C does not reject the same function in two different TUs with -combine
  2005-07-27 22:07 [Bug c/23104] New: [4.1 Regression] C does not reject the same function in two different TUs with -combine pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-09-16 17:55 ` pinskia at gcc dot gnu dot org
@ 2005-09-17 20:25 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-17 20:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-17 20:25 -------
Patch posted:
http://gcc.gnu.org/ml/gcc-patches/2005-09/msg01070.html

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


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


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

* [Bug c/23104] [4.1 Regression] C does not reject the same function in two different TUs with -combine
       [not found] <bug-23104-6528@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-31  4:18 ` mmitchel at gcc dot gnu dot org
@ 2005-10-31  4:19 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-31  4:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2005-10-31 04:19 -------
(In reply to comment #7)
> Downgraded to P4.  If we can fix this great; otherwise, we'll look at it 
> again for 4.2.

It is not like I did not post a patch.


-- 


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


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

* [Bug c/23104] [4.1 Regression] C does not reject the same function in two different TUs with -combine
       [not found] <bug-23104-6528@http.gcc.gnu.org/bugzilla/>
  2005-10-12  0:56 ` pinskia at gcc dot gnu dot org
  2005-10-20 23:51 ` pinskia at gcc dot gnu dot org
@ 2005-10-31  4:18 ` mmitchel at gcc dot gnu dot org
  2005-10-31  4:19 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31  4:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mmitchel at gcc dot gnu dot org  2005-10-31 04:18 -------
Downgraded to P4.  If we can fix this great; otherwise, we'll look at it again
for 4.2.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4


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


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

* [Bug c/23104] [4.1 Regression] C does not reject the same function in two different TUs with -combine
       [not found] <bug-23104-6528@http.gcc.gnu.org/bugzilla/>
  2005-10-12  0:56 ` pinskia at gcc dot gnu dot org
@ 2005-10-20 23:51 ` pinskia at gcc dot gnu dot org
  2005-10-31  4:18 ` mmitchel at gcc dot gnu dot org
  2005-10-31  4:19 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-20 23:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2005-10-20 23:51 -------
*** Bug 24446 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rep dot nop at aon dot at


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


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

* [Bug c/23104] [4.1 Regression] C does not reject the same function in two different TUs with -combine
       [not found] <bug-23104-6528@http.gcc.gnu.org/bugzilla/>
@ 2005-10-12  0:56 ` pinskia at gcc dot gnu dot org
  2005-10-20 23:51 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-12  0:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2005-10-12 00:56 -------
Hmm, the 4.0 patch was approved, I wonder if I could get away with applying
this as obvious as it just gets us the same code as the 4.0 branch.


-- 


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


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

end of thread, other threads:[~2005-10-31  4:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-27 22:07 [Bug c/23104] New: [4.1 Regression] C does not reject the same function in two different TUs with -combine pinskia at gcc dot gnu dot org
2005-07-27 22:12 ` [Bug c/23104] " pinskia at gcc dot gnu dot org
2005-07-27 22:18 ` belyshev at depni dot sinp dot msu dot ru
2005-07-27 23:33 ` pinskia at gcc dot gnu dot org
2005-09-16 17:55 ` pinskia at gcc dot gnu dot org
2005-09-17 20:25 ` pinskia at gcc dot gnu dot org
     [not found] <bug-23104-6528@http.gcc.gnu.org/bugzilla/>
2005-10-12  0:56 ` pinskia at gcc dot gnu dot org
2005-10-20 23:51 ` pinskia at gcc dot gnu dot org
2005-10-31  4:18 ` mmitchel at gcc dot gnu dot org
2005-10-31  4:19 ` pinskia 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).