public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug debug/14058] New: ICE in vt_add_function_parameters @ 2004-02-07 2:57 amodra at bigpond dot net dot au 2004-02-07 4:13 ` [Bug debug/14058] [3.5 Regression] " pinskia at gcc dot gnu dot org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: amodra at bigpond dot net dot au @ 2004-02-07 2:57 UTC (permalink / raw) To: gcc-bugs ICE on powerpc64-linux -mlong-double-128 glibc build, testcase extracted cat >/tmp/complex.c <<EOF extern int print_screen_max_error (int ok, int xfail); void print_complex_max_error (const char *func_name, __complex__ float allowed, __complex__ int xfail) { int ok = 0; if (print_screen_max_error (ok, xfail)) printf ("foo"); } EOF gcc/xgcc -Bgcc/ -m64 -mlong-double-128 -O2 -g /tmp/complex.c /tmp/complex.c: In function `print_complex_max_error': /tmp/complex.c:10: internal compiler error: in vt_add_function_parameters, at var-tracking.c:2390 -- Summary: ICE in vt_add_function_parameters Product: gcc Version: 3.5.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: amodra at bigpond dot net dot au CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14058 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/14058] [3.5 Regression] ICE in vt_add_function_parameters 2004-02-07 2:57 [Bug debug/14058] New: ICE in vt_add_function_parameters amodra at bigpond dot net dot au @ 2004-02-07 4:13 ` pinskia at gcc dot gnu dot org 2004-02-07 8:23 ` zlomek at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-02-07 4:13 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Known to fail| |3.5.0 Known to work| |3.4.0 Summary|ICE in |[3.5 Regression] ICE in |vt_add_function_parameters |vt_add_function_parameters Target Milestone|--- |3.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14058 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/14058] [3.5 Regression] ICE in vt_add_function_parameters 2004-02-07 2:57 [Bug debug/14058] New: ICE in vt_add_function_parameters amodra at bigpond dot net dot au 2004-02-07 4:13 ` [Bug debug/14058] [3.5 Regression] " pinskia at gcc dot gnu dot org @ 2004-02-07 8:23 ` zlomek at gcc dot gnu dot org 2004-02-08 12:00 ` amodra at bigpond dot net dot au ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: zlomek at gcc dot gnu dot org @ 2004-02-07 8:23 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-02-07 08:23:15 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14058 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/14058] [3.5 Regression] ICE in vt_add_function_parameters 2004-02-07 2:57 [Bug debug/14058] New: ICE in vt_add_function_parameters amodra at bigpond dot net dot au 2004-02-07 4:13 ` [Bug debug/14058] [3.5 Regression] " pinskia at gcc dot gnu dot org 2004-02-07 8:23 ` zlomek at gcc dot gnu dot org @ 2004-02-08 12:00 ` amodra at bigpond dot net dot au 2004-02-09 6:57 ` zlomek at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: amodra at bigpond dot net dot au @ 2004-02-08 12:00 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From amodra at bigpond dot net dot au 2004-02-08 12:00 ------- gcc.dg/debug/20020220-1.c -gdwarf-2 or -gdwarf-23 fails the same way -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14058 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/14058] [3.5 Regression] ICE in vt_add_function_parameters 2004-02-07 2:57 [Bug debug/14058] New: ICE in vt_add_function_parameters amodra at bigpond dot net dot au ` (2 preceding siblings ...) 2004-02-08 12:00 ` amodra at bigpond dot net dot au @ 2004-02-09 6:57 ` zlomek at gcc dot gnu dot org 2004-02-10 15:42 ` zlomek at gcc dot gnu dot org 2004-02-10 20:39 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: zlomek at gcc dot gnu dot org @ 2004-02-09 6:57 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From zlomek at gcc dot gnu dot org 2004-02-09 06:57 ------- GCC fails with an ICE at var-tracking.c:2390 because parm != REG_EXPR ((DECL_RTL_IF_SET (parm))). They differ because the parm was copied in split_complex_args. Removing the test at var-tracking.c:2389 and using the decl would not work because some REGs in the insn chain contain the original parm and some contain the copied parm and thus these variables would not match resulting in wrong debug info. My patch not to copy parms of other types than complex types however broke bootstrap, I'll look into it later today. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14058 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/14058] [3.5 Regression] ICE in vt_add_function_parameters 2004-02-07 2:57 [Bug debug/14058] New: ICE in vt_add_function_parameters amodra at bigpond dot net dot au ` (3 preceding siblings ...) 2004-02-09 6:57 ` zlomek at gcc dot gnu dot org @ 2004-02-10 15:42 ` zlomek at gcc dot gnu dot org 2004-02-10 20:39 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: zlomek at gcc dot gnu dot org @ 2004-02-10 15:42 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From zlomek at gcc dot gnu dot org 2004-02-10 15:42 ------- Following patch fixes it: <a href="http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00948.html">http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00948.html</a> -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14058 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/14058] [3.5 Regression] ICE in vt_add_function_parameters 2004-02-07 2:57 [Bug debug/14058] New: ICE in vt_add_function_parameters amodra at bigpond dot net dot au ` (4 preceding siblings ...) 2004-02-10 15:42 ` zlomek at gcc dot gnu dot org @ 2004-02-10 20:39 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-02-10 20:39 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-10 20:39 ------- Fixed for 3.5.0. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14058 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-02-10 20:39 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-02-07 2:57 [Bug debug/14058] New: ICE in vt_add_function_parameters amodra at bigpond dot net dot au 2004-02-07 4:13 ` [Bug debug/14058] [3.5 Regression] " pinskia at gcc dot gnu dot org 2004-02-07 8:23 ` zlomek at gcc dot gnu dot org 2004-02-08 12:00 ` amodra at bigpond dot net dot au 2004-02-09 6:57 ` zlomek at gcc dot gnu dot org 2004-02-10 15:42 ` zlomek at gcc dot gnu dot org 2004-02-10 20:39 ` 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).