https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67759
Bug ID: 67759 Summary: Missing warning "makes pointer from integer without a cast" after multiline assert Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jens at 4k2 dot de Target Milestone: --- Created attachment 36413 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36413&action=edit Stripped down failing c source. Hello, when compiling the attached source, i do not get the "makes pointer from integer without a cast" warning. I see this behavior with - gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)" on fedora 21. - gcc (GCC) 4.9.0 but NOT with - gcc (GCC) 4.7.2 - gcc (SUSE Linux) 4.5.1 20101208 To miss the warning, compile with: gcc -Wall -W --save-temps -c missing_warning.c -o missing_warning.o Without the "--save-temps" option, the warning appears. Without the newline in the assert(1) the warning also appears! Maybe this is related to or a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60100 and/or https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57201 Regards, Jens