public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/20141] New: crashing the compiler with -03
@ 2005-02-22 17:15 stephane dot bosio at vendeeconcept dot com
  2005-02-22 17:16 ` [Bug c/20141] " stephane dot bosio at vendeeconcept dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: stephane dot bosio at vendeeconcept dot com @ 2005-02-22 17:15 UTC (permalink / raw)
  To: gcc-bugs

making a simple standalone/embedable editor I fall on a strange behavior.
code crashing the compiler with -03 level of optimisation, no complaints with -
O2
It's still very bugged, but it's a pre_alpha code
this is quite a small programm
(less than 4000 words in the .i file)
should be good for tracking

-- 
           Summary: crashing the compiler with -03
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stephane dot bosio at vendeeconcept dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c/20141] crashing the compiler with -03
  2005-02-22 17:15 [Bug c/20141] New: crashing the compiler with -03 stephane dot bosio at vendeeconcept dot com
@ 2005-02-22 17:16 ` stephane dot bosio at vendeeconcept dot com
  2005-02-22 17:24 ` [Bug middle-end/20141] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: stephane dot bosio at vendeeconcept dot com @ 2005-02-22 17:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From stephane dot bosio at vendeeconcept dot com  2005-02-22 13:07 -------
Created an attachment (id=8254)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8254&action=view)
pre processed sources

this source file crashes with -03


-- 


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


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

* [Bug middle-end/20141] crashing the compiler with -03
  2005-02-22 17:15 [Bug c/20141] New: crashing the compiler with -03 stephane dot bosio at vendeeconcept dot com
  2005-02-22 17:16 ` [Bug c/20141] " stephane dot bosio at vendeeconcept dot com
@ 2005-02-22 17:24 ` pinskia at gcc dot gnu dot org
  2005-02-22 17:52 ` [Bug middle-end/20141] [3.4, 4.0 regression] ICE on bad prototype at -O3 falk at debian dot org
  2005-02-22 17:53 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-22 17:24 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end
            Summary|crashing the compiler with -|crashing the compiler with -
                   |03                          |03


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


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

* [Bug middle-end/20141] [3.4, 4.0 regression] ICE on bad prototype at -O3
  2005-02-22 17:15 [Bug c/20141] New: crashing the compiler with -03 stephane dot bosio at vendeeconcept dot com
  2005-02-22 17:16 ` [Bug c/20141] " stephane dot bosio at vendeeconcept dot com
  2005-02-22 17:24 ` [Bug middle-end/20141] " pinskia at gcc dot gnu dot org
@ 2005-02-22 17:52 ` falk at debian dot org
  2005-02-22 17:53 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: falk at debian dot org @ 2005-02-22 17:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2005-02-22 13:40 -------
Confirmed, this is an ICE on invalid code. This is a test case for 4.0 (but
for some reason it doesn't work for 3.4):

struct ED_Ligne { int x; };
void dealloue_ligne();
void dealloue_buff(struct ED_Ligne *tab_lignes) {
    dealloue_ligne(*tab_lignes);
}
void dealloue_ligne(struct ED_Ligne *lig) { } 

% gcc -O3 -c test.c
test.c: In function 'dealloue_buff':
test.c:4: internal compiler error: in fold_convert, at fold-const.c:1922
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |3.4.3 4.0.0
            Summary|crashing the compiler with -|[3.4, 4.0 regression] ICE on
                   |03                          |bad prototype at -O3


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


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

* [Bug middle-end/20141] [3.4, 4.0 regression] ICE on bad prototype at -O3
  2005-02-22 17:15 [Bug c/20141] New: crashing the compiler with -03 stephane dot bosio at vendeeconcept dot com
                   ` (2 preceding siblings ...)
  2005-02-22 17:52 ` [Bug middle-end/20141] [3.4, 4.0 regression] ICE on bad prototype at -O3 falk at debian dot org
@ 2005-02-22 17:53 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-22 17:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-22 13:45 -------
Basically this is the same as PR 16876.

*** This bug has been marked as a duplicate of 16876 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2005-02-22 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-22 17:15 [Bug c/20141] New: crashing the compiler with -03 stephane dot bosio at vendeeconcept dot com
2005-02-22 17:16 ` [Bug c/20141] " stephane dot bosio at vendeeconcept dot com
2005-02-22 17:24 ` [Bug middle-end/20141] " pinskia at gcc dot gnu dot org
2005-02-22 17:52 ` [Bug middle-end/20141] [3.4, 4.0 regression] ICE on bad prototype at -O3 falk at debian dot org
2005-02-22 17: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).