public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17807] New: No warning/error for undefined local function.
@ 2004-10-03 12:35 rth at gcc dot gnu dot org
  2004-10-03 15:04 ` [Bug c/17807] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-10-03 12:35 UTC (permalink / raw)
  To: gcc-bugs

int main(void)
{
    auto int bar(int);
    bar(5);
}

$ gcc z.c
/tmp/ccw5BsKp.o(.text+0x18): In function `main':
: undefined reference to `bar.0'
collect2: ld returned 1 exit status

Which isn't the best of error messages.

Mainline actually ICE's on this.

-- 
           Summary: No warning/error for undefined local function.
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rth at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c/17807] [4.0 Regression] No warning/error for undefined local function.
  2004-10-03 12:35 [Bug c/17807] New: No warning/error for undefined local function rth at gcc dot gnu dot org
@ 2004-10-03 15:04 ` pinskia at gcc dot gnu dot org
  2004-10-03 19:59 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-03 15:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-03 15:04 -------
ICEs are defined as regressions even if the previous versions accepted the code.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |accepts-invalid, diagnostic,
                   |                            |ice-on-invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-03 15:04:06
               date|                            |
            Summary|No warning/error for        |[4.0 Regression] No
                   |undefined local function.   |warning/error for undefined
                   |                            |local function.
   Target Milestone|---                         |4.0.0


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


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

* [Bug c/17807] [4.0 Regression] No warning/error for undefined local function.
  2004-10-03 12:35 [Bug c/17807] New: No warning/error for undefined local function rth at gcc dot gnu dot org
  2004-10-03 15:04 ` [Bug c/17807] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-10-03 19:59 ` pinskia at gcc dot gnu dot org
  2004-10-04 17:57 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-03 19:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-03 19:59 -------
: Search converges between 2004-05-11-trunk (#454) and 2004-05-14-trunk (#455).
: Search converges between 2003-10-26-ssa (#116) and 2003-10-27-ssa (#117).

-- 


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


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

* [Bug c/17807] [4.0 Regression] No warning/error for undefined local function.
  2004-10-03 12:35 [Bug c/17807] New: No warning/error for undefined local function rth at gcc dot gnu dot org
  2004-10-03 15:04 ` [Bug c/17807] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2004-10-03 19:59 ` pinskia at gcc dot gnu dot org
@ 2004-10-04 17:57 ` pinskia at gcc dot gnu dot org
  2004-10-05  4:30 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-04 17:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 17:57 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00288.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug c/17807] [4.0 Regression] No warning/error for undefined local function.
  2004-10-03 12:35 [Bug c/17807] New: No warning/error for undefined local function rth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-10-04 17:57 ` pinskia at gcc dot gnu dot org
@ 2004-10-05  4:30 ` pinskia at gcc dot gnu dot org
  2004-10-19  0:48 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-05  4:30 UTC (permalink / raw)
  To: gcc-bugs



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


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

* [Bug c/17807] [4.0 Regression] No warning/error for undefined local function.
  2004-10-03 12:35 [Bug c/17807] New: No warning/error for undefined local function rth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-10-05  4:30 ` pinskia at gcc dot gnu dot org
@ 2004-10-19  0:48 ` pinskia at gcc dot gnu dot org
  2004-11-25 20:52 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-19  0:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-19 00:48 -------
I will see if I can have this rejected in the front-end.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|patch                       |


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


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

* [Bug c/17807] [4.0 Regression] No warning/error for undefined local function.
  2004-10-03 12:35 [Bug c/17807] New: No warning/error for undefined local function rth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-10-19  0:48 ` pinskia at gcc dot gnu dot org
@ 2004-11-25 20:52 ` pinskia at gcc dot gnu dot org
  2005-01-07 22:26 ` pinskia at gcc dot gnu dot org
  2005-02-01 23:03 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-25 20:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-25 20:52 -------
I might not get to updating this patch for a while so assigning myself for now.

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


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


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

* [Bug c/17807] [4.0 Regression] No warning/error for undefined local function.
  2004-10-03 12:35 [Bug c/17807] New: No warning/error for undefined local function rth at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-11-25 20:52 ` pinskia at gcc dot gnu dot org
@ 2005-01-07 22:26 ` pinskia at gcc dot gnu dot org
  2005-02-01 23:03 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-07 22:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-07 22:26 -------
*** Bug 19318 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schwab at suse dot de


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


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

* [Bug c/17807] [4.0 Regression] No warning/error for undefined local function.
  2004-10-03 12:35 [Bug c/17807] New: No warning/error for undefined local function rth at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-01-07 22:26 ` pinskia at gcc dot gnu dot org
@ 2005-02-01 23:03 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-02-01 23:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jsm28 at gcc dot gnu dot org  2005-02-01 23:03 -------
Testing a patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jsm28 at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2004-12-24 19:18:50         |2005-02-01 23:03:31
               date|                            |


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


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

end of thread, other threads:[~2005-02-01 23:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-03 12:35 [Bug c/17807] New: No warning/error for undefined local function rth at gcc dot gnu dot org
2004-10-03 15:04 ` [Bug c/17807] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-03 19:59 ` pinskia at gcc dot gnu dot org
2004-10-04 17:57 ` pinskia at gcc dot gnu dot org
2004-10-05  4:30 ` pinskia at gcc dot gnu dot org
2004-10-19  0:48 ` pinskia at gcc dot gnu dot org
2004-11-25 20:52 ` pinskia at gcc dot gnu dot org
2005-01-07 22:26 ` pinskia at gcc dot gnu dot org
2005-02-01 23:03 ` jsm28 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).