public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14556] New: ICE with <?= operator
@ 2004-03-12 16:02 jakub at gcc dot gnu dot org
  2004-03-12 16:15 ` [Bug c++/14556] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-03-12 16:02 UTC (permalink / raw)
  To: gcc-bugs

struct S
{
  double d;
  S (double x) { d = x; }
  operator double& () { return d; }
};

double foo (S x, S y)
{
  return x <?= y;
}

causes ICE on any GCC I've tried so far (egcs 1.1.2, 2.96-RH, 3.2.3, 3.3.3, 3.4,
trunk).

-- 
           Summary: ICE with <?= operator
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: any
  GCC host triplet: any
GCC target triplet: any


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


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

* [Bug c++/14556] ICE with <?= operator
  2004-03-12 16:02 [Bug c++/14556] New: ICE with <?= operator jakub at gcc dot gnu dot org
@ 2004-03-12 16:15 ` pinskia at gcc dot gnu dot org
  2004-06-11  0:56 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-12 16:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-12 16:15 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |2.95.3 3.0.4 3.2.2 3.2.3
                   |                            |3.3.1 3.5.0 3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-03-12 16:15:22
               date|                            |


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


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

* [Bug c++/14556] ICE with <?= operator
  2004-03-12 16:02 [Bug c++/14556] New: ICE with <?= operator jakub at gcc dot gnu dot org
  2004-03-12 16:15 ` [Bug c++/14556] " pinskia at gcc dot gnu dot org
@ 2004-06-11  0:56 ` pinskia at gcc dot gnu dot org
  2005-04-07  6:26 ` pinskia at gcc dot gnu dot org
  2005-05-31 17:20 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-11  0:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-11 00:56 -------
Here is the ICE:
pr14556.cc: In function `double foo(S, S)':
pr14556.cc:10: internal compiler error: in add_builtin_candidate, at cp/call.c:1911
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-03-12 16:15:22         |2004-06-11 00:56:45
               date|                            |


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


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

* [Bug c++/14556] ICE with <?= operator
  2004-03-12 16:02 [Bug c++/14556] New: ICE with <?= operator jakub at gcc dot gnu dot org
  2004-03-12 16:15 ` [Bug c++/14556] " pinskia at gcc dot gnu dot org
  2004-06-11  0:56 ` pinskia at gcc dot gnu dot org
@ 2005-04-07  6:26 ` pinskia at gcc dot gnu dot org
  2005-05-31 17:20 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-07  6:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-07 06:26 -------
Suspending as minimum/maximum operators are deprecated and are going to be removed for 4.1.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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


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

* [Bug c++/14556] ICE with <?= operator
  2004-03-12 16:02 [Bug c++/14556] New: ICE with <?= operator jakub at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-04-07  6:26 ` pinskia at gcc dot gnu dot org
@ 2005-05-31 17:20 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-31 17:20 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|any                         |
   GCC host triplet|any                         |
 GCC target triplet|any                         |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|2005-01-06 01:55:09         |2005-05-31 17:20:19
               date|                            |


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


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

* [Bug c++/14556] ICE with <?= operator
       [not found] <bug-14556-87@http.gcc.gnu.org/bugzilla/>
  2006-08-14 23:14 ` sje at gcc dot gnu dot org
  2006-08-14 23:16 ` sje at gcc dot gnu dot org
@ 2006-08-15  0:53 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-15  0:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-08-15 00:53 -------
Closing as won't fix as this feature has now been removed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|                            |WONTFIX
   Target Milestone|---                         |4.2.0


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


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

* [Bug c++/14556] ICE with <?= operator
       [not found] <bug-14556-87@http.gcc.gnu.org/bugzilla/>
  2006-08-14 23:14 ` sje at gcc dot gnu dot org
@ 2006-08-14 23:16 ` sje at gcc dot gnu dot org
  2006-08-15  0:53 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-08-14 23:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from sje at gcc dot gnu dot org  2006-08-14 23:16 -------
Subject: Bug 14556

Author: sje
Date: Mon Aug 14 23:15:57 2006
New Revision: 116141

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116141
Log:
        PR c++/28288
        PR c++/14556
        * g++.old-deja/g++.warn/compare1.C: Delete.
        * g++.dg/opt/pr7503-2.C: Delete.
        * g++.dg/opt/pr7503-3.C: Delete.
        * g++.dg/opt/pr7503-4.C: Delete.
        * g++.dg/opt/pr7503-5.C: Delete.
        * g++.dg/opt/max1.C: Delete.
        * g++.dg/warn/minmax.C: Delete.
        * g++.dg/expr/minmax.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/expr/minmax.C
Removed:
    trunk/gcc/testsuite/g++.dg/opt/max1.C
    trunk/gcc/testsuite/g++.dg/opt/pr7503-2.C
    trunk/gcc/testsuite/g++.dg/opt/pr7503-3.C
    trunk/gcc/testsuite/g++.dg/opt/pr7503-4.C
    trunk/gcc/testsuite/g++.dg/opt/pr7503-5.C
    trunk/gcc/testsuite/g++.dg/warn/minmax.C
    trunk/gcc/testsuite/g++.old-deja/g++.warn/compare1.C
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/14556] ICE with <?= operator
       [not found] <bug-14556-87@http.gcc.gnu.org/bugzilla/>
@ 2006-08-14 23:14 ` sje at gcc dot gnu dot org
  2006-08-14 23:16 ` sje at gcc dot gnu dot org
  2006-08-15  0:53 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-08-14 23:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from sje at gcc dot gnu dot org  2006-08-14 23:14 -------
Subject: Bug 14556

Author: sje
Date: Mon Aug 14 23:13:54 2006
New Revision: 116140

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116140
Log:
        PR c++/28288
        PR c++/14556
        * operators.def: Remove <?, ?>, <?=, and >?= operators.
        * parser.c: Remove CPP_MIN, CPP_MAX, CPP_MIN_EQ, and CPP_MAX_EQ.
        (cp_parser_warn_min_max): Remove.
        * include/cpplib.h: Remove <?, >?, <?=, and >?= tokens.
        (CPP_LAST_EQ): Change.
        (CPP_LAST_PUNCTUATOR): Change.
        * expr.c (cpp_operator): Remove MIN and MAX.
        (reduce): Remove CPP_MIN and CPP_MAX.
        (num_binary_op): Ditto.
        * lex.c (_cpp_lex_direct): Ditto.
        (cpp_avoid_paste): Remove ? as legal symbol after > or <.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/operators.def
    trunk/gcc/cp/parser.c
    trunk/libcpp/ChangeLog
    trunk/libcpp/expr.c
    trunk/libcpp/include/cpplib.h
    trunk/libcpp/lex.c


-- 


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


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

end of thread, other threads:[~2006-08-15  0:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-12 16:02 [Bug c++/14556] New: ICE with <?= operator jakub at gcc dot gnu dot org
2004-03-12 16:15 ` [Bug c++/14556] " pinskia at gcc dot gnu dot org
2004-06-11  0:56 ` pinskia at gcc dot gnu dot org
2005-04-07  6:26 ` pinskia at gcc dot gnu dot org
2005-05-31 17:20 ` pinskia at gcc dot gnu dot org
     [not found] <bug-14556-87@http.gcc.gnu.org/bugzilla/>
2006-08-14 23:14 ` sje at gcc dot gnu dot org
2006-08-14 23:16 ` sje at gcc dot gnu dot org
2006-08-15  0:53 ` 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).