public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/36128] [4.4 regression] ICE with invalid argument for builtin
2008-05-05 6:30 [Bug c++/36128] New: [4.4 regression] ICE with invalid argument for builtin reichelt at gcc dot gnu dot org
@ 2008-05-05 6:30 ` reichelt at gcc dot gnu dot org
2008-05-05 6:40 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-05-05 6:30 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36128] New: [4.4 regression] ICE with invalid argument for builtin
@ 2008-05-05 6:30 reichelt at gcc dot gnu dot org
2008-05-05 6:30 ` [Bug c++/36128] " reichelt at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-05-05 6:30 UTC (permalink / raw)
To: gcc-bugs
The following invalid code snippet triggers an ICE on mainline:
====================================
void foo()
{
__builtin_isless (foo, 0);
}
====================================
bug.cc: In function 'void foo()':
bug.cc:3: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
The regression was introduced between 2008-04-19 and 2008-04-25.
Looking at the ChangeLog, the problem is likely fallout from
2008-04-24 Richard Guenther <rguenther@suse.de>
* typeck.c (cp_build_function_call): Call
check_builtin_function_arguments.
--
Summary: [4.4 regression] ICE with invalid argument for builtin
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36128] [4.4 regression] ICE with invalid argument for builtin
2008-05-05 6:30 [Bug c++/36128] New: [4.4 regression] ICE with invalid argument for builtin reichelt at gcc dot gnu dot org
2008-05-05 6:30 ` [Bug c++/36128] " reichelt at gcc dot gnu dot org
@ 2008-05-05 6:40 ` pinskia at gcc dot gnu dot org
2008-05-07 19:36 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-05-05 6:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-05-05 06:39 -------
Inside fold_builtin_unordered_cmp, cmptype is NULL.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-05-05 06:39:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36128] [4.4 regression] ICE with invalid argument for builtin
2008-05-05 6:30 [Bug c++/36128] New: [4.4 regression] ICE with invalid argument for builtin reichelt at gcc dot gnu dot org
2008-05-05 6:30 ` [Bug c++/36128] " reichelt at gcc dot gnu dot org
2008-05-05 6:40 ` pinskia at gcc dot gnu dot org
@ 2008-05-07 19:36 ` rguenth at gcc dot gnu dot org
2008-05-16 19:38 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-05-07 19:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-05-07 19:35 -------
Mine.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2008-05-05 06:39:48 |2008-05-07 19:35:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36128] [4.4 regression] ICE with invalid argument for builtin
2008-05-05 6:30 [Bug c++/36128] New: [4.4 regression] ICE with invalid argument for builtin reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-05-07 19:36 ` rguenth at gcc dot gnu dot org
@ 2008-05-16 19:38 ` rguenth at gcc dot gnu dot org
2008-07-03 8:19 ` rguenth at gcc dot gnu dot org
2008-07-03 8:20 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-05-16 19:38 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36128] [4.4 regression] ICE with invalid argument for builtin
2008-05-05 6:30 [Bug c++/36128] New: [4.4 regression] ICE with invalid argument for builtin reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-05-16 19:38 ` rguenth at gcc dot gnu dot org
@ 2008-07-03 8:19 ` rguenth at gcc dot gnu dot org
2008-07-03 8:20 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-07-03 8:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2008-07-03 08:18 -------
Subject: Bug 36128
Author: rguenth
Date: Thu Jul 3 08:18:09 2008
New Revision: 137408
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137408
Log:
2008-07-02 Richard Guenther <rguenther@suse.de>
PR c++/36128
* typeck.c (cp_build_function_call): Move code to verify
builtin function arguments ...
* call.c (build_cxx_call): ... here.
* g++.dg/other/builtin1.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/other/builtin1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36128
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36128] [4.4 regression] ICE with invalid argument for builtin
2008-05-05 6:30 [Bug c++/36128] New: [4.4 regression] ICE with invalid argument for builtin reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-07-03 8:19 ` rguenth at gcc dot gnu dot org
@ 2008-07-03 8:20 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-07-03 8:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2008-07-03 08:19 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36128
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-07-03 8:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-05 6:30 [Bug c++/36128] New: [4.4 regression] ICE with invalid argument for builtin reichelt at gcc dot gnu dot org
2008-05-05 6:30 ` [Bug c++/36128] " reichelt at gcc dot gnu dot org
2008-05-05 6:40 ` pinskia at gcc dot gnu dot org
2008-05-07 19:36 ` rguenth at gcc dot gnu dot org
2008-05-16 19:38 ` rguenth at gcc dot gnu dot org
2008-07-03 8:19 ` rguenth at gcc dot gnu dot org
2008-07-03 8:20 ` rguenth 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).